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

report中报告和图片怎么设置成彩色图片,而不是灰色图片 #184

Closed
linyajun558 opened this issue Dec 5, 2022 · 3 comments

Comments

@linyajun558
Copy link

report中报告和图片怎么设置成彩色图片,而不是灰色图片

@williamfzc
Copy link
Owner

图像处理一般都会用灰度图,所以暂时不额外支持彩色图。
实际使用上灰度图也够用了,有什么特殊场景吗?

@linyajun558
Copy link
Author

就是领导觉得灰度图不美观,想用彩色图。。。。

@williamfzc
Copy link
Owner

williamfzc commented Dec 5, 2022

如果要实现这个,需要在 https://github.com/williamfzc/stagesepx/blob/master/stagesepx/reporter.py 里:

  • 图片数据往html上贴时;
  • 从视频中抓彩色帧,替换掉原来的灰度图;

欢迎提 PR 哈

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