CAR: Computerized Assistant Referee for Determining the Offside Rule in Soccer by Using Computer Vision

  • Jaime MorenoEmail author
  • Joshua Romero
  • Oswaldo Morales
  • Ricardo Tejeida
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 869)


In this document, we present a methodology in order to create an assistant for determining the offside using computer vision from processes of segmentation and object detection from captured using a webcam pictures which was within a space of controlled lighting. Thus, obtaining an image of the field in which the elements that are in it, and the distances they occupy within the image to thereby obtain the existence of offside is determined. For this approach, possibility is to know the theoretical elements necessary to determine the offside-rule in soccer, as well as the principles of computer vision necessary to perform image capture, segmentation and object detection as well as the tools necessary for its implementation.


Computer vision Histogram of oriented gradient Segmentation Object detection Image capture 



This work is supported by the Secretary of Research and Postgraduate Studies (Secretaría de Investigación y Posgrado) of National Polytechnic Institute of Mexico (Instituto Politécnico Nacional, México) by means of Project SIP-20180514. Also, this work is supported by the Commission of Operation and Promotion of Academic Activities (COFAA, Comisión de Operación y Fomento de Actividades Académicas del IPN) and National Council of Science and Technology of Mexico (CONACyT, Consejo Nacional de Ciencia y Tecnología de México) by means of National Research System (Sistema Nacional de Investigadores) grants No. 56739 (Dr. Moreno), 32772 (Dr. Morales), and 335839 (Dr. Tejeida). Furthermore, this article is part of the degree’s thesis of the BEIFI grant holder Joshua Romero Tapia, directed by the Ph.D. Jess Jaime Moreno Escobar. We also thank Eng. Isabel Meraz for her logistical and technical support; as well as to the reviewers who applied their worthy knowledge in order to improve this paper.


  1. 1.
    FIFA, Reglas de Juego 2015/2016, FIFA, FIFA-Strasse 20 Apdo. postal 8044 Zrich Suiza (2015)Google Scholar
  2. 2.
    Google. Google [Online]. Available
  3. 3.
    Gholami, A., Bigham, B.S.: A learned soccer goalkeeper Petri net model. In: 2017 Artificial Intelligence and Robotics (IRANOPEN), Apr 2017, pp. 102–108Google Scholar
  4. 4.
    Yao, Q., Kubota, A., Kawakita, K., Nonaka, K., Sankoh, H., Naito, S.: Fast camera self-calibration for synthesizing free viewpoint soccer video. In: 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Mar 2017, pp. 1612–1616Google Scholar
  5. 5.
    Leong, L.H., Zulkifley, M.A., Hussain, A.B.: Computer vision approach to automatic linesman. In: 2014 IEEE 10th International Colloquium on Signal Processing and its Applications, Mar 2014, pp. 212–215Google Scholar
  6. 6.
    Wong, P.K.C.: Developing an intelligent assistant for table tennis umpires. In: First Asia International Conference on Modelling Simulation (AMS’07), Mar 2007, pp. 340–345Google Scholar
  7. 7.
    Hardegger, M., Ledergerber, B., Mutter, S., Vogt, C., Seiter, J., Calatroni, A., Trster, G.: Sensor technology for ice hockey and skating. In: 2015 IEEE 12th International Conference on Wearable and Implantable Body Sensor Networks (BSN), June 2015, pp. 1–6Google Scholar
  8. 8.
    Pileggi, H., Stolper, C.D., Boyle, J.M., Stasko, J.T.: Snapshot: visualization to propel ice hockey analytics. IEEE Trans. Visual. Comput. Graphics 18(12), 2819–2828 (2012)CrossRefGoogle Scholar
  9. 9.
    Yu, X., Leong, H.W., Xu, C., Tian, Q.: Trajectory-based ball detection and tracking in broadcast soccer video. IEEE Trans. Multimedia 8, 1164–1178 (2006)CrossRefGoogle Scholar
  10. 10.
    Song, X., Zhou, Z., Guo, H., Zhao, X., Zhang, H.: Adaptive retinex algorithm based on genetic algorithm and human visual system. In: 2016 8th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), vol. 01, Aug 2016, pp. 183–186Google Scholar
  11. 11.
    Aribowo, A., Gunawan, G., Tjahyadi, H.: Adaptive edge detection and histogram color segmentation for centralized vision of soccer robot. In: 2016 International Conference on Informatics and Computing (ICIC), Oct 2016, pp. 49–54Google Scholar
  12. 12.
    Lee, J., Lee, J., Moon, S., Nam, D.: A study on motion recognition of objects in soccer game. In: 2017 19th International Conference on Advanced Communication Technology (ICACT), Feb 2017, pp. 890–893Google Scholar
  13. 13.
    Sucar, L.E., Gmez, G.: Visin Computacional, p. y. E. Instituto Nacional de Astrofisica, Ed. (2011)Google Scholar
  14. 14.
    Histogram of oriented gradients (hog) descriptor. Intel Developer Zone [Online]. Available

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Jaime Moreno
    • 1
    Email author
  • Joshua Romero
    • 1
  • Oswaldo Morales
    • 1
  • Ricardo Tejeida
    • 2
  1. 1.Escuela Superior de Ingeniería Mecánica y EléctricaInstituto Politécnico NacionalMexicoMexico
  2. 2.Escuela Superior de TurismoInstituto Politécnico NacionalMexicoMexico

Personalised recommendations