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

When I use ZED2,I found an error .[feature_tracker-2]process has died [pid 7505 ,exit code -6] #417

Open
MissTen opened this issue Sep 26, 2022 · 3 comments

Comments

@MissTen
Copy link

MissTen commented Sep 26, 2022

The error like this:
OpenCV Error: Assertion failed (_mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image))) in goodFeaturesToTrack, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/featureselect.cpp, line 366
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/featureselect.cpp:366: error: (-215) _mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image)) in function goodFeaturesToTrack

[feature_tracker-2] process has died [pid 20370, exit code -6, cmd /home/ztt/mono/devel/lib/feature_tracker/feature_tracker __name:=feature_tracker __log:=/home/ztt/.ros/log/1adff86a-3d3f-11ed-a8bb-d83bbff7b92b/feature_tracker-2.log].
log file: /home/ztt/.ros/log/1adff86a-3d3f-11ed-a8bb-d83bbff7b92b/feature_tracker-2*.log

In fact,I have browsed the similar error in the issuses,but I still get confused if the error was raised by the photo size.
At the same time,I can run the euroc and the car successfully.
@

@lilpeng-xxxl
Copy link

I met the same error.
Did you solve it?

@MissTen
Copy link
Author

MissTen commented Mar 9, 2023

yes.I found that I set the size of the image to half the size of the camera,it will success,but I still can not understand why.Else,the next pace ,I can not watch the track of camera on the right image.

@Badrivishal
Copy link

What do you mean by half the size of camera? I am setting it to the size specified in the Image topic(640, 360) for 720p (Which is incidentally half because each camera captures half the 720 pixels). This removes the Assertion Failed but feature tracker still crashes after a couple of frames.

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

3 participants