My Project
 All Classes Namespaces Files Functions Variables
Public Member Functions
org.opencv.samples.tutorial2.ViewfinderView Class Reference
Inheritance diagram for org.opencv.samples.tutorial2.ViewfinderView:
Inheritance graph
[legend]
Collaboration diagram for org.opencv.samples.tutorial2.ViewfinderView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ViewfinderView (Context context, AttributeSet attrs)
void setCameraManager (CameraManager cameraManager)
void setDisplay (int w, int h)
void SetText (String tekst)
void onDraw (Canvas canvas)
void drawViewfinder ()
void drawResultBitmap (Bitmap barcode)
void addPossibleResultPoint (ResultPoint point)

Detailed Description

This view is overlaid on top of the camera preview. It adds the viewfinder rectangle and partial transparency outside it, as well as the laser scanner animation and result points.

Author:
dswitkin@google.com (Daniel Switkin)

Constructor & Destructor Documentation

org.opencv.samples.tutorial2.ViewfinderView.ViewfinderView ( Context  context,
AttributeSet  attrs 
)

Member Function Documentation

Draw a bitmap with the result points highlighted instead of the live scanning display.

Parameters:
barcodeAn image of the decoded barcode.
void org.opencv.samples.tutorial2.ViewfinderView.setCameraManager ( CameraManager  cameraManager)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables