Spaces:
Sleeping
Sleeping
import cv2 | |
def run(frames): | |
results = [] | |
for frame in frames: | |
annotated = frame.copy() | |
cv2.putText(annotated, "Tree Height", (10, 40), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 0), 2) | |
results.append(annotated) | |
return results | |