Class FaceDetector

java.lang.Object
com.esprit.utils.FaceDetector
All Implemented Interfaces:
Runnable

public class FaceDetector extends Object implements Runnable
Utility class providing helper methods for the RAKCHA application. Contains reusable functionality and common operations.
Since:
1.0.0
Version:
1.0.0
Author:
RAKCHA Team
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • FRONTAL_FACE_CASCADE

      private static final String FRONTAL_FACE_CASCADE
      See Also:
    • EYE_CASCADE

      private static final String EYE_CASCADE
      See Also:
    • faceCascade

      private final org.opencv.objdetect.CascadeClassifier faceCascade
    • eyeCascade

      private final org.opencv.objdetect.CascadeClassifier eyeCascade
    • videoCapture

      private final org.opencv.videoio.VideoCapture videoCapture
    • running

      private final AtomicBoolean running
    • callback

      private final FaceDetector.FaceDetectionCallback callback
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • stop

      public void stop()
      Performs stop operation.
    • cleanup

      private void cleanup()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable