Esempio n. 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
#if DEBUG
            WebcamController.addDisplayFPS();
#endif
            //타이머 설정
            timer1.Interval = 20;
            timer1.Enabled  = true;
        }
Esempio n. 2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            WebcamController.updateFrame();

            pictureBox1.Image = WebcamController.getFrameAsBMP();

            //IplImage ycrcbImg = ImageProcessingController.RGBToYCbCr(WebcamController.getImg());
            //ResultBox.Image = ImageProcessingController.IplToBitmap(ImageProcessingController.ImageToBinary(ycrcbImg));

            ResultBox.Image = DetectorManager.Instance.GetBitmapImage(GestureType.Point);
        }
Esempio n. 3
0
 public Bitmap ExtractRecognitionImageBitmap()
 {
     return(ConvertIplToBitmap(extractSkinAsIpl(WebcamController.getImg())));
 }
Esempio n. 4
0
 public IplImage ExtractRecognitionImageIpl()
 {
     return(extractSkinAsIpl(WebcamController.getImg()));
 }