I doing the person detection and tracking in 2 zone from a input video. How can i display the output and show in a text file or any file. For example, it can output how many classes and which classes are detected in the 2 different zone in a text file for every frame.
Could you explain a little more about what you’d like to do?
Roboflow outputs its inferences via a JSON format if you’re using the regular Roboflow Inference API. You can save the results of the JSON file locally or create a different type of file for your own use case.
In the meantime, here are some resources that might help:
- Roboflow Blog: How to Count Objects in a Zone
- Roboflow Blog: Track and Count Objects Using YOLOv8