CCExtractor/Rekognition

Llist index out of range

PulkitMishra opened this issue · 1 comments

Describe the bug
Index error is thrown by the application when comparing two images for faces

To Reproduce
Steps to reproduce the behavior:

  1. Run Server
  2. curl -i -X POST -H "Content-Type: multipart/form-data" -F "file=@ " -F "compareImage=@ " http://127.0.0.1:8000/api/simface/
  3. 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.

Working on this.