java - What is the difference between `opencv.android.JavaCameraView` and `opencv.android.NativeCameraView` -
exacly stated in subject: difference between opencv.android.javacameraview
, opencv.android.nativecameraview
. advantages 1 on other, main ones, gives more options?
from opencv documentation:
the org.opencv.android.javacameraview
class implemented inside opencv library. inherited camerabridgeviewbase
, extends surfaceview
, uses standard android camera api. alternatively can use org.opencv.android.nativecameraview
class, implements same interface, uses videocapture
class camera access back-end. opencv:show_fps="true"
, opencv:camera_id="any"
options enable fps message , allow use camera on device. application tries use camera first.
implementation of cvcameraviewlistener
interface allows add processing steps after frame grabbing camera , before rendering on screen. important function oncameraframe
. callback function , called on retrieving frame camera. callback input object of cvcameraviewframe
class represents frame camera.
Comments
Post a Comment