exadel-inc / exadel-inc/CompreFace

face-detect-service input no-face image without Exception

Open
#1,223 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.