This file contains 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
import cv2 | |
import cv2.cv as cv | |
import sys | |
#python capture.py | ffmpeg -f rawvideo -pix_fmt rgb24 -s 320x240 -r 30 -i - -an -f mpeg1video -b 800k -r 30 http://127.0.0.1:8082/patate/320/240 | |
video = cv2.VideoCapture(0) | |
def pipe_images(): | |
run, img = video.read() |
This file contains 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 <iostream> | |
using namespace std; | |
class Widget { | |
public: | |
Widget(int i, bool b); // ctors not declaring | |
Widget(int i, double d); // std::initializer_list params | |
}; | |
Widget::Widget(int i, bool b) { |