opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.41k stars 5.76k forks source link

about the module of text to achieve scene text recognition #1107

Closed chrisjyw closed 7 years ago

chrisjyw commented 7 years ago

when i use the module of text to achieve the scene text recognition .

after the compilation , i run the program it generate errors , how could i fix it ? 096d341bc42de02ee62f58f41a59197b

chrisjyw commented 7 years ago

@everyone , anyone could help me ? thanks a lot in advanced.

catree commented 7 years ago

Your file is here. If you just want to run an example, you have the sample textdetection.cpp.

berak commented 7 years ago

try to run the testcase from the text/samples folder (where trained_classifierNM1.xml is)

sourabh2k15 commented 7 years ago

put the trained_classifierNM1.xml file from opencv_contrib/modules/text/samples folder in whichever folder your code is in

alalek commented 7 years ago

Try to uncomment this line and rebuild OpenCV to "have fun".

These text tests work fine.

chrisjyw commented 7 years ago

@alalek hey thanks a lot for your reply. i use the opencv_contril scene text recognition , and generate the executive file end - to -end recognition , how could i use the webcamera to achieve the function that when i use the webcamera , it could recognize the scene texts.

chrisjyw commented 7 years ago
ask

my file is like this . could i use the command ./webcam_demo to achieve the function recognize the scene texts directly ?

chrisjyw commented 7 years ago

@everyone I try use the command , but it fails ... my work environment is virtualbox ubuntu14.04