Azure-Samples / azure-ai-vision-sdk

SDK for Microsoft's Azure AI Vision
MIT License
80 stars 50 forks source link

Faceliveness assets custom path #107

Closed sca1235 closed 1 month ago

sca1235 commented 1 month ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

The next version of face liveness tries to load the assets wherever the page path loads.

i.e. https://example.local/verify/faceanalyzer-assets/js/AzureAIVisionFace_SIMDBundle.js which results in a 404 for us as that isn't where we put the assets.

we want to be able to override and define the path to the assets. Right now, it is relative.

image

Any log messages given by the failure

Expected/desired behavior

we want to be able to have a custom path for our assets

like below

https://example.local/assets/faceanalyzer-assets/js/AzureAIVisionFace_SIMDBundle.js

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

azure-ai-vision-faceanalyzer@0.17.0-beta.1

Mention any other details that might be useful


Thanks! We'll be in touch soon.