Как получить видео и фото из вебкамеры в React React webcam
Получаем видеопоток из фронтальной и задней камеры устройства с помощью библиотеки reactwebcam и выводим видео в браузер. 00:00 Приветствие 00:27 Устанавливаем reactwebcam 01:20 Добавляем компонент Webcam 02:01 Исправляем видео из фронтальной камеры 02:22 Переключаем с фронтальной на заднюю камеру 02:45 Обрабатываем ошибку 03:15 Делаем фото 04:04 Удаляем лишние строчки 04:43 Проверяю на телефоне 04:58 Окончание Мой сайт: Github: NPM:
|
|