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

add_background子函数有错,cvtColor被调用两次 #194

Open
dog2code opened this issue Oct 17, 2024 · 0 comments
Open

add_background子函数有错,cvtColor被调用两次 #194

dog2code opened this issue Oct 17, 2024 · 0 comments

Comments

@dog2code
Copy link

在该子函数最后,判断args.kb(是否限制输出文件大小)后,若为T没问题,为F(即不对输出文件大小作出限制)时,又调用了一次cvtColor作用于result_image上导致输出图像错误。删除该分支中cvtColor后即可解决。

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

No branches or pull requests

2 participants
@dog2code and others