RIT-NTNU-Bachelor / OpenCV_Server

Python server that sends coordinates of the detected face over UDP.
https://rit-ntnu-bachelor.github.io/OpenCV_Server/
MIT License
1 stars 0 forks source link

Write Unit Tests for OpenCV server #13

Closed KjetilIN closed 6 months ago

KjetilIN commented 7 months ago

What?

Write unit tests for the OpenCV server. If we do not do it, we need to remove the folder for tests!

Tests could be to detect a single face in a image and see if the model is able to find it without errors.

List of tests that are useful:

KjetilIN commented 6 months ago

Good resource for writing unit tests in python: https://www.dataquest.io/blog/unit-tests-python/

KjetilIN commented 6 months ago

Up for review 16th April

Please read the pr RIT-NTNU-Bachelor/OpenCV_Server#33 It has all the information needed. It should be read through before giving feedback

Test that are not implemented, but should be discussed:

KjetilIN commented 6 months ago

To Do Before Close

Discuss if more tests are required

KjetilIN commented 6 months ago

Doing distance testing and then not sure how much more we should prioritize

See issue RIT-NTNU-Bachelor/case-study#5