This application will read from a webcam, run the video through Darknet/YOLO, and display the results. More...
Functions | |
double | estimate_camera_fps (cv::VideoCapture &cap) |
int | main (int argc, char *argv[]) |
cv::VideoCapture | open_and_configure_camera (cv::VideoCapture &cap) |
Variables | |
const auto | REQUEST_WEBCAM_FPS = 30.0 |
const auto | REQUEST_WEBCAM_HEIGHT = 1080 |
const auto | REQUEST_WEBCAM_INDEX = 0 |
const auto | REQUEST_WEBCAM_WIDTH = 1920 |
const auto | SAVE_OUTPUT_VIDEO = false |
This application will read from a webcam, run the video through Darknet/YOLO, and display the results.
double estimate_camera_fps | ( | cv::VideoCapture & | cap | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
cv::VideoCapture open_and_configure_camera | ( | cv::VideoCapture & | cap | ) |
const auto REQUEST_WEBCAM_FPS = 30.0 |
const auto REQUEST_WEBCAM_HEIGHT = 1080 |
const auto REQUEST_WEBCAM_INDEX = 0 |
const auto REQUEST_WEBCAM_WIDTH = 1920 |
const auto SAVE_OUTPUT_VIDEO = false |