How to capture webcam image in Angular2?

I want to implement ng2-webcam to capture images by streaming through a webcam in angular 2, but after installing from npm I got this error:

Mistake in. /~/ng2-webcam/lib/fallback/jscam.swf Module parsing error: E: \ idapril-2-5 \ node_modules \ NG2 webcam \ Lib \ fallback \ jscam.swf Unexpected character "(1: 3) You may need an appropriate loader to handle this type of file.

Can you suggest any other npm package for this feature?

+6
source share

Source: https://habr.com/ru/post/1016971/


All Articles