-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
最新opencv cv2.imdecode返回的是RGB,不是BGR,operators.py里的DecodeImage多转了一次 #14480
Labels
Comments
class DecodeImage(object):
new_load是我加的,只有走new_load才是正常的 |
你好,能否提个pr修复此问题 |
那可能是我搞错了,cv2.imshow输入时BGR的。但是我们测试过程中,走这个DecodeImage以及paddleocr和不走DecodeImage直接调用paddleocr结果不一样,我们检查了分辨率等因素,最后确定是DecodeImage的问题。可能是其他地方没转 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🔎 Search before asking
🐛 Bug (问题描述)
导致推理结果不一致
🏃♂️ Environment (运行环境)
windows10
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
原图
通道逆置后之后就这样了
The text was updated successfully, but these errors were encountered: