Example usage for org.opencv.android CameraBridgeViewBase enableView

List of usage examples for org.opencv.android CameraBridgeViewBase enableView

Introduction

In this page you can find the example usage for org.opencv.android CameraBridgeViewBase enableView.

Prototype

public void enableView() 

Source Link

Document

This method is provided for clients, so they can enable the camera connection.

Usage

From source file:com.raulh82vlc.face_detection_sample.opencv.presentation.FDOpenCVPresenter.java

License:Apache License

private void setCameraParameters(CameraBridgeViewBase openCvCameraView) {
    openCvCameraView.setCameraIndex(CAMERA_ID_FRONT);
    openCvCameraView.enableFpsMeter();//w ww . java 2s . co  m
    openCvCameraView.enableView();
}