kremnik
4a81fc2553
Normalized paths in test_commons.py to make tests platform-independent
2024-09-30 00:05:36 +03:00
Sefik Ilkin Serengil
8f9c1e3b73
unit tests added for weight utils
2024-09-06 09:18:25 +01:00
Sefik Ilkin Serengil
a80d3e8d27
exception messages updated
2024-09-01 09:37:29 +01:00
Sefik Ilkin Serengil
005280f684
customize broken weight file test
2024-08-31 18:04:50 +01:00
Sefik Ilkin Serengil
e8346601e2
typo in weight file name
2024-08-31 17:53:34 +01:00
Sefik Ilkin Serengil
f23d63c643
do broken file test with unused model
2024-08-31 17:51:07 +01:00
Sefik Ilkin Serengil
074e81ba50
enforce broken weight file test at the end of all tests
2024-08-31 17:31:00 +01:00
Sefik Ilkin Serengil
ed8a6404d9
unit test for broken weight file
2024-08-31 17:12:19 +01:00
Sefik Ilkin Serengil
0d1bce3618
Update test_extract_faces.py
...
type controls in detected face
2024-08-30 08:04:50 +01:00
kremnik
a65f87a65a
Optimize ssd detector
2024-08-27 06:06:39 +03:00
Sefik Ilkin Serengil
e9d96a789d
these things covered
...
- expected exception messages updated
- nested embedding input is not supported, this is checked
2024-08-17 08:11:44 +01:00
kremnik
a2e590cfb0
Update minimum distance between embeddings calculation: fixes
2024-08-16 21:53:33 +03:00
kremnik
ca1db5fac7
Update minimum distance between embeddings calculation
2024-08-16 04:56:58 +03:00
Sefik Ilkin Serengil
30591701a7
facial area coordinates must be in image borders
2024-08-15 08:15:15 +01:00
kremnik
fc5c4b9155
Add tests for refresh_database=False
2024-08-14 20:32:54 +03:00
kremnik
0bb94a1a11
Update path handling
2024-08-12 03:10:20 +03:00
Sefik Ilkin Serengil
6263cef831
external tests
2024-08-04 11:47:10 +01:00
kremnik
59e8d52b63
Update Logger singleton creation, add test and docstring
2024-08-02 05:53:08 +03:00
Sefik Ilkin Serengil
37b8cc7d31
test max faces arg
2024-07-21 08:59:09 +01:00
Sefik Ilkin Serengil
f35abd1ec2
anti spoofing
2024-06-07 20:10:32 +01:00
Sefik Ilkin Serengil
13d502d3d8
unit test added for facial area coordinates after adding borders
2024-06-03 20:11:20 +01:00
Sefik Ilkin Serengil
fab08fe37c
linting in test folder
2024-04-13 08:30:05 +01:00
Sefik Ilkin Serengil
4a4e706682
load base64 function renamed and moved
2024-04-13 08:10:43 +01:00
Sefik Ilkin Serengil
b345b1dfdf
image utils
2024-04-13 08:01:55 +01:00
Sefik Ilkin Serengil
cd36b13dde
more file utils
2024-04-13 07:56:03 +01:00
Sefik Ilkin Serengil
154fca372d
unit test extended for centerface
2024-04-12 14:49:25 +01:00
Sefik Ilkin Serengil
4577b43051
unit test extended for centerface
2024-04-12 14:49:07 +01:00
Sefik Ilkin Serengil
9a83068672
singleton logger and docstrings
2024-04-08 20:11:09 +01:00
Sefik Ilkin Serengil
ae5d5b967a
getting rid of target_size everywhere
2024-04-07 18:23:28 +01:00
Sefik Ilkin Serengil
1078be9f12
resize functionality moved to represent module
...
we were handling resizing in extract faces. with this commit
we moved it to representation module to provide seperation
of concern.
2024-04-07 18:14:27 +01:00
Sefik Ilkin Serengil
94937cfb71
checking file's content type instead of extension
2024-04-07 09:25:51 +01:00
Sefik Ilkin Serengil
6cc36922d4
OOP adopted for find embeddings
...
- standard FR models are now using find embeddings method from its super FacialRecognition
- find embeddings renamed to forward.
2024-03-28 19:59:09 +00:00
Sefik Ilkin Serengil
519c48e58d
add unit test to check left eye is on the left with respect to the person instead of observer
2024-03-24 16:32:59 +00:00
Reza Karbasi
6fac5a9543
add: test regarding checking the unity of the output with respect to different data resources (for the same picture) added
2024-03-20 07:33:56 +03:30
Reza Karbasi
acea51c81d
refactor: some logging descriptions revised in tests
2024-03-20 06:19:28 +03:30
Reza Karbasi
593a3c2539
add: a test added for 'represent' API endpoint to check the url input
...
This commit adds a new test case for the 'represent' API endpoint. The test verifies that the endpoint correctly processes an image URL and returns the expected data structure, including the correct number of face embeddings, face confidence, and facial area for each detected face in the image.
2024-03-20 06:04:32 +03:30
Reza Karbasi
24f7e11a68
fix: embedded size for facenet changed to 128
2024-03-19 15:50:02 +03:30
Reza Karbasi
5e38914a20
fix: an issue regarding the testing procedure has been addressed
2024-03-19 15:44:07 +03:30
Reza Karbasi
2fad7d259c
feat: an api test added. It evaluates whether the api works with encoded input or not
2024-03-19 15:31:40 +03:30
Sefik Ilkin Serengil
d08b85b445
unit test for ghost face added
2024-03-16 09:41:48 +00:00
Sefik Ilkin Serengil
20b990ac07
streaming code refactored
2024-03-16 08:39:01 +00:00
Sefik Ilkin Serengil
6eced68e69
support embedding input for verify
2024-03-08 15:22:58 +00:00
Sefik Ilkin Serengil
20070a3f97
expand facial area tests
2024-03-02 20:43:02 +00:00
Sefik Ilkin Serengil
c61cb6faf2
throw meaningful error
2024-03-02 20:20:57 +00:00
Sefik Ilkin Serengil
7ee55cb682
common confidence scales
2024-02-25 14:25:17 +00:00
Andrea Lanfranchi
1d53ca1bd1
Amend test.py for os dependendent directory separator char
...
It was failing on Windows
2024-02-22 14:35:16 +01:00
Sefik Ilkin Serengil
91a220335a
exception handling for bulk representations
2024-02-16 17:43:30 +00:00
Sefik Ilkin Serengil
91f5b448ee
remove problematic one
2024-02-16 17:39:24 +00:00
Sefik Ilkin Serengil
16c72cd0f6
align first detect second
2024-02-16 17:20:15 +00:00
Sefik Ilkin Serengil
e529fa5c26
make detection, alignment and expanding in common place
2024-02-16 15:31:50 +00:00