Integration with OpenCV #2480
Replies: 3 comments 6 replies
-
You would basically need to convert the pixel into SharedPixelBuffer and use the slint::Image constructor to convert it to an image. Then you can use a property to pass that image to the slint view
Does this help? |
Beta Was this translation helpful? Give feedback.
-
I just found this blog post: https://www.armcomputing.tech/2023/04/opencv-slint-rust-raspberry-pi-ui-tool.html It is not going very deep, but it might help somebody else getting started. |
Beta Was this translation helpful? Give feedback.
-
Rather than OpenCV you could use nokhwa library which is rust native also available in cross platform - sample code implemented https://github.com/MohaBeacon/nokhwa-slint |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I was wondering if anyone knows how to display images in OpenCV's cv::Mat format using slint?
Thanks in advance,
Andrews
Beta Was this translation helpful? Give feedback.
All reactions