Practical overview
When it fits
Use it when you want a repository-based YOLOv3 workflow for image or video detection, custom labeled-data training, or VOC evaluation, and can work with its Python and TensorFlow code.
Who it is for
- Developers building or adapting object-detection workflows in Python and TensorFlow
- Researchers or practitioners training a YOLOv3 detector on labeled image data
- Users evaluating object detection on the Pascal VOC dataset
Documented uses
- Run object detection on images using the provided demo.
- Process video or camera input for object detection.
- Prepare labeled data and train a detector on a custom dataset.
- Evaluate a detector on VOC data.
- Convert pretrained COCO weights for use with the implementation.
Requirements & limits
The repository is public and specifies the MIT license.
- The README’s setup uses pip dependencies from docs/requirements.txt and provides separate scripts for image and video demos.
- Custom training requires dataset annotations in the repository’s specified bounding-box format and a class-name file.
- The README includes a VOC dataset preparation and evaluation path.
- The README points to a separate TensorFlow 2.0 implementation; this repository should not be assumed to be that version.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up pretrained weights and run an object-detection demo
Prepare the repository’s COCO weights as TensorFlow graph files and start its image or video demo.
Before you start
- A local checkout of the repository
- Python and pip
- Dependencies listed in docs/requirements.txt
- The downloadable YOLOv3 COCO weights
Steps
Clone the repository and install dependencies with pip from docs/requirements.txt.
Download and extract the COCO weights in the checkpoint directory.
Run convert_weight.py and freeze_graph.py from the repository root after returning from checkpoint.
Run image_demo.py or video_demo.py; for camera input, the README says to set video_path to 0.
Expected outcome
The README describes generating .pb files and launching image or video detection demos.
Guide limitations
- Camera use depends on setting video_path in the script.
Prepare a labeled dataset for custom training
Format the annotation and class-name files required by the repository for training on a custom dataset.
Before you start
- Image files for the dataset
- Bounding-box annotations with class IDs
- A class.names file listing the classes
Steps
Create dataset.txt entries with an image path followed by bounding boxes in x_min,y_min,x_max,y_max,class_id format.
Check that each box’s maximum x and y coordinates are less than the image width and height.
Create class.names with one class name per line.
Expected outcome
The two input files required by the README’s custom-dataset training instructions are prepared.
Guide limitations
- This guide covers data-file preparation only; training configuration and execution are separate steps.
- The README does not prescribe a general annotation tool or custom dataset conversion workflow.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- YunYang1994/tensorflow-yolov3 · Official homepage title · retained in its source language

