-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error about face_recognition.launch #90
Comments
please use
https://raw.githubusercontent.com/ros-perception/opencv_apps/f662a1b9315d463e510d54934b17cc1775296325/launch/face_detection.launch,
we will release this version very soon
--
◉ Kei Okada
2019年4月19日(金) 12:38 趙 漠居(Zhao, Moju) <notifications@github.com>:
… Any suggestion about the following error?
The face detection part works well.
***@***.***:~$ roslaunch opencv_apps face_recognition.launch image:=/zed/left/image_raw_color use_opencv3:=true use_opencv3_3:=true
... logging to /home/nishio/.ros/log/8f8e5f22-624f-11e9-989d-88d7f6d5c690/roslaunch-nishio-desktop-16328.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:41435/
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_16328_8344988699730467132 (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 [16345]
process[face_recognition-2]: started with pid [16346]
process[face_recognition_trainer-3]: started with pid [16347]
process[debug_image_viewer_nishio_desktop_16328_8344988699730467132-4]: started with pid [16350]
[ INFO] [1555644640.109175425]: Initializing nodelet with 1 worker threads.
[ERROR] [1555644640.252733270]: --Error loading /opt/ros/kinetic/share/opencv3/../OpenCV-3.3.1/haarcascades/haarcascade_frontalface_alt.xml
[ERROR] [1555644640.252811938]: --Error loading /opt/ros/kinetic/share/opencv3/../OpenCV-3.3.1/haarcascades/haarcascade_eye_tree_eyeglasses.xml
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.504969826]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.534175926]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.564517071]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.598023871]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.631610306]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.664901007]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.699107667]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.732061251]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.767059899]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.798270680]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.831769118]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.865115907]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[ERROR] [1555644640.897904403]: Image processing error: !empty() detectMultiScale /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp 1698
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/objdetect/src/cascadedetect.cpp, line 1698
[image: Screenshot from 2019-04-19 12-37-00]
<https://user-images.githubusercontent.com/3666095/56404152-0d5d0480-62a0-11e9-92e0-5c7674b3ffc7.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#90>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AADYNXGWYTBU647H66266CDPRE5ELANCNFSM4HHBX4RQ>
.
|
f662a1b |
sorry, I pasted the wrong error log. The path had been fixed by myself in local pc.
|
okay....
|
please check contents of |
Thank you for the important advice and instruction. Right now I know the the pasted error log is from here, caused because of no trained data. 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.
super great idea !!! please create PR for this.
--
◉ Kei Okada
2019年4月19日(金) 15:58 趙 漠居(Zhao, Moju) <notifications@github.com>:
… @k-okada <https://github.com/k-okada>
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
<https://github.com/ros-perception/opencv_apps/blob/indigo/src/nodelet/face_recognition_nodelet.cpp#L375-L381>,
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
<https://github.com/ros-perception/opencv_apps/blob/indigo/src/nodelet/face_recognition_nodelet.cpp#L347>,
to check the size of the label_mapper_. If it is empty, then just return
from this callback, avoiding the confusion.
[image: Screenshot from 2019-04-19 14-28-12]
<https://user-images.githubusercontent.com/3666095/56411405-92a1e280-62bb-11e9-9ff0-55326c975ccb.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADYNXBE4I74NIXFMARZLPTPRFURTANCNFSM4HHBX4RQ>
.
|
Please check #91 . |
Any suggestion about the following error?
The face detection part works well.
The text was updated successfully, but these errors were encountered: