Llist index out of range
PulkitMishra opened this issue · 1 comments
PulkitMishra commented
Describe the bug
Index error is thrown by the application when comparing two images for faces
To Reproduce
Steps to reproduce the behavior:
- Run Server
- curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@ " -F "compareImage=@ " http://127.0.0.1:8000/api/simface/
- HTTP/1.1 500 Internal Server Error
IndexError at /api/simface/
list index out of range
Expected behavior
Proper should be returned instead
Desktop (please complete the following information):
- OS: Ubuntu 19.10
- Browser: Chrome
Additional context
I think this happens when the reference image does not have any face.
PulkitMishra commented
Working on this.