Skip to content
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

chapter 2 face tracker error #21

Open
Silerqin opened this issue Sep 6, 2020 · 2 comments
Open

chapter 2 face tracker error #21

Silerqin opened this issue Sep 6, 2020 · 2 comments

Comments

@Silerqin
Copy link

Silerqin commented Sep 6, 2020

Hi, I have issue when I press roslaunch face_tracker_pkg start_tracking.launch .
Here is my error:

setting /run_id to 751b6be4-f033-11ea-87d5-00044be66635
process[rosout-1]: started with pid [3605]
started core service [/rosout]
process[usb_cam-2]: started with pid [3612]
process[face_tracker-3]: started with pid [3613]
[ INFO] [1599391441.873770485]: Successfully Loaded tracking parameters
[ INFO] [1599391442.050595318]: using default calibration URL
[ INFO] [1599391442.052396196]: camera calibration URL: file:///home/ubuntu/.ros/camera_info/head_camera.yaml
[ INFO] [1599391442.052672714]: Unable to open camera calibration file [/home/ubuntu/.ros/camera_info/head_camera.yaml]
[ WARN] [1599391442.052751414]: Camera calibration file /home/ubuntu/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1599391442.052820165]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS
OpenCV Error: Bad argument (Invalid pointer to file storage) in cvGetRootFileNode, file /build/opencv-XDqSFW/opencv-3.2.0+dfsg/modules/core/src/persistence.cpp, line 926
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/opencv-XDqSFW/opencv-3.2.0+dfsg/modules/core/src/persistence.cpp:926: error: (-5) Invalid pointer to file storage in function cvGetRootFileNode

[face_tracker-3] process has died [pid 3613, exit code -6, cmd /home/ubuntu/ros_robotics_project_ws/devel/lib/face_tracker_pkg/face_tracker_node __name:=face_tracker __log:=/home/ubuntu/.ros/log/751b6be4-f033-11ea-87d5-00044be66635/face_tracker-3.log].
log file: /home/ubuntu/.ros/log/751b6be4-f033-11ea-87d5-00044be66635/face_tracker-3*.log

Can I know how to solve this error?

@Silerqin
Copy link
Author

Silerqin commented Sep 7, 2020

@therobocademy Thank you for your reply. I found that I am using opencv 4.1.1. Now should I install opencv3.2 to solved this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants