exadel-inc / exadel-inc/CompreFace
face-detect-service input no-face image without Exception
Open
- Dominant language
- Java
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
why face-detect-service will return exception msg if input no-face image
**Describe the solution you'd like**
return the same struct with empty list of result if image has no face.
```
{
"result" : [],
"plugins_versions" : {
"age" : "agegender.AgeDetector",
"gender" : "agegender.GenderDetector",
"detector" : "facenet.FaceDetector",
"calculator" : "facenet.Calculator",
"mask": "facemask.MaskDetector"
}
}
```
**Describe alternatives you've considered**
other rest api should also consider this problem
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.