Answers.Body: <p>Theoretically, sure, it is probably possible to devise a computer program that could recognize the ball entering the goal and cut video around it, however this would have to be custom computer vision code and not something that would be generally available to the public.  </p>
  
  <p>It probably isn't as simple as just a motion trigger either since it needs to be something just the right size moving.  It would also be exceptionally hard to tell a goal attempt apart from a goal, though perhaps you could have it watch the net for movement using security camera software or something related assuming that the net is otherwise pretty static (and depending on your angle).</p>
  
  <p>Overall, I wouldn't expect the greatest of results from such a system though.  It sounds problematic at best, even if you can get it working in the first place.</p>
  
  <p>If you can synchronize a clock with the start of the recording, your better bet may be to hit a button during the game to take note of the time each time a goal is made and then try feeding the list of times in to a scripting based video editor that can cut 15 seconds before the goal and a few seconds after from the video and put them all together.  It's probably less work to get configured and more reliable, but it still would be a fair bit of work to do.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-30T21:21:04.013Z
Answers.Text: Thanks for reading my mind and answering my follow up question regarding recording goal times.
Answers.UserDisplayName: Alper
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-29T17:14:24.657Z
Answers.LastActivityDate: 2014-09-29T17:14:24.657Z
Answers.UserDisplayName: AJ Henderson
Answers.Body: <p>Well, theoretically yes. You can do that with OpenCV but its not an easy task and as long as this isn't a commercial project that promises to give you a substantial amount of money, it's absolutely not worth the time effort.</p>
  
  <p>There is no video editor that would let you do this in a short amount of time in a GUI.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-09-29T17:15:54.747Z
Answers.LastActivityDate: 2014-09-29T17:15:54.747Z
Answers.UserDisplayName: timonsku
Body: <p>Given a video of a soccer/futbol match recorded from a single camcorder. Is there any way to create a highlights video that would only show the goals?</p>
  
  <p>Since the view is static, is it possible to say something like "every time the ball is in either one of the goals, go back three 3 seconds create a clip of the goal". Do it for every goal scored and then merge those goal clips to create the goal highlights.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>
  
Tags: <editing>
Title: Is it possible to automatically generate highlights from video?
UserDisplayName: Alper
ThreadText: # Is it possible to automatically generate highlights from video?
  
  (Asked by: username_0 on 2014-09-29)
  
  Given a video of a soccer/futbol match recorded from a single camcorder. Is there any way to create a highlights video that would only show the goals?
  
  Since the view is static, is it possible to say something like "every time the ball is in either one of the goals, go back three 3 seconds create a clip of the goal". Do it for every goal scored and then merge those goal clips to create the goal highlights.
  
  Any ideas?
  
  Thanks.
  
  **Tags:** editing
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-09-29. Score: 2 | Accepted answer
  
  Theoretically, sure, it is probably possible to devise a computer program that could recognize the ball entering the goal and cut video around it, however this would have to be custom computer vision code and not something that would be generally available to the public.
  
  It probably isn't as simple as just a motion trigger either since it needs to be something just the right size moving. It would also be exceptionally hard to tell a goal attempt apart from a goal, though perhaps you could have it watch the net for movement using security camera software or something related assuming that the net is otherwise pretty static (and depending on your angle).
  
  Overall, I wouldn't expect the greatest of results from such a system though. It sounds problematic at best, even if you can get it working in the first place.
  
  If you can synchronize a clock with the start of the recording, your better bet may be to hit a button during the game to take note of the time each time a goal is made and then try feeding the list of times in to a scripting based video editor that can cut 15 seconds before the goal and a few seconds after from the video and put them all together. It's probably less work to get configured and more reliable, but it still would be a fair bit of work to do.
  
  > **Comments:**
  > **username_0**: Thanks for reading my mind and answering my follow up question regarding recording goal times.  
  
  ---
  
  ### Answer by username_2 on 2014-09-29. Score: 2
  
  Well, theoretically yes. You can do that with OpenCV but its not an easy task and as long as this isn't a commercial project that promises to give you a substantial amount of money, it's absolutely not worth the time effort.
  
  There is no video editor that would let you do this in a short amount of time in a GUI.
  
  
  ---
  
  