Last year there was a sample program in Java (in FTC Appmaster external samples) which used the Tensor Flow Object Detection to decide where the gold block was for last year's game. It reported "left", "right" or "center". Is there a similar Java code for this year's game?
Announcement
Collapse
No announcement yet.
Java Programming for Tensor Flow Object Detection : Question
Collapse
X
-
Java Programming for Tensor Flow Object Detection : Question
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FTC 265 Viking Robotics
Website: http://wiscorobotics.weebly.com
Twitter: @Wiscorobotics
Email: [email protected]Tags: None
-
Yes, FTC SDK has a sample for TensorFlow called ConceptTensorFlowObjectDetection.java.
https://github.com/trc492/FtcSamples...Detection.java
It will tell you what it detected and the detected objects' rectangle.
-
Originally posted by Lunerwalker2 View PostThat code was a VuMark ID code, not tensor flow. Concept vumark identification is what it is, and you can change things for skystone use.
I believe the VuMark ID sample op modes that are included are relevant to the VuMarks used in the Relic Recovery season. They would not apply to the Skystone game since there aren't any VuMarks included in this year's game.
For the Skystone season, if you'd like to see how to use the TensorFlow Lite inference model to identify and track Stones and Skystones, the ConceptTensorFlowObjectDetection sample op mode that mikets referred to is the correct one to examine.
If you want to learn how to use the Vuforia image targets (which are a little different from a VuMark) then the ConceptVuforiaSkyStoneNavigation sample op mode is the sample that you will want to examine.
Comment
-
Originally posted by Tom Eng View Post
Hi Lunerwalker2
I believe the VuMark ID sample op modes that are included are relevant to the VuMarks used in the Relic Recovery season. They would not apply to the Skystone game since there aren't any VuMarks included in this year's game.
For the Skystone season, if you'd like to see how to use the TensorFlow Lite inference model to identify and track Stones and Skystones, the ConceptTensorFlowObjectDetection sample op mode that mikets referred to is the correct one to examine.
If you want to learn how to use the Vuforia image targets (which are a little different from a VuMark) then the ConceptVuforiaSkyStoneNavigation sample op mode is the sample that you will want to examine.
Code:VuforiaTrackables relicTrackables = this.vuforia.loadTrackablesFromAsset("RelicRecovery")
Code:VuforiaTrackable skystoneStone = skystoneTrackables.get(0);
Comment
Comment