Cameraview: draw in preview

Created on 13 Nov 2018  路  1Comment  路  Source: natario1/CameraView

how i can draw over a preview? i'm using Firebase ML Kit for barcode detections, its working fine on FrameProcessor callback, but i want to draw in preview the barcode's location. Here's a sample what i want https://goo.gl/L5D83h

question

Most helpful comment

This is not CameraView related question. Search in stackoverflow.
Keywords: layout overlay / drawable layout overlay / etc..
Basically you add ImageView/Drawable view/etc under CameraView part in xml of your layout.

>All comments

This is not CameraView related question. Search in stackoverflow.
Keywords: layout overlay / drawable layout overlay / etc..
Basically you add ImageView/Drawable view/etc under CameraView part in xml of your layout.

Was this page helpful?
0 / 5 - 0 ratings