From 56b473b44c7a62c65ca20e55f5b4c891affb849a Mon Sep 17 00:00:00 2001 From: FTC Engineering Date: Fri, 23 Oct 2020 14:14:22 -0400 Subject: [PATCH] Updated Blocks Sample TensorFlow Object Detection Op Mode (markdown) --- Blocks-Sample-TensorFlow-Object-Detection-Op-Mode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blocks-Sample-TensorFlow-Object-Detection-Op-Mode.md b/Blocks-Sample-TensorFlow-Object-Detection-Op-Mode.md index 5f471ea..2f242d6 100644 --- a/Blocks-Sample-TensorFlow-Object-Detection-Op-Mode.md +++ b/Blocks-Sample-TensorFlow-Object-Detection-Op-Mode.md @@ -31,9 +31,9 @@ When an object is identified by the TensorFlow library, the Op Mode can read the The origin of the coordinate system is in the upper left-hand corner of the image. The horizontal (x) coordinate value increases as you move from the left to the right of the image. The vertical (y) coordinate value increases as you move from the top to the bottom of the image. -


The origin of the image coordinate system is located in upper left hand corner.

+

[[/images/Blocks-Sample-TensorFlow-Object-Detection-Op-Mode/landscapeCoordinate.png]]
The origin of the image coordinate system is located in upper left hand corner.

-In the landscape image above, the approximate coordinate values for the Left, Top, Right, and Bottom boundaries are 955, 411, 1234, and 694 respectively (pixel coordinates). The width and height for the landscape image above is 1280 and 720 respectively. +In the landscape image above, the approximate coordinate values for the Left, Top, Right, and Bottom boundaries are 455, 191, 808, and 547 respectively (pixel coordinates). The width and height for the landscape image above is 1280 and 720 respectively. ### Iterating and Processing List of Recognized Objects After the Op Mode waits for (and receives) a start command from the Driver Station, if the Op Mode is still active, the Op Mode will activate the TensorFlow object detector. Note that in this example, the Op Mode does not activate the Vuforia tracking feature, it only activates TensorFlow object detection. If you want to incorporate Vuforia image detection and tracking you will also need to activate (and later deactivate when you are done) the Vuforia tracking feature.