IDSL_Duplication / models /bridge_detector.py
SathvikGanta's picture
Upload 12 files
44883c8 verified
raw
history blame contribute delete
262 Bytes
import cv2
def run(frames):
results = []
for frame in frames:
annotated = frame.copy()
cv2.putText(annotated, "Bridge Detected", (10, 40), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 0), 2)
results.append(annotated)
return results