Comments (8)
from opencv_apps.
f662a1b
This commit fix this issue
from opencv_apps.
sorry, I pasted the wrong error log. The path had been fixed by myself in local pc.
The true error log belonging to the face_recognition is as follows:
nishio@nishio-desktop:/opt/ros/kinetic/share/opencv_apps/launch$ roslaunch opencv_apps face_recognition.launch use_opencv3:=true image:=/zed/left/image_raw_color use_opencv3_3:=true
... logging to /home/nishio/.ros/log/8f8e5f22-624f-11e9-989d-88d7f6d5c690/roslaunch-nishio-desktop-20379.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://nishio-desktop:38085/
SUMMARY
========
PARAMETERS
* /face_detection/debug_view: True
* /face_detection/eyes_cascade_name: /opt/ros/kinetic/...
* /face_detection/face_cascade_name: /opt/ros/kinetic/...
* /face_detection/use_camera_info: False
* /face_recognition/data_dir: ~/.ros/opencv_app...
* /rosdistro: kinetic
* /rosversion: 1.12.14
NODES
/
debug_image_viewer_nishio_desktop_20379_402860772321071504 (image_view/image_view)
face_detection (opencv_apps/face_detection)
face_recognition (opencv_apps/face_recognition)
face_recognition_trainer (opencv_apps/face_recognition_trainer.py)
ROS_MASTER_URI=http://localhost:11311
process[face_detection-1]: started with pid [20396]
process[face_recognition-2]: started with pid [20397]
process[face_recognition_trainer-3]: started with pid [20399]
process[debug_image_viewer_nishio_desktop_20379_402860772321071504-4]: started with pid [20401]
[ INFO] [1555647572.644758471]: Initializing nodelet with 1 worker threads.
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.478618348]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.581168695]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.685594093]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.785534746]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.885539787]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647573.985925666]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647574.085516911]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
[ERROR] [1555647574.184622094]: error at image processing: This Eigenfaces model is not computed yet. Did you call Eigenfaces::train? predict /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp 117
OpenCV Error: Unspecified error (This Eigenfaces model is not computed yet. Did you call Eigenfaces::train?) in predict, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/face/src/eigen_faces.cpp, line 117
from opencv_apps.
okay....
- please do not edit files with
sudo
. you can usesudo
only forapt
command. if someone told you to change the code or run command bysudo emacs
orsudo vi
, that's is a very bad person. - if you ask someone, please provide how to reproduce your problem in other's computer. for example, you can run
test-face_recognition.test
with bag filehttp://download.ros.org/data/face_detector/face_detector_withface_test_diamondback.bag
or you can provide your bag file - please add expected behavior and why you think you have a problem
from opencv_apps.
please check contents of ~/.ros/opencv_apps/face_data/
, is there is no image file, you need to take pictures of your face from face_recognition_trainer.py window
from opencv_apps.
Thank you for the important advice and instruction.
I was the bad guy being reformed, and have checked the expected behaviour by test-face_recognition.test.
Right now I know the the pasted error log is from here, caused because of no trained data.
So it always occurs in the taking pictures phase.
Finally, the expected result is also confirmed with my face.
Suggestion:
Maybe, it is better to add a line here, to check the size of the label_mapper_
. If it is empty, then just return
from this callback, avoiding the confusion.
from opencv_apps.
from opencv_apps.
Please check #91 .
from opencv_apps.
Related Issues (20)
- Image histogram
- Depth map as input
- Histogram equalization HOT 4
- Should we still mantain EOL distribution?
- missing "adding_images_nodelet" documentation at ROS Wiki HOT 2
- closed expect for overview and nick jj and my older kids and sethb
- Error when running face_detection.launch on ros HOT 1
- face_recognition.launch HOT 1
- Regression in Kinetic re OpenCV 3.3 HOT 3
- Assertion failedのエラーが出る HOT 3
- Inverse perspective map HOT 2
- Threshold being reset to 50 for hough_lines HOT 6
- How to develope a project based on the excellent opencv_apps? HOT 2
- Port opencv_apps to ROS2 HOT 3
- Issue finding opencv_apps executables HOT 2
- Require branches to be up to date before merging HOT 1
- Debug view: Publish image instead opening OpenCV window HOT 4
- how to use opencv_apps to extract particular contour points?
- Image processing error in testpyramids_test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv_apps.