File tree Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ else()
176176 FetchContent_Declare(
177177 XLink
178178 GIT_REPOSITORY https://github.com/luxonis/XLink.git
179- GIT_TAG 0e2e7d11f0f128c1363b1ac208fb09a363afb9d8
179+ GIT_TAG 8423b90465d9f91d8c3fd108bb8c18a7b27d8a3e
180180 )
181181
182182 FetchContent_MakeAvailable(
Original file line number Diff line number Diff line change @@ -51,26 +51,28 @@ int main() {
5151 if (imgHd == nullptr ) continue ;
5252
5353 cv::Mat frame = imgHd->getCvFrame ();
54- cv::imshow (" video" , frame);
55-
56- int key = cv::waitKey (1 );
57- if (key == ' q' ) {
58- break ;
59- }
60- if (key == ' c' ) {
61- // Send a trigger message to the Script node
62- qTrigger->send (std::make_shared<dai::Buffer>());
63- }
64-
65- if (highestResQ->has ()) {
66- auto highresImg = highestResQ->get <dai::ImgFrame>();
67- if (highresImg != nullptr ) {
68- cv::Mat frame = highresImg->getCvFrame ();
69- // Save the full image
70- cv::imwrite (" full_image.png" , frame);
71- }
72- }
54+
55+ std::cout << " Got frame" << std::endl;
56+ // cv::imshow("video", frame);
57+
58+ // int key = cv::waitKey(1);
59+ // if(key == 'q') {
60+ // break;
61+ // }
62+ // if(key == 'c') {
63+ // // Send a trigger message to the Script node
64+ // qTrigger->send(std::make_shared<dai::Buffer>());
65+ // }
66+
67+ // if(highestResQ->has()) {
68+ // auto highresImg = highestResQ->get<dai::ImgFrame>();
69+ // if(highresImg != nullptr) {
70+ // cv::Mat frame = highresImg->getCvFrame();
71+ // // Save the full image
72+ // cv::imwrite("full_image.png", frame);
73+ // }
74+ // }
7375 }
7476
7577 return 0 ;
76- }
78+ }
You can’t perform that action at this time.
0 commit comments