Documente Academic
Documente Profesional
Documente Cultură
net/publication/267155310
CITATIONS READS
0 1,477
2 authors, including:
Marcin Luckner
Warsaw University of Technology
47 PUBLICATIONS 87 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Variety, Veracity, VaLue: Handling the Multiplicity of Urban Sensors View project
All content following this page was uploaded by Marcin Luckner on 21 October 2014.
1 Introduction
Fig. 1. A professional scoring with a tournament precision. The score is 8.8 in this
case.
Amateurs cannot afford high resolution digital systems. For that reason, the
system was projected for the following minimal requirements:
– an image of a shooting target should be greater than 0.5 Mpix,
– at least whole bull–eye should be visible,
– an angle between a normal of a target plane and an optical axis should be
no more then 30 degree,
– a less should have a small spherical aberration,
– a focus should be comparable with a matrix diagonal,
– a target should be flat, cannot be folded,
– a target should be made from a good quality paper and meets ISSF stan-
dards,
– a pellet should be used for shooting,
– annotations on a target should not be similar to holes.
Described requirements can be satisfied by any amateur camera and a most
of mobile devices.
The described system has three components. The first one is a target detec-
tion, which is described in section 2. The next step is detection of holes and this
problem is discussed in section 3. The last step is analysis of holes. In this step
scoring points of holes are localized. Details are given in section 4.
The algorithm was tested on several amateur photos of targets and section 5
gives the experimental results. The paper is concluded in section 6.
2 Target detection
A target detection includes a localization of its components. The main element
of the target is a bull–eye, which is a central located black circle on a white
background. Rings are additional white (inside the bull–eye) and black (outside
the bull–eye) circles, which separate scoring sections.
Automatic Scoring of Shooting Targets with Tournament Precision 3
Fig. 2. Amateur photos of targets. A photo on the right has an inconsistent illumina-
tion.
Fig. 3. Photos converted to binary images. Bull-eyes in a photo on the right are blurred.
Fig. 4. An edges detection based approach. Detected targets are marked with squares
is checked for each pixel that lies on an edge of detected shape. If almost all
pixels satisfy the condition then the shape is a potential bull–eye. The second
condition that should be satisfied is
max(W, H)
< 2, (3)
min(W, H)
where W and H are width and hight respectively. The results of the algorithm
for the amateur photos (Fig. 2) are shown in Fig. 4.
The detected bull–eye brings local information about a threshold for a bi-
narization. After the binarization a set of point on the bull–eye edge will be a
source of information about a geometry of rings projections.
The set of point on the bull–eye edge determines an approximated shape of the
main ring. After corrections, selected points can be used in a parametrization of
the ring projection.
The bull–eye was detected in the low resolution image. A ring geometry
should be detected in the original photo. For that reason a detected points are
only an approximation. It can be assume that a point from the ring lies on the
line determined by an approximated point and the center of the target. Moreover,
a distance between the points should not be more than 16 of a distance between
rings.
These conditions define a segment that includes the ring point. For the seg-
ment, the value V from HSV color model is calculated in each point. The segment
has the minimum, the maximum, and the average values labeled as Vmin , Vmax ,
Automatic Scoring of Shooting Targets with Tournament Precision 5
Fig. 5. Holes detection. 5(a) A result of the Prewitt operator. 5(b) Hough transforma-
tion results with a significant number of false positives. 5(c) A result of the Prewitt
operator with erased rings. 5(d) Hough transformation results with a reduced number
of false positives.
and Vavg respectively. For a given threshold α ∈ [0, 1] a point from the ring pring
is calculated as
pmin if κ > 1 − α
pring = pmax if κ < α (4)
pdif f if α < κ > 1 − α,
where
Vavg − Vmin
κ= . (5)
Vmax − Vmin
The selected point can be the most brightness pmax , the darkest pmin , or with
the highest difference between neighbors pdif f .
Some points from the set can be taken as a part of the ring by mistake.
To avoid such situation, several ellipses is generated from a random subsets of
points [9]. The created ellipses are evaluated with distance criteria. The best
subset is used in the future works.
A least squares method can be used for points based ellipse parametriza-
tion [10]. However, this method is numerical unstable and a stable solution was
used instead [11].
All rings are projections of circles from a target. Radius of the circles are
known. When parameters of the projected bull–eye are calculated then param-
eters of all ellipses can be also obtained.
3 Holes detection
There should be about ten holes in the target. A hole can be estimated by an
ellipse. Ellipses can be detected using the Hough transformation [7].
The Hough transformation based ellipse center detection is a voting proce-
dure. The point that gets the biggest number of votes wins. All results of Hough
transformations can be ordered by a number of votes given to the center. Among
them twenty best results is taken for the future analysis.
6 Automatic Scoring of Shooting Targets with Tournament Precision
Fig. 6. Holes analysis. From the top: shapes created by the flood fill algorithm, detected
edges, results of Hough transformation, and estimated centers of holes. The most right
example is a false positive.
As an input for the Houg transformation results of the Prewitt operator can
be used. The Prewitt operator is an edges detector that gave the best results
among tested. However, rings, numbers, and other marks in the target have a
significant influence on Hough transformation results. In Fig. 5 an input image
5(a) and Hough transformation results 5(b) are shown. Among the best results is
a significant number of false positives. Moreover, several existing holes is ignored
because their results are placed outside the first twenty.
The results can be improved when detected rings (section 2.2) are erased
from the image. In Fig. 5 an input image with erased rings 5(c) and Hough
transformation results 5(d) are shown. This time a number of false positives is
scanty and all holes are detected.
4 Holes analysis
(a) (b)
Fig. 7. The shooting targets. 7(a) The target with one missed hole. 7(b) The target
with detected all holes and an angle between a normal an optical equals 30 degree.
lated as 60 percent of the best result. All results under the threshold are rejected.
Remaining holes are classified as valid.
5 Results
In this section tests results are described. Two aspects were evaluated. Number
of detected holes and a quality of estimated score.
6 Conclusions
In the paper an issue of automatic scoring of shooting target was described. The
proposed solution divides the issue into three problems: a target detection, a
holes detection, and a hole analysis.
The target detection based on a set of several basic algorithms works de-
pendable. The detection localizes targets on amateur photos if only minimal
requirements are satisfied.
The implemented the Hough transformation based hole detection finds 99
percent of holes in photos of a resolution at least 1MPix. Among detected holes
are false positive responses. Additional analysis eliminates most of them, but the
detection of positive inputs is reduced to 92 percent. An improvement of this
analysis is an aim of the future works.
The tests proved that the average error for the automatic score estimation
is 0.05 points. For over 91 percent of holes the error is less then 0.1 points,
which is a typical scoring precision and similar to results of stationary systems
for professional shooters.
Low minimum requirements for processed images create a possibility of de-
veloping the described application on mobile devices. In such case, it can be a
handy application for amateur shooters.
10 Automatic Scoring of Shooting Targets with Tournament Precision
References
1. Ali, F., Bin Mansoor, A.: Computer vision based automatic scoring of shooting
targets. In: Multitopic Conference, 2008. INMIC 2008. IEEE International. pp.
515 –519 (dec 2008)
2. Aviatronic Ltd.: SmartSCORE Users Manual (2005),
http://www.smartscore.hu/kep/users_manual_en.pdf
3. C. Sanctuary, A. Sean, S.R.H.: Remote strafe scoring system. United States Patent
4813877 (1989)
4. Chia, A., Leung, M., Eng, H.L., Rahardja, S.: Ellipse detection with hough trans-
form in one dimensional parametric space. In: Image Processing, 2007. ICIP 2007.
IEEE International Conference on. vol. 5, pp. V –333 –V –336 (16 2007-oct 19
2007)
5. Davies, E., Barker, S.: An analysis of hole detection schemes. pp. 285–290 (1990)
6. DISAG-INTERNATIONAL: DISAG RM IV operating instruction (2005),
http://www.disag.de/download/manuals/rmiv_en.pdf
7. Duda, R.O., Hart, P.E.: Use of the hough transformation to detect
lines and curves in pictures. Commun. ACM 15(1), 11–15 (Jan 1972),
http://doi.acm.org/10.1145/361237.361242
8. Fan, X., Cheng, Q., Ding, P., Zhang, X.: Design of automatic target-scoring system
of shooting game based on computer vision. In: Automation and Logistics, 2009.
ICAL ’09. IEEE International Conference on. pp. 825 –830 (aug 2009)
9. Fichler, M., Bolles, R.: Random sample consensus: A paradigm for model fitting
with applications to image analysis and automated cartography (1980)
10. Fitzgibbon, A. W.and Pilu, M., Fisher, R.B.: Direct least-squares fitting of ellipses
21(5), 476–480 (May 1999)
11. Halir, R., Flusser, J.: Numerically Stable Direct Least Squares Fitting of Ellipses
(1998), http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.1.7559
12. SIUS ASCOR: Electronic Scoring systems (2010),
http://www.sius.com/downloads/docu/Usermanual_System7_e.pdf