Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFetching external videos in browser (fetchImage for <video>) #392
Comments
|
@justadudewhohacks Feel free to close this issue if you want (idk if it should stay open or not) |
|
Thanks for your solution, if you want to open a PR contributing this method feel free :) |
|
is this code applicable to face-api.min.js and if so how can I implement it? |
|
@pt-br could you please tell me where to place the code properly.if i write it as stand alone methods.i am getting following error in react.Failed to compile. |
|
Please add this feature, thanks! |
have u found the solution bro? |


I've ran into this issue for a couple hours and I ended up editing the dist library adding two new functions called
fetchVideoandbufferToVideothat works pretty much like thefetchImageandbufferToImagefunctions.I'll leave it here to help somebody else with the same issue and in case someone wants to include it on future releases.
face-api.js
Usage example: