mirror of
https://github.com/TimeCrafters/UltimateGoal.git
synced 2025-12-15 14:02:33 +00:00
Merge branch 'master' of https://github.com/FIRST-Tech-Challenge/FtcRobotController
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
dependencies {
|
||||
implementation project(':FtcRobotController')
|
||||
implementation 'org.firstinspires.ftc:RobotCore:6.0.1'
|
||||
implementation 'org.firstinspires.ftc:Hardware:6.0.1'
|
||||
implementation 'org.firstinspires.ftc:FtcCommon:6.0.1'
|
||||
implementation 'org.firstinspires.ftc:RobotCore:6.1.1'
|
||||
implementation 'org.firstinspires.ftc:Hardware:6.1.1'
|
||||
implementation 'org.firstinspires.ftc:FtcCommon:6.1.1'
|
||||
implementation (name: 'tfod-release', ext:'aar')
|
||||
implementation (name: 'tensorflow-lite-0.0.0-nightly', ext:'aar')
|
||||
}
|
||||
|
||||
@@ -102,10 +102,8 @@ public class ConceptTensorFlowObjectDetectionWebcam extends LinearOpMode {
|
||||
// If your target is at distance greater than 50 cm (20") you can adjust the magnification value
|
||||
// to artificially zoom in to the center of image. For best results, the "aspectRatio" argument
|
||||
// should be set to the value of the images used to create the TensorFlow Object Detection model
|
||||
// (typically 1.78 or 16/9).
|
||||
|
||||
// Uncomment the following line if you want to adjust the magnification and/or the aspect ratio of the input images.
|
||||
//tfod.setZoom(2.5, 1.78);
|
||||
// (typically 16/9).
|
||||
tfod.setZoom(2.5, 16.0/9.0);
|
||||
}
|
||||
|
||||
/** Wait for the game to begin */
|
||||
|
||||
Reference in New Issue
Block a user