Go to Post You know this crazy ChiefDelphi... nothing but useless information and kids ranting about pizza. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Other > FIRST-related Organizations > The Blue Alliance
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 25-04-2010, 14:57
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 409
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
[TBA]: Automated match parsing

As suggested by Greg Marra, this thread is to discuss a system to automatically parse matches.

I had initially suggested using the match audio to detect the beginning and end of the matches. The reason for this is that the audio is always available, and the audio markers are well-known. Also, the audio has a much low data rate than the video, which theoretically means that it requires less processing. I happen to be taking a class in digital signal processing, so I have a couple ideas of how to actually implement this.

On the other hand, Greg has mentioned a LabVIEW VI in the works which is able to work based on the match progress bar on the bottom of the screen. There is less noise in the video, so it should be somewhat more reliable than audio. However, I have seen instances where the progress bar wasn't shown for the first few seconds of the match. Presumably, a video-based method could also parse the text on the bar and automatically grab the regional code and match number.

Obviously, if we could get some kind of feed from the FMS, that would be even better.

Thoughts or ideas?
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
Reply With Quote
  #2   Spotlight this post!  
Unread 25-04-2010, 15:09
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,580
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: [TBA]: Automated match parsing

Video is nice if you always take it straight from the webcast, but some matches don't have the score at the bottom (galileo video had this problem) and others are filmed from afar, so there's merit to implementing both tools for auto-parsing.

Now the real cool thing to do would be to implement both, and use them simultaneously to parse video and line up audio-video mismatches.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #3   Spotlight this post!  
Unread 07-11-2012, 01:53
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 409
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: [TBA]: Automated match parsing

I dug up my two-year-old audio parsing code today, and figured I should share it - what better place than the corresponding two-year-old CD thread?

Here it is: http://stanford.edu/~sebell/tmp/findaudiomarkers.zip

The code is a simple script that reads an audio marker and can generate a noisy audio clip with the audio embedded. From there, it uses cross-correlation to locate the marker within the clip. Test data includes a couple clips from a real match, and it appears to work correctly on this data.

It's written in MATLAB, but should run with Octave. Anyone here is welcome to use and extend it. Let me know if you have questions or suggestions!
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...

Last edited by StevenB : 07-11-2012 at 19:29. Reason: Fixed link
Reply With Quote
  #4   Spotlight this post!  
Unread 07-11-2012, 19:26
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,112
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: [TBA]: Automated match parsing

Quote:
Originally Posted by StevenB;1193143Here it is: [URL="http://stanford.edu/~sebell/findaudiomarkers.zip"
http://stanford.edu/~sebell/findaudiomarkers.zip[/url]
This looks great, and it'll make some match clipping I've been procrastinating much easier, but the page 404'd for me...
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #5   Spotlight this post!  
Unread 07-11-2012, 19:29
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 409
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: [TBA]: Automated match parsing

Fixed the link. Sorry about that.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
Reply With Quote
  #6   Spotlight this post!  
Unread 08-11-2012, 08:23
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,064
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: [TBA]: Automated match parsing

Another lower-tech option would be the following:

I am reasonably certain that the FIRST website currently publishes the actual match start times with minute precision. Assuming timestamped video (if it isn't timestamped, you would need to manually align the start time to a known reference), you can use these start times to split the video (worst case :59 of dead air before the match starts). If there is clock misalignment between the published start time and the video time sync, you would very quickly (once per event) calculate the offset.

You could also use this system in conjunction with an audio/visual classifier so that your algorithm knows which sounds map to which match.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[TBA]: Parsing Newton, Curie Greg Marra The Blue Alliance 9 20-04-2009 14:22
[TBA]: Parsing Hawaii Greg Marra Video Archives 5 22-04-2008 23:07
[TBA]: Parsing New Hampshire Footage Jonathan Norris Video Archives 9 05-03-2008 23:42
[TBA]: Live Match Updates Greg Marra The Blue Alliance 2 01-03-2008 13:39
Parsing usfirst Match Data Jack Scouting 0 08-03-2003 02:00


All times are GMT -5. The time now is 02:27.

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