How to configure camera detection for FTC Power Play using OpenCV & April Tags
Тәжірибелік нұсқаулар және стиль
Hello, we are FTC team 20177 High Velocity in this video we show you how to use OpenCV and April Tags to utilize camera detection in FTC Power Play.
FTC 20177 KZread Channel: / @highvelocityrobotics
Website: www.highvelocityrobotics.org/
Email: highvelocity20177@covesd.org
Links:
Ftc android studio project: github.com/FIRST-Tech-Challen...
OpenCV: github.com/OpenFTC/EasyOpenCV
April Tags: github.com/OpenFTC/EOCV-April...
April Tags PDF: www.dotproduct3d.com/uploads/...
libOpenCvAndroid453.so: (File that you need to put on the control hub) drive.google.com/file/d/1GAEc...
Video Tags:
opencv tutorial,opencv tutorial for beginners,How to use opencv ftc,Ftc Power Play,how to use vuforia,ftc robotics 2023,ftc robotics power play,opencv python tutorial,opencv android studio tutorial,ftc april tags,april tags,How to configure camera detection for FTC Power Play using OpenCV & April Tags,how to use april tags,first tech challenge,ftc power play kickoff,ftc power play robot,android studio opencv tutorial,how to use opencv,vuforia ftc tutorial
Пікірлер: 23
Fantastic video! Straight forward and easy to implement. This saved our team after hours of frustration with Android Studio. Thanks for helping us have autonomous ready to go for league finals!
You are a rock star! Thanks for sharing your expertise!!
This helped me so much , thank you!
Thanks for your help. you are saving my life form the dead line😂😂.
Very Cool!
Thanks for the video! It works well, but only in a specific location. Is there any configuration changes that are needed to be made in order for the camera to detect the object in the most orientations?
Hi, question: Does this work with Roadrunner? Are all the gradle dependencies between this and RR the same? Thanks!
Is there a fork or anything to use the april tag plugin with onbot java?
Seeing this video, is it possible to do something like this, where the camera is able to scan barcodes?
6:16 I don't see that file in the github, and I only see 5 steps but it is 7 on your computer. Edit: I found the file in the change log.
It keeps on saying that I don't have any disk space though I have checked through it several times, is there anything I could do to solve it?
Great tutorial. What if I´m using the camera phone? because the example file uses a webcam. What do I change?
@CoveWolf
Жыл бұрын
Hello, I would like to apologize since I'm not completly sure on what to change in the code for this. I belive it would be a change made to the pipline file since that controls the camera but again Im not to sure. The Easy OpenCV Github may have some info on what to do for this. Since I don't exactly know I would look on the FTC forums. Over there someone should be able to help with giving you an correct and accurate awnser on what to change. Again I'm sorry for not being able to help you very much in terms of what to change. FTC Forums: ftcforum.firstinspires.org/
Hello, i am trying this for our team's autonomous program. We have also made the autonomous movement code. But when we initialise and start the program we get an exception error with: Attempt to read from field 'int org.openftc.apriltag.Apriltagdetection.idon a null object reference. We also tried just initialising the code, but when a tag is seen the robot doesn't move. Is there any way to solve this?
@toastosteroni3364
Жыл бұрын
i’m having a similar issue, id love to know how to solve it
How are you able to connect the external camera to REV extension hug? what USB Hub you are using?
@CoveWolf
Жыл бұрын
Hello, We use a Rev control hub which has 2 usb ports built into the device. This allows you to connect up to 2 cameras at once. If you are trying to connect a camera to a Rev expansion hub. Here is some documentation I found on how to go about it. As for what hub I would use I don’t know if there is a legal list or any rules but I would use a USB hub by Anker as that’s the one used in the documentation. Documentation: firsttechchallenge.blogspot.com/2018/12/external-cameras-for-bots-on-field.html?m=1 Anker USB Hub: www.amazon.com/Anker-Extended-MacBook-Surface-Notebook/dp/B07L32B9C2/ref=mp_s_a_1_1?crid=1RKBAJDHKJIQK&keywords=Anker+4-Port+USB+3.0+Ultra-Slim+Portable+Data+Hub+with+12W+Power+Adapter+for+MacBook%2C+Mac+Pro%2FMini%2C+iMac%2C+XPS%2C+Surface+Pro%2C+Notebook+PCs+and+More&qid=1669737007&sprefix=anker+4-port+usb+3.0+ultra-slim+portable+data+hub+with+12w+power+adapter+for+macbook%2C+mac+pro%2Fmini%2C+imac%2C+xps%2C+surface+pro%2C+notebook+pcs+and+more%2Caps%2C299&sr=8-1 Hope this helps!
will this work if I am coding this with onbot java instead of android studio
@CoveWolf
Жыл бұрын
According to the opencv GitHub there is a version for onbot Java but I never done it before. The video only shows you how to do it in android studio. So unfortunately you will have to find another video to show you how to do that.
how different would this be for teams using onbot java instead of android studio? i'm a rookie coach (with a rookie team) and we're looking into doing exactly this to read from the images on the cones. thx.
@jirattanunleeudomwong
Жыл бұрын
So when you using onbot Java it’s will faster to upload and easy to manage the code(the code that you choose when it’s start to run). But the android studio give you access to editing more than onbot Java also easy to read and have auto correct so it’s more easy to write the code.
Is there anyone that can show me how to do this on blocks?
@Is_sa.c
Жыл бұрын
I don't believe it is possible.