Closed boris-gu closed 8 months ago
Thanks for the report. Could you provide more details on your setup: OS, Python version, other packages used in your project, DE information, if you use Linux.
Reproduced with 4.5.4.60 on Ubuntu 18.04 with KDE.
See earlier discussion about the icons here: https://github.com/opencv/opencv-python/issues/213#issuecomment-545286891
@skvark Thanks a lot for details. The icons are not part of binary distro by legal reason. The license does not permit the following uses:
I'll talk to OpenCV core team to resolve the legal issue or replace the icons with Apache 2 compatible one.
Reproduced here with linux mint 20.02 x64 opencv-contrib-python 4.5.5.62
Maybe use another iconset with a more permissive license solves this issue?
Any update? Maybe fallback on different open source icons to have an usable OpenCV window? Anyone is able to indicate the path where the icons are expected to be? Cheers
There is bug in OpenCV build system that prevents icons inclusion to static OpenCV build (-DBUILD_SHARED_LIBS=OFF). Will work on it for the next release.
@skvark, @asmorkalov, any updates regarding this issue? As I can see, icons PR was merged (opencv/opencv#22885) but is OpenCV build problem was fixed and updated in package?
Icons themself is not the only piece in the puzzle unfortunately. I'll try to cover the issue for the next release.
Icons themself is not the only piece in the puzzle unfortunately. I'll try to cover the issue for the next release.
This is the only issue thats really is boring during development. When looking the image in viewer, we cant see what button to press to save, etc... Get this fixed will be very nice..
Another possibility could be to just use alternative icons to quickly fix only this issue. If someone writes down the requirements and the list of the icons, I can make simple and lightweight icons with no licence to be temporarily integrated.
I'm facing this on the latest version of opencv (4.8.0) as well. is this still expected or am I dealing with sth entirely different? I noticed the conda version has icons (though that version is 4.6.0) though!
Finally fixed in 4.9.0.80. Related patch in main OpenCV: https://github.com/opencv/opencv/pull/24370
Expected behaviour
When using the imshow() function, a window appears, at the top there are various buttons
Actual behaviour
Buttons work, but they do not display icons![](https://i.imgur.com/8tswB8l.png)
Buttons work, but they do not display icons
Steps to reproduce
pip install opencv-contrib-python==4.5.3.56
Issue submission checklist
[x] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
[x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
opencv-python
I am not using the latest version due to this error: https://github.com/opencv/opencv-python/issues/572