Worked on Custom tensor flow model and had programmed it and had found that it would always be over 75% sure that there was always a steve even if the cone was out of frame and it would occasionally look and find that there was the team banner image from the website. but then i tested it with the pre programmed tensors and it could easily figure out which image was being shown. must train the computer better with different images as well that are even more distinctable. but i succesfully trained it something and implemented it, so partial success

This commit is contained in:
SpencerPiha
2022-10-09 17:08:44 -05:00
parent cf89b53e90
commit 100b06610c
8 changed files with 103 additions and 5 deletions

View File

@@ -17,9 +17,14 @@ apply from: '../build.dependencies.gradle'
android {
namespace = 'org.firstinspires.ftc.teamcode'
buildFeatures {
mlModelBinding true
}
}
dependencies {
implementation project(':FtcRobotController')
implementation 'org.tensorflow:tensorflow-lite-metadata:0.1.0'
implementation 'org.tensorflow:tensorflow-lite-gpu:2.3.0'
annotationProcessor files('lib/OpModeAnnotationProcessor.jar')
}