This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| #Installing v4l-utils (debian) gives one the handy v4l2-ctl command: | |
| $ v4l2-ctl --list-devices | |
| HPigh Definition Webcam (usb-0000:00:14.0-11): | |
| /dev/video2 | |
| UVC Camera (046d:0821) (usb-0000:00:14.0-13): | |
| /dev/video0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Configurations of logger. | |
| */ | |
| const winston = require('winston'); | |
| process.env.NODE_ENV = "production"; | |
| const env = process.env.NODE_ENV; | |
| const fs = require('fs'); | |
| var util = require('util'); | |
| const logDir = 'applicationlog'; |