You're a keeper.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread Yesterday, 19:38
Pay Me $2's Avatar
Pay Me $2 Pay Me $2 is offline
Registered User
AKA: La-Ya
FRC #4159 (CardinalBotics)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2017
Location: San Francisco, CA
Posts: 7
Pay Me $2 is an unknown quantity at this point
Machine learning?

Hi.

I am trying to learn some machine learning, in order to machine learn what a hopper looks like to drive towards one. By any chance, do you know any resources that I could look into for that? I program in C++, but a tutorial in any programming language would be fine.

Thanks!

Pay me $2
Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 20:01
FlamingSpork FlamingSpork is online now
Eating Utensil
FRC #3003 (Tan[X])
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Canandaigua, NY
Posts: 72
FlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really nice
Re: Machine learning?

I think machine learning might be a bit overkill for FRC. I'd probably have a camera pointed kinda upwards to find the retro-reflective rings on the high goal, but that's just me.
Reply With Quote
  #3   Spotlight this post!  
Unread Yesterday, 20:05
E, Palmer E, Palmer is offline
Registered User
FRC #6239 (The Irrational Engineers)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2009
Location: Maryland
Posts: 16
E, Palmer will become famous soon enoughE, Palmer will become famous soon enough
Re: Machine learning?

Alright so i looked into this over last summer, as this is (in my opinion) is super cool. When you begin looking into it though youl hit a learning wall. There isn't ANY real good resources out there. All the resources i was able to find require either, and advanced calc (college course) class or a pre-understanding of machine learning ( you see the flaw). Hoping https://www.kickstarter.com/projects...th-python-eboo comes out and is good. If you do happen to find a resource that helps you accomplish this i would be very excited to know,
Reply With Quote
  #4   Spotlight this post!  
Unread Yesterday, 20:58
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,344
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Machine learning?

Quote:
Originally Posted by Pay Me $2 View Post
Hi.

I am trying to learn some machine learning, in order to machine learn what a hopper looks like to drive towards one. By any chance, do you know any resources that I could look into for that? I program in C++, but a tutorial in any programming language would be fine.

Thanks!

Pay me $2
Do some searches in the white papers for Zebravision or checkout http://team900.org/labs
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #5   Spotlight this post!  
Unread Today, 10:05
Turing'sEgo Turing'sEgo is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boulder
Posts: 52
Turing'sEgo is infamous around these parts
Re: Machine learning?

Unfortunately there is a steep learning curve when it comes to understanding machine learning. It is typically a junior or senior level elective in cs programs. To fully understand it, it requires a working knowledge of many advanced math topics, such as operational calculus to statistics. On top of that, if you want to develop youre own algorithm, it takes a skilled programmer (or even team).

That being said, there are lbraries out there that do all the heavy lifting for you. Opencv has the most traditional algorithms you'd hit in an undergrad computer vision class, and some of the algorithms are machine learning based (like cascade classifier). Then you can have entire frameworks dedicated to one algorithm: neural networks. More specifically deep learning.

This isn't to discourage you. I love machine learning abd am lucky I get to do it everyday at my job let me know if you have any questions.
Reply With Quote
  #6   Spotlight this post!  
Unread Today, 10:14
microbuns's Avatar
microbuns microbuns is online now
Registered User
AKA: Sam Maier
FRC #4917 (Sir Lancerbot)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Elmira, ON
Posts: 89
microbuns is an unknown quantity at this point
Re: Machine learning?

Machine learning would have a tough time distinguishing a hopper unless you have a near perfect replica of the hopper on your practice field to get training data from. Make sure if you do try to build as visually similar hopper as you can. Definitely an interesting idea, would love to hear the results if you try it!
Reply With Quote
  #7   Spotlight this post!  
Unread Today, 10:39
David Lame David Lame is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Berkley, MI
Posts: 91
David Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the rough
Re: Machine learning?

"Machine Learning" covers a lot of ground, but there are aspects that might work. Heavy emphasis on "might".

On the web you can find a whole lot of tutorials on using a Haar Cascade to recognize faces and other things---but mostly faces, all using opencv My guess is that a hopper has enough similarity to a face that it would be a good candidate. I can't claim to have tried it. My own experience with Haar Cascade training is pretty limited, but it worked with faces. On the other hand, I never got it working with last year's boulders.

To the last post's point, you will need several examples of a real picture of a real hopper.


On the other hand, if your goal is to recognize a hopper, as opposed to studying machine learning, some more traditional HSV filtering, dilation and selection might do a better job of recognizing a hopper. There aren't many big yellow-green areas at hopper height. My own goal is to use that method late in the season to try and dump a hopper during autonomous, but that's weeks ahead. At our first competition I will just be recording video to use as training images.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi