If you are looking for some sort of image processing approach for generating statistics, this is not it.
This has only been tested on Debian 10, with a little ingenuity I'm sure that it could work on other platforms which I'm less interested in.
You will need python, python-matplotlib and Octave.
This looks complex but really only takes a couple of minutes once you are used to the process.
-
Obtain a new target face.
-
Shoot some arrows at it.
-
Take a picture of the target face with your mobile phone, try to keep the phone vertical and ensure that the outer circle of the target is completely within the frame.
-
By downloading from Google Photos, or by other means, get the photograph into this directory.
-
From a command prompt in this directory, run the following command but use your own target JPG file in place of mine
python picker.py IMG_20200614_122251650.jpg > IMG_20200614_122251650.jpg.points
-
The picker program will display your target photograph in a window. It's best to maximise that window before you go any further.
-
It's important that the program understands the dimensions of the target. In order to inform the program left click first on the precise center of the target, then at the point on the outer circle directly above that, then on the point on the outer circle to the right of the center, then the point at the bottom of the outer circle then at the left.
-
That's center, top, right, bottom, left. Essentially center then clockwise around the outer ring.
-
If you make a mistake at any point, it seems as if you can press delete to undo.
-
Having made an accurate selection of the first three points, click on every arrow hole in the target. The numbers in the diagram above show the order - it is important to get that right.
-
Press [Enter], then close the Matplotlib window - I do that by pressing 'q'
-
If you cat the .points file then it should contain two columns of numbers.
-
Again from a command line prompt in this directory, type this but with your newly created .points file:
octave post.m IMG_20200614_122251650.jpg.points
-
This will create two new files in the directory, in my case:
IMG_20200614_122251650.jpg.points.png IMG_20200614_122251650.jpg.points.stats
-
The first of those is a plot of the target with the arrow marks, the title summarises the stats. There should be a green dot at the mean position, a blue ellipse for the standard deviation and red dots for the arrow holes.
-
The second is just a dump of the octave variables, in case you'd like to do some more maths.
I hope you are better at archery than I am.