How to capture and record video from webcam using JavaCV
I'm new to JavaCV and I have difficult time finding good tutorials about different issues on the topics that I'm interested in. I've succeed to implement some sort of real time video streaming from my webcam but the problem is that I use this code snippet which I found on the net : @Override public void run() { FrameGrabber grabber = new VideoInputFrameGrabber(0); // 1 for next // camera int i = 0; try { grabber.start(); IplImage img; while (true) { img = grabber.grab(); if (img != null) { cvFlip(img, img, 1);// l-r = 90_degrees_steps_anti_clockwise cvSaveImage((i++) + "-aa.jpg", img); // show