Skip to content

Instantly share code, notes, and snippets.

@certik
Created February 4, 2014 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save certik/8814906 to your computer and use it in GitHub Desktop.
Save certik/8814906 to your computer and use it in GitHub Desktop.
$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /projects/b1cc51a6-c4a2-4281-98b4-a5c2b1dea21b/repos/openanpr
$ make
Scanning dependencies of target openanpr
[ 4%] Building CXX object CMakeFiles/openanpr.dir/main.cpp.o
[ 9%] Building CXX object CMakeFiles/openanpr.dir/anyoption.cpp.o
[ 13%] Building CXX object CMakeFiles/openanpr.dir/cppunitlite/Test.cpp.o
[ 18%] Building CXX object CMakeFiles/openanpr.dir/cppunitlite/TestRegistry.cpp.o
[ 22%] Building CXX object CMakeFiles/openanpr.dir/cppunitlite/TestResult.cpp.o
[ 27%] Building CXX object CMakeFiles/openanpr.dir/cppunitlite/TestResultStdErr.cpp.o
[ 31%] Building CXX object CMakeFiles/openanpr.dir/edgedetection/CannyEdgeDetector.cpp.o
[ 36%] Building CXX object CMakeFiles/openanpr.dir/fft/fft.cpp.o
[ 40%] Building CXX object CMakeFiles/openanpr.dir/hypergraph/hypergraph.cpp.o
[ 45%] Building CXX object CMakeFiles/openanpr.dir/hypergraph/hypergraph_node.cpp.o
[ 50%] Building CXX object CMakeFiles/openanpr.dir/platedetection/anpr.cpp.o
[ 54%] Building CXX object CMakeFiles/openanpr.dir/platedetection/ocr.cpp.o
[ 59%] Building CXX object CMakeFiles/openanpr.dir/platedetection/platedetection.cpp.o
[ 63%] Building CXX object CMakeFiles/openanpr.dir/platedetection/platereader.cpp.o
[ 68%] Building CXX object CMakeFiles/openanpr.dir/shapes/circledetector.cpp.o
[ 72%] Building CXX object CMakeFiles/openanpr.dir/shapes/shapes.cpp.o
[ 77%] Building CXX object CMakeFiles/openanpr.dir/utils/bitmap.cpp.o
[ 81%] Building CXX object CMakeFiles/openanpr.dir/utils/drawing.cpp.o
[ 86%] Building CXX object CMakeFiles/openanpr.dir/utils/geometry.cpp.o
[ 90%] Building CXX object CMakeFiles/openanpr.dir/utils/polygon.cpp.o
[ 95%] Building CXX object CMakeFiles/openanpr.dir/utils/processimage.cpp.o
[100%] Building CXX object CMakeFiles/openanpr.dir/utils/thresholding.cpp.o
Linking CXX executable openanpr
[100%] Built target openanpr
$ ./openanpr
Usage:
-h --help Prints this help
-f --filename img1.bmp Image file to be analysed
-d --dir Directory containing images to be analysed
--minvol <value> Minimum volume of the license plate as a % of the image
--maxvol <value> Maximum volume of the license plate as a % of the image
--test Run unit tests
--debug Save debugging info
-c --chars Save characters
-m --model <filename> Use the given character model
-l --learn <directory> Learn character model
-v --version Shows the version number
@MohtashimIqbalButt
Copy link

How can i use it on my php project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment