BIG UPDATE! We're rolling to V1.4! (Note, latest release can always be found at the top of https://github.com/zaren171/RepliShot/releases).
Config File
The big changes include the addition of a config file! You can save your current config (using ball, always on top, etc.) and it will auto load the next time you run Replishot. The file saves with the name config.ini if you want to manually edit it. If you want to change the set of clubs in the dropdown menu, you'll have to edit it by hand. You'll just change True or False at the end of the line for a given club. Here's a couple example lines:
Driver=True
2Wood=False
3Wood=True
4Wood=False
If it says True then the club will show up in the list, if it says False it wont. Also, if there is no config.ini file, Replishot will use a "default setup" with a club set that matches the default club setup in TGC2019.
Front Sensor
The front sensor is now split into 3 regions. The top and bottom will change the club, and the middle will change the shot shape (pressing c key).
Lock Step Mode
This is probably the biggest change. You can now put Replishot in lock step mode. There are two main changes in lockstep mode. First, when you run your club over the front sensor to change clubs the club will be changed in Replishot AND in TGC2019. In addition, Replishot now performs OCR using Tesseract. What that means is that Replishot will now attempt to read the club selected in TGC2019 off the screen! This does use a bit more computing power, so if things are running slow you'll probably want to turn Lock Step mode off. Anyway, Replishot captures the top right portion of the screen and passes the screenshot through Tesseract which attempts to pull out all text there and pass it back. If Replishot finds a club name in the returned data then it will snap the club selection to that club! This means that when TGC2019 auto-selects a club for a shot Replishot should automatically update to the same club. Not the club you want? Swiping a club over the front sensor will change the club in Replishot AND TGC2019 when in lockstep mode. I'll note that the OCR function has a 1 second sleep between calls, so it can take a few seconds for results to show up. If Replishot is not automatically updated to match the TGC club I find that change the club (swiping over the front sensor) to different clubs can sometimes help. Once OCR catches a club and Replishot and TGC2019 match again then front sensor can be used to get back to the club you want for your next shot. Play around with it a bit, it's great!
Conclusion
The latest update of Replishot brings some big changes. Things are getting close to the point where you ideally won't have to interact with the Replishot program, and can even do most of what you need from the Optishot without needing to touch your computer! I'm still working on a good method for aiming left to right.
The readme contains (or at least is supposed to) additional information to what I've shared here, so feel free to give it a read and hopefully it'll answer any questions. If you do have a question, please ask!
Config File
The big changes include the addition of a config file! You can save your current config (using ball, always on top, etc.) and it will auto load the next time you run Replishot. The file saves with the name config.ini if you want to manually edit it. If you want to change the set of clubs in the dropdown menu, you'll have to edit it by hand. You'll just change True or False at the end of the line for a given club. Here's a couple example lines:
Driver=True
2Wood=False
3Wood=True
4Wood=False
If it says True then the club will show up in the list, if it says False it wont. Also, if there is no config.ini file, Replishot will use a "default setup" with a club set that matches the default club setup in TGC2019.
Front Sensor
The front sensor is now split into 3 regions. The top and bottom will change the club, and the middle will change the shot shape (pressing c key).
Lock Step Mode
This is probably the biggest change. You can now put Replishot in lock step mode. There are two main changes in lockstep mode. First, when you run your club over the front sensor to change clubs the club will be changed in Replishot AND in TGC2019. In addition, Replishot now performs OCR using Tesseract. What that means is that Replishot will now attempt to read the club selected in TGC2019 off the screen! This does use a bit more computing power, so if things are running slow you'll probably want to turn Lock Step mode off. Anyway, Replishot captures the top right portion of the screen and passes the screenshot through Tesseract which attempts to pull out all text there and pass it back. If Replishot finds a club name in the returned data then it will snap the club selection to that club! This means that when TGC2019 auto-selects a club for a shot Replishot should automatically update to the same club. Not the club you want? Swiping a club over the front sensor will change the club in Replishot AND TGC2019 when in lockstep mode. I'll note that the OCR function has a 1 second sleep between calls, so it can take a few seconds for results to show up. If Replishot is not automatically updated to match the TGC club I find that change the club (swiping over the front sensor) to different clubs can sometimes help. Once OCR catches a club and Replishot and TGC2019 match again then front sensor can be used to get back to the club you want for your next shot. Play around with it a bit, it's great!
Conclusion
The latest update of Replishot brings some big changes. Things are getting close to the point where you ideally won't have to interact with the Replishot program, and can even do most of what you need from the Optishot without needing to touch your computer! I'm still working on a good method for aiming left to right.
The readme contains (or at least is supposed to) additional information to what I've shared here, so feel free to give it a read and hopefully it'll answer any questions. If you do have a question, please ask!
Comment