andrewda / frc-score-detection

A program to detect FRC match scores from their livestream.
GNU General Public License v3.0
15 stars 2 forks source link

Added command line options: Fixes #6 #8

Closed snowsignal closed 7 years ago

snowsignal commented 7 years ago

This fixes Issue #6. I added command line options. The current options are --skipframes , --read_from , --usestream (which will be used in the future), and --help (which shows the options). I might need to add more later, but this looks good for now. I tested all of them, and they all work.

I also changed the frame-skipping system. The previous system caused some errors for me, and it seems that cap.read() allows a way to read just as fast as the previous system.

andrewda commented 7 years ago

Awesome! I'm on my phone rn but I'll test and merge when I get home in a couple hours. Thanks!

snowsignal commented 7 years ago

Ok! Let me know if any problems occur.

andrewda commented 7 years ago

Alright tested and looks good! I split this up into two separate commits and they landed in 5b1a665c7b53f95088bc3eb2e55fc652afc72e74 and 28116959476ce52db841609b54d1dadb6c9117d5. Thanks! 👍

andrewda commented 7 years ago

Whoops, disregard the last two commit references, I meant to reference issue 12 but typed 8 because my fingers have a mind of their own...