Skip to content

Commit

Permalink
Merge pull request #16 from fardinkai/patch-15
Browse files Browse the repository at this point in the history
Update mask_detect.py
  • Loading branch information
FardinHash authored Jan 5, 2024
2 parents 1917415 + 8e4aade commit 406b2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mask detection/mask_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

str = ''
faceCascade = cv2.CascadeClassifier('resource/haarcascade_frontalface_default.xml')

np.set_printoptions(suppress=True)
model = tensorflow.keras.models.load_model('resource/keras_model.h5')
data = np.ndarray(shape=(1, 224, 224, 3), dtype=np.float32)
Expand Down

0 comments on commit 406b2cb

Please sign in to comment.