lluisgomez / ufl_scene_text_recognition

C++ (OpenCV) implementation of the Unsupervised Feature Learning algorithm of Adam Coates and Andrew Ng for Scene Text Detection and Recognition
14 stars 8 forks source link

when i compile the code ,it generates the errors #1

Open chrisjyw opened 7 years ago

chrisjyw commented 7 years ago

/ufl_scene_text_recognition-master$ make [ 14%] Built target beam_search make[2]: No rule to make target liblinear-1.94/blas/blas.a', needed byufl_predict_char'. Stop. make[1]: [CMakeFiles/ufl_predict_char.dir/all] Error 2 make: *** [all] Error 2

how could i fix the error?

thanks a lot .

chrisjyw commented 7 years ago

i solve this problem ..

chrisjyw commented 7 years ago

dear @lluisgomez when i use the cmake . and make to compile , it generates errors as follows :/ utils.h: In function ‘void run_projection_kmeans(cv::Mat&, cv::Mat&, int, int)’: /home/yiwei/Documents/ufl_scene_text_recognition-master/utils.h:66:47: error: ‘REDUCE_SUM’ was not declared in this scope reduce(centroids.mul(centroids), rowSum, 1, REDUCE_SUM); how could i fix it

make[2]: [CMakeFiles/beam_search.dir/beam_search.cpp.o] Error 1 make[1]: [CMakeFiles/beam_search.dir/all] Error 2 make: *** [all] Error 2

yanjiechang commented 7 years ago

运行过程是怎样的呢?readme看不太懂啊,谢谢