Tuesday 2 August 2016

Get bitmap from camera preview



I want to make some machine vision application, and i need to have control of camera preview. I need to have bitmap of frames so i can change them, and display only ones i need. I found many examples on internet on how to live preview camera and capture image, but i need to have bitmap of preview, do some change and than display it on screen. It will probably be 2-3 fps but it doesn't matter. So my question is how to get bitmap of some frames of camera preview without actually preview it on screen, and is it better to use android.hardware.Camera or android.hardware.camera2.* ?



No comments:

Post a Comment