I am totally new to Linux, image processing and OpenCV so please be patient with me!
I'm trying to install OpenALPR in a Raspberry Pi 2.
I'm following to instructions in this link...
Everything seems to work OK until to section 8.
I change directory to /usr/local/src/openalpr/openalpr/ and try to edit CMakeLists.txt to add the lines...
- SET(OpenCV_DIR "/usr/local/lib")
- SET(Tesseract_DIR "/usr/local/src/openalpr/tesseract-ocr")
but there is no CMakeLists.txt in /usr/local/src/openalpr/openalpr/
There is however a CMakeLists.txt in /usr/local/src/openalpr/openalpr/src/ so I added the lines to that one and issued cmake ./ but I get lots of errors like this...
pi@raspberrypi:/usr/local/src/openalpr/openalpr/src $ sudo cmake ./
-- Found Tesseract
log4cplus_INCLUDE_DIR=log4cplus_INCLUDE_DIR-NOTFOUND
log4cplus_LIB=log4cplus_LIB-NOTFOUND
CMake Error at cmake_modules/LibFindMacros.cmake:74 (message):
Required library log4cplus NOT FOUND.
Install the library (dev version) and try again. If the library is already
installed, use ccmake to set the missing variables manually.
Call Stack (most recent call first):
cmake_modules/Findlog4cplus.cmake:34 (libfind_process)
CMakeLists.txt:143 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/usr/local/src/openalpr/openalpr/src/CMakeFiles/CMakeOutput.log".
Could someone please tell me where I'm going wrong?