Splatt! - a DIY target shooter training system
Posted: Fri Jul 12, 2024 3:28 pm
Hi all,
I've just joined this forum. I wanted to tell more people about the DIY target shooter training system I've been working on. I've been posting about it on the Stirton forum for about a year, and after a bit of a lull I've picked up the project again and knocked it into a semi-usable state...as a proof-of-concept anyway.
The gist of it is that it uses a cheap webcam and a light source to track where the rifle is pointing. The webcam can either be attached to the rifle looking at a fixed-position light source, or the webcam can be static with the light source (eg a laser) attached to the rifle. Ideally the webcam has a filter on it so only the light source of interest is picked up. In my prototyping I've chosen an infra-red LED as the point source, an IR-sensitive webcam (which most are) with a filter over it so only the IR light is seen by the webcam.
A calibration routine is performed when commencing firing - this can be based on the average of a number of shots taken for dry-firing practice, or it can be manually adjusted to match where the shots land in live-firing.
Once calibration is complete the program enters training mode. The shooter's movement is scaled up to represent where shots would land at the 'real' distance, and scores awarded based on this.
It's all extremely non-user-friendly at the moment, I'm afraid. It's written in Python, and requires various modules to be installed for it to work. Configuration is all done by a text file, and control is via the keyboard - no nice user interface...yet. Having said that, anyone with a moderate amount of computer skills should be able to get it up and running.
My next step is to start using what I've created so far to see what improvements can be made so that it can be used as-is either by the shooter or a coach. If it works well I'd like to add a better interface and make it much simpler to install.
I'd love to add a GUI and make it easily installable. It might just about be possible to get it working as a web page in any modern browser - I've just started some early investigations into this.
The project is open-source and available on Github here, where there is some additional documentation and instructions. I'm more than happy for anyone to help contribute or assist with the project - although I work in IT, I'm not a programmer by trade; I'm just an enthusiastic dabbler whose daft ideas get the better of him sometimes! But, I'm sure with a bit of work it could be a really useful and (mostly) free tool.
I am, of course, aware that commercial solutions for this exist, and I've been sorely tempted to buy one...but I can't really justify the cost. My project has been developed from scratch, and mostly for my own amusement and learning.
Best wishes,
Iain
I've just joined this forum. I wanted to tell more people about the DIY target shooter training system I've been working on. I've been posting about it on the Stirton forum for about a year, and after a bit of a lull I've picked up the project again and knocked it into a semi-usable state...as a proof-of-concept anyway.
The gist of it is that it uses a cheap webcam and a light source to track where the rifle is pointing. The webcam can either be attached to the rifle looking at a fixed-position light source, or the webcam can be static with the light source (eg a laser) attached to the rifle. Ideally the webcam has a filter on it so only the light source of interest is picked up. In my prototyping I've chosen an infra-red LED as the point source, an IR-sensitive webcam (which most are) with a filter over it so only the IR light is seen by the webcam.
A calibration routine is performed when commencing firing - this can be based on the average of a number of shots taken for dry-firing practice, or it can be manually adjusted to match where the shots land in live-firing.
Once calibration is complete the program enters training mode. The shooter's movement is scaled up to represent where shots would land at the 'real' distance, and scores awarded based on this.
It's all extremely non-user-friendly at the moment, I'm afraid. It's written in Python, and requires various modules to be installed for it to work. Configuration is all done by a text file, and control is via the keyboard - no nice user interface...yet. Having said that, anyone with a moderate amount of computer skills should be able to get it up and running.
My next step is to start using what I've created so far to see what improvements can be made so that it can be used as-is either by the shooter or a coach. If it works well I'd like to add a better interface and make it much simpler to install.
I'd love to add a GUI and make it easily installable. It might just about be possible to get it working as a web page in any modern browser - I've just started some early investigations into this.
The project is open-source and available on Github here, where there is some additional documentation and instructions. I'm more than happy for anyone to help contribute or assist with the project - although I work in IT, I'm not a programmer by trade; I'm just an enthusiastic dabbler whose daft ideas get the better of him sometimes! But, I'm sure with a bit of work it could be a really useful and (mostly) free tool.
I am, of course, aware that commercial solutions for this exist, and I've been sorely tempted to buy one...but I can't really justify the cost. My project has been developed from scratch, and mostly for my own amusement and learning.
Best wishes,
Iain