Skip to content
Discussion options

You must be logged in to vote

Update at 8.18.2025

For those who want to process CameraImage captured by camera plugin, now you can refer to https://github.com/rainyl/awesome-opencv_dart/tree/main/examples/camera_demo

Previous answer

The cv.VideoCapture can open camera and take pictures, but if you want to use it in Flutter, to improve the performance, some extra works are required, i.e., you need to use Texture to update the content, you can explore more in camera plugin.

But if showing realtime camera video is not necessary, you can use cv.VideoCapture directly and get pictures with cv.VideoCapture.read().

if you do not want to write native code and implement Texture yourself, you can just combine camera plugin and o…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rainyl
Comment options

Answer selected by rainyl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants