-
Notifications
You must be signed in to change notification settings - Fork 36
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
I can't add images to the face collection (TypeError: fs__WEBPACK_IMPORTED_MODULE_1___default.a.createReadStream is not a function
)
#20
Comments
Hi! |
The images in at path Follow my code, edited from webcam_demo project. ./src/App.js
./package.json
|
You can not pass image path directly in web application without user interaction (upload image) because of security concern. |
Describe the bug
I can't add faces images to the face collection.
I get the following error:
TypeError: fs__WEBPACK_IMPORTED_MODULE_1___default.a.createReadStream is not a function
.I tested at versions:
0.5.2
and0.6.0
0.6.0
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Logs
Additional context
I checked line 84 from
common_endpoints.js
(at functionupload_path
), and there is the following command:compreface-javascript-sdk/endpoints/common_endpoints.js
Line 84 in 52260bd
Can you help me avoid this possible bug?
Tks!
The text was updated successfully, but these errors were encountered: