Skip to content

Commit

Permalink
Project update
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham0204 committed Oct 17, 2021
1 parent 4849313 commit 402ce08
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
package com.ml.quaterion.facenetdetection

import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Bitmap
import android.util.Log
Expand Down Expand Up @@ -55,7 +56,8 @@ class FrameAnalyser( private var context: Context , private var boundingBoxOverl



override fun analyze( image: ImageProxy) {
@SuppressLint("UnsafeOptInUsageError")
override fun analyze(image: ImageProxy) {
// If the previous frame is still being processed, then skip this frame
if ( isProcessing || faceList.size == 0 ) {
image.close()
Expand Down

0 comments on commit 402ce08

Please sign in to comment.