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