-
Notifications
You must be signed in to change notification settings - Fork 83
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
Failing to set image width #29
Comments
This package is thin wrapper of OpenCV video capture module. |
So I found the problem is with the OpenCV version. OpenCV 2 version works well with the current cv_camera package. Whereas some of the OpenCV 3 versions have API changes, so the image width could not be set. |
@vigneshrajap Hi, Vignesh. I'm using ROS Noetic on RaspiOS , I have the same issue . Could you tell me which API you found is different and how to use the correct API to set the image width. Thanks alot! |
In some OpenCV versions, API is like cv::CV_CAP_PROP_FRAME_WIDTH |
I am using wide cameras (ELP-USBFHD09DC-FD180) that outputs Full HD and HD resolution. However cv_camera fails to set to higher resolution.
It always gives warning "fail to set image_width" and publishes only at 640*480 image resolution.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: