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

gui.GetWidth returning 0 #11

Closed
tusharc7360 opened this issue Nov 16, 2017 · 1 comment
Closed

gui.GetWidth returning 0 #11

tusharc7360 opened this issue Nov 16, 2017 · 1 comment

Comments

@tusharc7360
Copy link

Hi,

I am getting error : failed with status = (-10) while creating object:
vx_image input_rgb_image = vxCreateImage(context, width, height, VX_DF_IMAGE_RGB );
This is because width I am passing has a 0 value.

Thanks,
Tushar

@rgiduthuri
Copy link
Owner

The problem could be with the installed OpenCV library because GetWidth just calls OpenCV library.
The PETS09-S1-L1-View001.avi resolution is 768x480. Try harding coding these values in GetWidth() and GetHeight() to workaround the problem with OpenCV.

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