-
Notifications
You must be signed in to change notification settings - Fork 43
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
TypeError: expected non-empty vector for x #5
Comments
Refer config.py for the image dimension (IMAGE_MAX_DIM, IMAGE_MIN_DIM) |
I tried changing the dimension config over a variety of ranges (min-max), but that didn't work for me and I'm not sure what config is exactly expected for this to be robust and working for all image sizes. For example, what would be the dimension config for |
Ping @tj27-vkr - Sorry, forgot to mention you ^ 😅 |
The problem is with the crop points to get the area of interest, which is currently hardcoded in process_image.py file. For now, you can modify the crop points with Y min to be 2/3rd of image height and X min, max to be 2/5th and 3/5th of the image width respectively. Will update with the patch soon. |
Hi, It means your code would not able to work with images which have different size but 1280 720 pixels?
|
That's correct once the matrix is adjusted, we can use different size pictures. Thank you. |
Are there any requirements about input image?because when I use my own image to test ,there is error
The text was updated successfully, but these errors were encountered: