Changes between Version 3 and Version 4 of ControlSystems/SoftwareTeam/Training/GettingStarted/Overlays


Ignore:
Timestamp:
Nov 28, 2019, 11:12:34 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/Overlays

    v3 v4  
    4444                  }
    4545                  // 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
    4750                  // Give the output stream a new image to display
    4851                  outputStream.putFrame(mat);