Changes between Version 3 and Version 4 of ControlSystems/SoftwareTeam/Training/GettingStarted/Overlays
- Timestamp:
- Nov 28, 2019, 11:12:34 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/Training/GettingStarted/Overlays
v3 v4 44 44 } 45 45 // Put a red rectangle on the image 46 Imgproc.rectangle(mat, new Point(160,120), new Point(480,360), new Scalar(0,0,255), 5); 46 Imgproc.rectangle(mat, // mat to operate on 47 new Point(160,120), new Point(480,360), // rectangle coords 48 new Scalar(0,0,255), // OpenCV uses BGR 49 5); // line thickness 47 50 // Give the output stream a new image to display 48 51 outputStream.putFrame(mat);