Answer the question
In order to leave comments, you need to log in
How to access webcam from code?
I'm just starting to learn JavaScript, so don't kick too hard.
I am writing a bot for Telegram on Node.js .
The task of the bot on command is to send a photo that is in the folder with the bot.
A snapshot should be taken by the webcam once every two minutes (ideally, by the same command), and added to a folder, replacing the previous one. At the moment, working with the webcam is done through special software for the camera, but I really want to avoid this kind of intermediaries, and work with the camera directly from the code.
Question:
1) Is this possible with Node.js?
2) What library \ module allows you to get the specified functionality?
3) Or is it better to look towards other languages? What?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question