Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
#if DEBUG
            WebcamController.addDisplayFPS();
#endif
            //타이머 설정
            timer1.Interval = 20;
            timer1.Enabled  = true;
        }
Пример #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);
        }
Пример #3
0
 public Bitmap ExtractRecognitionImageBitmap()
 {
     return(ConvertIplToBitmap(extractSkinAsIpl(WebcamController.getImg())));
 }
Пример #4
0
 public IplImage ExtractRecognitionImageIpl()
 {
     return(extractSkinAsIpl(WebcamController.getImg()));
 }