as1605 / opencv_flutter_ffi

Using dart:ffi to run OpenCV C++ 4.5.3 in Flutter App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Showing raw image in Image.memory (dropping frames)

virtualenv opened this issue · comments

Hello,

First of all, congratulations, first example in FFI/OPENCV for camera in realtime that I've seen.
But I am facing an issue, the frames are dropping, I think it is because the we are converting to .jpg in imageffi(p, s)
-> cv::imencode(".jpg", img, retv);

Wouldn't be anyway to we could send the CameraImage Image to opencv, add the hello world and display the raw image ?

Could you please help me ?

Thank you!