Fetch AWS S3 images #117
-
Hi, I Need help, I am new to face recognition and there this code below where actually works, but when I try to use AWS S3 links in fetchImage it shows Cors Policy issue. I know you can't set Access-Control-Allow-Origin header in client but is there any way to resolve this without setting the origin? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
forget about afaik, you cant bypass it by changing headers client-side , you need to configure aws s3 bucket to allow cors. |
Beta Was this translation helpful? Give feedback.
forget about
face-api
for a second, can you use standardfetch
to download image without it?if yes, you can get
face-api
to work as well. if no, you need to get fetch to work.afaik, you cant bypass it by changing headers client-side , you need to configure aws s3 bucket to allow cors.