First off I want to acknowledge that a similar question was asked about 7 years ago. For my senior project I am trying to develop a goal line technology for my club. From what i can find online, my best option would be to use a few PIR sensors. Someone had also mentioned IR LED sensors. The main issue is I need to detect a ball without the sensors going off due to human interference. I was wondering if PIR's would work as the ball shouldn't be the temperature of a human, but due to the force and friction of the pitch should be slightly warmer than the remainder of the area. Thus allowing me to detect a certain temperature level. I'm still learning engineering and plan on studying electrical engineering in college. Any help would be appreciated.
I love my son's senior research projects. And you have suggested a very creative idea.
I am giving you this, and you can go get a patent: Embed a RFID in the ball. That can be a simple Tattle-Tape. On the hoop, goal or whatever, you would put two detectors/antenna. When the second one gets a larger signal, you know the ball passed.
BTW, I believe this is original, but I have not checked.
Orginial Code OpenCv3.0 used python language:
import cv2 import numpy as np cap = cv2.VideoCapture(0) # Use 0 for the default camera line_start = (x1, y1) # Starting point of the line line_end = (x2, y2) # Ending point of the line while True: # Read the current frame ret, frame = cap.read() # Perform operations on the frame # Display the frame cv2.imshow("Frame", frame) # Check for the ball crossing the line # Your code for line crossing detection # Check for the 'q' key to exit the loop if cv2.waitKey(1) & 0xFF == ord('q'): break Okcap.release() cv2.destroyAllWindows()