영상처리
조회수 : 1
윈도우_opencv_빌드   ( 45/52 )
example.cpp 소스 파일 (3/8) 1.int main() {2.    VideoCapture cap(0);3.    if (!cap.isOpened()) {4.        cerr << "Error: Could not open camera." << endl;5.        return -1;6.    }7.    auto start = chrono::high_resolution_clock::now();8.    int frame_count = 0;9.    float fps = 0.0;10.    while (true) {11.        Mat frame;12.        cap >> frame;