How to access camera frames in flutter quickly
I would like to implement near real-time OCR on the camera feed of my flutter app. To do this I would like to access the camera data in a speedy manner. As far as I can tell I have two options, and have hit roadblocks with both: Take a screenshot of the CameraPreview by putting a RepaintBoundary around it and creating a RenderRepaintBoundary , and calling boundary.toImage() . The problem with this method is that the .toImage method only seems to capture the painted widgets in the boundary and not the data from the camera preview. Simmilar to the issue described here: https://github.com/flutter