Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Missing image #23

Open
rudra0713 opened this issue Dec 30, 2020 · 1 comment
Open

Error: Missing image #23

rudra0713 opened this issue Dec 30, 2020 · 1 comment

Comments

@rudra0713
Copy link

rudra0713 commented Dec 30, 2020

Hi,
I have installed all the packages properly and I have been trying the following curl command from my MacBook terminal:

curl -X POST http://localhost:5000/api/fasterrcnn/predict/ -H 'Content-Type: application/x-www-form-urlencoded' -H 'Postman-Token: 70478bd2-e1e8-442f-b0bf-ea5ecf7bf4d8' -H 'cache-control: no-cache' -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' -F "image=@/Users/rudra/Desktop/page_12.jpg"
But it keeps outputting an error saying: {"error":"Missing image"}

Can anyone please help me solve this? I also tried -F image=@/Users/rudra/Desktop/page_12.jpg but no success. I even tried converting the curl request into a python post type request, but the same error.

Thanks in advance.

@xingdi1990
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants