Skip to content

allow to load rgb,gray image to inference#47

Merged
vietanhdev merged 4 commits into
vietanhdev:masterfrom
ggoodd-any:master
Apr 23, 2023
Merged

allow to load rgb,gray image to inference#47
vietanhdev merged 4 commits into
vietanhdev:masterfrom
ggoodd-any:master

Conversation

@ggoodd-any
Copy link
Copy Markdown
Contributor

I modified the function anylabeling/views/labeling/utils/opencv.py/qt_ img_ to_ cv_ img so that always returns images in rgb format, and when we load gray images, we can use the model for inference normally.

Comment thread anylabeling/views/labeling/utils/opencv.py Outdated
Comment thread anylabeling/views/labeling/utils/opencv.py Outdated
Comment thread anylabeling/views/labeling/utils/opencv.py Outdated
@vietanhdev vietanhdev merged commit 8dddc9f into vietanhdev:master Apr 23, 2023
@vietanhdev vietanhdev mentioned this pull request Apr 23, 2023
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

Successfully merging this pull request may close these issues.

2 participants