Implements #196 stream capturing
Compare changes
- Nicolas Pope authored
+ 18
− 0
@@ -3,11 +3,17 @@
@@ -3,11 +3,17 @@
@@ -41,6 +47,18 @@ int main(int argc, char **argv) {
@@ -41,6 +47,18 @@ int main(int argc, char **argv) {
LOG(INFO) << "Reading packet: (" << (int)spkt.streamID << "," << (int)spkt.channel << ") " << (int)pkt.codec << ", " << (int)pkt.definition;
cv::Mat frame(cv::Size(ftl::codecs::getWidth(pkt.definition),ftl::codecs::getHeight(pkt.definition)), CV_8UC3);