-
-
Save humboldt/1b19e4e8193974d42914d35c9cb272bf to your computer and use it in GitHub Desktop.
OpenCVでWifi接続したGo Pro HERO3のライブ表示する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv2/opencv.hpp> | |
| int main() | |
| { | |
| cv::VideoCapture cap( "http://10.5.5.9:8080/live/amba.m3u8" ); | |
| cv::namedWindow( "GoPro" ); | |
| cv::Mat frame; | |
| do { | |
| cap >> frame; | |
| cv::imshow( "GoPro", frame ); | |
| } while ( cv::waitKey( 30 ) < 0 ); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment