Monthly Archives: December 2011

Pendulum Graphics

I came across this video from memo.tv. It is an analog version of pendulum drawing with algorithmic art, very beautiful indeed.

Posted in Graphics | Tagged | Comments closed

People Detection Sample from OpenCV

There are a number of requests of the code I adopt the OpenCV people detection sample. Here it is. #include <opencv2/opencv.hpp>   using namespace cv;   int main (int argc, const char * argv[]) { VideoCapture cap(0); cap.set(CV_CAP_PROP_FRAME_WIDTH, 320); cap.set(CV_CAP_PROP_FRAME_HEIGHT, 240);   if (!cap.isOpened()) return -1;   Mat img; namedWindow("opencv", CV_WINDOW_AUTOSIZE); HOGDescriptor hog; hog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector());   [...]

Posted in Software | Tagged , | Comments closed