Package com.googlecode.javacv

Examples of com.googlecode.javacv.OpenCVFrameGrabber.stop()


          if (detector.Detect(currFrame)) {
            /*
             * hand over control of webcam to the record video
             * method to capture the frames for the 30 second movie
             */
            grabber.stop();
            recordVideo();
            // take control back of the webcam
            grabber.start();
            warmup(grabber);
            IplImage newbackground = grabber.grab();
View Full Code Here


        currFrame = grabber.grab();
      }
    } catch (Exception e) {
      e.printStackTrace();
    }
    grabber.stop();
    /*
     * construct the MakeCheckSend object which is a facade for making the
     * video from the jpg images, checking for a frame with a face in it and
     * then, in a new thread, sending the video and the frame via email to
     * the user .
View Full Code Here

          cvFlip(currFrame, currFrame, 1);// l-r =
          // show image on window
          canvas.showImage(currFrame);
        }
      }
      grabber.stop();
    } catch (Exception e) {
      e.printStackTrace();
    }
    canvas.dispose();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.