Darknet/YOLO v3.0-177-gfa2353b
Object Detection Framework
 
Loading...
Searching...
No Matches
darknet_08_display_webcam.cpp File Reference

This application will read from a webcam, run the video through Darknet/YOLO, and display the results. More...

Include dependency graph for darknet_08_display_webcam.cpp:

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
 

Detailed Description

This application will read from a webcam, run the video through Darknet/YOLO, and display the results.

Function Documentation

◆ estimate_camera_fps()

double estimate_camera_fps ( cv::VideoCapture &  cap)
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ open_and_configure_camera()

cv::VideoCapture open_and_configure_camera ( cv::VideoCapture &  cap)
Here is the caller graph for this function:

Variable Documentation

◆ REQUEST_WEBCAM_FPS

const auto REQUEST_WEBCAM_FPS = 30.0

◆ REQUEST_WEBCAM_HEIGHT

const auto REQUEST_WEBCAM_HEIGHT = 1080

◆ REQUEST_WEBCAM_INDEX

const auto REQUEST_WEBCAM_INDEX = 0

◆ REQUEST_WEBCAM_WIDTH

const auto REQUEST_WEBCAM_WIDTH = 1920

◆ SAVE_OUTPUT_VIDEO

const auto SAVE_OUTPUT_VIDEO = false