-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Adding webp, tiff, bmp
to allowed_extensions list in imageai/Detection/__init__.py
#816
base: master
Are you sure you want to change the base?
Conversation
Allowed extensions in opencv read list were `["jpg", "jpeg", "png"]`. `.webp` extension also also can be read by opencv. Therefore adding `webp` to the allowed_extension list.
Update __init__.py
Is it possible to add BMP and TIFF too? OpenCV appears to support them as well. |
Yes. Let me check them first. if those extensions are supporting. will add them as well. |
Allowed extensions in opencv read list were ["jpg", "jpeg", "png"]. webp, bmp, tiff extensions also can be read by opencv. Therefore adding webp to the allowed_extension list.
webp
to allowed_extensions list in imageai/Detection/__init__.pywebp, tiff, bmp
to allowed_extensions list in imageai/Detection/__init__.py
The extensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check once the new changes and approve if these changes are fine.
any updates on this change? |
@santokalayil can you add test cases for this change by
|
Allowed extensions in opencv read list were ["jpg", "jpeg", "png"]. .webp extension also also can be read by opencv. Therefore adding webp to the allowed_extension list.