Compare commits

..

No commits in common. "54246257c9ca0b7e14ebd1047be897f5f23b07d9" and "08a09e3b15790a9ada8681d47853e2b8bfd6b047" have entirely different histories.

9 changed files with 1 additions and 39 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
.venv .venv
.idea .idea
build

View File

@ -1,8 +0,0 @@
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!" << endl;
return 0;
}

View File

@ -1,13 +0,0 @@
project('video-streaming-poc', 'cpp')
add_project_arguments('-Wall', '-Wextra', language : 'cpp')
opencv = dependency('opencv4', version : '>=4.0.0')
opencv_incl_dir = opencv.get_variable(cmake : 'OpenCV_INCLUDE_DIRECTORIES', pkgconfig : 'includedir')
include = include_directories(opencv_incl_dir)
common = []
client = common + ['client.cpp']
server = common + ['server.cpp']
client_exe = executable('client', client, dependencies : opencv, include_directories : include)
server_exe = executable('server', server, dependencies : opencv, include_directories : include)

View File

@ -1,16 +0,0 @@
#include <opencv2/highgui.hpp>
#include <opencv2/core/mat.hpp>
using namespace std;
int main() {
cv::VideoCapture cap = cv::VideoCapture(0);
bool running = true;
cv::Mat image = cv::Mat::zeros(480, 640, CV_8UC3);
while (running) {
cap.read(image);
imshow("image", image);
running = cv::waitKey(30) != 27;
}
return 0;
}