These docs are public and open source.Edit on GitHub
RC.VISION
The vision module provides object detections from the model running on the car.
METHODS
EXAMPLE USAGE
pythonimport racecar_core rc = racecar_core.create_racecar() def start(): pass def update(): for det in rc.vision.get_detections(): cx, cy, w, h = det.bbox print(f"{det.class_id} at ({cx}, {cy}), score {det.score:.2f}") rc.set_start_update(start, update) rc.go()
For full documentation, visit the racecar-neo-library documentation.
