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

Gaom #10829

Closed
wants to merge 2 commits into from
Closed

Gaom #10829

wants to merge 2 commits into from

Conversation

Gmgge
Copy link
Contributor

@Gmgge Gmgge commented Sep 5, 2023

fix:修复通道数不匹配造成的PPOCRLabel启动失败问题#10748,根据更新日志发现#10655,由于paddleocr中增加了对透明色的需求,由于在check_img中以及存在对单通道图像转三通道图像的处理,因此将该四通道图像处理成三通道的图像也放入该check_img,并统一三通道图像输出逻辑。
add:由于check_img函数复杂度增高,增加注释。

Gmgge added 2 commits August 30, 2023 12:15
…image to the 3 channel BGR color image.),因此修改该读取参数,以解决后续通道不匹配问题。
…透明色的需求,由于在check_img中以及存在对单通道图像转三通道图像的处理,因此将该四通道图像处理成三通道的图像也放入该check_img,并统一三通道图像输出逻辑。

add:由于函数复杂度增高,增加注释。
@paddle-bot
Copy link

paddle-bot bot commented Sep 5, 2023

Thanks for your contribution!

@Gmgge Gmgge closed this Sep 6, 2023
@Gmgge Gmgge deleted the gaom branch September 7, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant