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

[feature] new img container support BMP 24-16 bit #371

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Hanyonggong
Copy link

New img container support BMP 24-16 bit

  • suport BMP 24 bit
  • suport BMP 16 bit (two format:RGB565 and RGB 555)

All have passed the Lenet model test

@LiuYang328
Copy link

LiuYang328 commented Aug 21, 2024

I test 32, 24, 16 bit BMP in MobileNet example, it can compiled but the result of the calculation is wrong.
If i use opencv version container, the input is "dog.png", the result is "Samoyed", this is right, but the new container results "drake"

the opencv result:
image

the new container result:
image

@Hanyonggong
Copy link
Author

@LiuYang328 This may be not a problem with the new container, maybe it's because no resizing after using new container

@LiuYang328
Copy link

@LiuYang328 This may be not a problem with the new container, maybe it's because no resizing after using new container

The input is already resized, the bmp file both 224*224

@Hanyonggong
Copy link
Author

@LiuYang328 This may be not a problem with the new container, maybe it's because no resizing after using new container

The input is already resized, the bmp file both 224*224

You can compare the differences between them, such as shape, it can work normally on my end

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