public VideoProcess() { //laser = new Mrg.LaserDetect(); laser = new LaserDetect(); point = new Mrg.Point(); //point = new AForge.Point(); cameraList = new ArrayList(); p = new Preview(this); getCamereaList(); }
}//closeVideoSource() public Bitmap getCurrentImageShotInfo(out Mrg.Point p, out Color c) { c = this.laserColor; p = this.point; string tpo = p.ToString(); string X = p.getX().ToString(); string Y = p.getY().ToString(); try { if (getPoint == 1) { WritePoints("shoot" + count.ToString()); count++; } //else //{ // count = 1; //} } catch (Exception e) { } return img; }