-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing run_detect #49
Comments
I have updated my branch: https://github.com/ipa-rmb/cob_object_perception.git . Please update your code from there. To avoid downloading further dependencies, you may put a CATKIN_IGNORE file into the following packages: cob_surface_classification, cob_texture_categorization. The names of the built executables were indeed wrong. It is all corrected now. You may start a kinect (or any other camera) and then start the program with roslaunch cob_read_text read_text_from_camera.launch (maybe adapt the camera topic name in the launch file first). This worked for me. However, Tesseract OCR appeared to be very slow in the current version, I do not know yet how to speed this up. Furthermore, this code is work in progress and that is the reason why there is no documentation. You may use it but we do not intend it to be used by external people yet. |
Hello again and thank you for your reply. For the speed i need to check how slow is because actually its the only package that serves my scope so even if its slow it might be useful. I am new in Ros but i manage to work the camera with other packages so i know its working properly. I catkin_make --only--packages--with--dependencies all the files and then i run the command about the camera.launch and i got the following error. Correlation:/home/panos/catkin_ws/src/cob_perception_data-indigo_dev/cob_read_text_data/fonts/new_correlation.txt |
Did you clone the repository https://github.com/ipa-rmb/cob_perception_data.git ? If this data repository is not on your disk, it won't work. |
Yes they are both in the same folder |
Is your folder really called cob_perception_data-indigo_dev? Please check whether the path to the file (Correlation:/home/panos/catkin_ws/src/cob_perception_data-indigo_dev/cob_read_text_data/fonts/new_correlation.txt) really fits the situation on your disk. If yes, you may check and debug the referenced function where the error occurs since I could not repeat that error on a completely fresh installation on a different PC. Maybe you remove the assert from line 122: assert(fin >> number); . And then add a display output for the read number, e.g. std::cout << number << "\t"; in order to see whether the numbers are read properly from that file. However, as said, this package is work in progress which we unfortunately cannot give much support for at the moment. |
For the correlation the file wasnt new_correlation but correlation so i renamed it. Moreover by removing the assert from line 122 the package worked. The problem is it gets many times a loop of invalid characters and stucks. But ok because its a work in progress i close the issue and thank you for the help |
Hello,
I am trying to use the package but i get an error that it misses something. It says that can't locate node run_detect in package cob_read_text
The text was updated successfully, but these errors were encountered: