| Interface | Description |
|---|---|
| CameraOpenCallback |
Called when camera is opened and ready for shooting
|
| PictureCallback |
Invoked when picture is taken
|
| PreviewBuffer |
Manages access to preview buffer of the Camera
|
| Class | Description |
|---|---|
| AutoSnappingController |
Controls auto-snapping process by observing contour detection results from ContourDetectorFrameHandler.
|
| BarcodeDetectorFrameHandler |
Performs barcode/QR code detection on camera preview frames. Outputs results via BarcodeDetectorFrameHandler.ResultHandler (
). Preview frame considered intercepted if at least one BarcodeDetectorFrameHandler.ResultHandler returns true from |
| ContourDetectorFrameHandler |
Performs contour detection on camera preview frames. Outputs results via net.doo.snap.camera.ContourDetectorFrameHandler.ResultHandler (
). Preview frame considered intercepted if at least one net.doo.snap.camera.ContourDetectorFrameHandler.ResultHandler returns true from |
| ScanbotCameraView |
Provides interface to native Camera and displays camera stream. Use this class if you want to fine-tune camera behavior. It is required to pass android.app.Activity (or android.app.Fragment) lifecycle events to this view:
, . They are used to automatically start and stop camera. It is possible to include other views inside of ScanbotCameraView. In such case they will be drawn on top of camera preview with size matching the camera frame. You can use this fact to draw overlays on top of camera. In particular, you can use net.doo.snap.ui.PolygonView. Preview frames are provided via PreviewBuffer: . |