OpenCV:打開攝像頭獲取視頻流

代碼: #include #include using namespace cv; using namespace std; int main() { //【1】從攝像頭讀入視頻     VideoCapture capture(1);     if (!capture.isOpened()) { cout<< "open camera fail ..." << endl;         ret
相關文章
相關標籤/搜索