diff --git a/Java-Sample-TensorFlow-Object-Detection-Op-Mode.md b/Java-Sample-TensorFlow-Object-Detection-Op-Mode.md index da6fd33..257fe7f 100644 --- a/Java-Sample-TensorFlow-Object-Detection-Op-Mode.md +++ b/Java-Sample-TensorFlow-Object-Detection-Op-Mode.md @@ -192,6 +192,10 @@ If the phone is in Landscape mode when the object detector is initialized, then
The "Left" and "Top" boundaries of a detection box when the image is in Landscape mode.
+Note that Android devices can be locked into Portrait Mode so that the screen image will not rotate even if the phone is held in a Landscape orientation. If your phone is locked in Portrait Mode, then the TensorFlow object detector will interpret all images as Portrait images. If you would like to use the phone in Landscape mode, then you need to make sure your phone is set to "Auto-rotate" mode. In Auto-rotate mode, if the phone is held in a Landscape orientation, then the screen will auto rotate to display the contents in Landscape form. + +
Auto-rotate must be enabled in order to operate in Landscape mode.
+ ### Deactivating TensorFlow When the example Op Mode is no longer active (i.e., when the user has pressed the stop button on the Driver Station) the Op Mode will attempt to deactivate the TensorFlow library before it's done. It's important to deactivate the library to free up system resources.