ContriHUB / SecureFace

SecureFace Access Control System
MIT License
0 stars 4 forks source link

Improves access logging and face detection tests #19

Closed Nandika-A closed 1 year ago

Nandika-A commented 1 year ago

Description

Additional features are added in test functions: test_access_logging:

  1. Check whether the file exists at the correct path
  2. Clean up the log file before running the test

test_face_detection:

  1. Check if the image is not entirely black
  2. Check for Detected Faces Being Non-Overlapping

Related Issue

Fixes #8

Type of change

Motivation and Context

How Has This Been Tested?

All tests are successful after running unittest.

Screenshots (if appropriate):

Checklist:

Test Configuration:

Nandika-A commented 1 year ago

@sanskaromar I have removed the test for black images. Please check if any other changes are required.