Changes between Version 9 and Version 10 of ControlSystems/SoftwareTeam/Training/GettingStarted/Overlays


Ignore:
Timestamp:
Nov 29, 2019, 9:51:45 AM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

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

    v9 v10  
    4040                // then stream the combined image to the dashboard
    4141                while(!Thread.interrupted()) {
     42
    4243                  // grab a frame from the video stream
    4344                  if (cvSink.grabFrame(mat) == 0) {
     
    4647                    continue;
    4748                  }
     49
    4850                  // Draw a red rectangle on the frame image
    4951                  Imgproc.rectangle(mat,                                    // mat to operate on
     
    5153                                    new Scalar(0,0,255),                    // OpenCV uses BGR
    5254                                    5);                                     // line thickness
     55
    5356                  // Give the output stream the new image to display
    5457                  outputStream.putFrame(mat);