This guide walks you through every step needed to get DetectorPlacas running on your machine — from installing the correct Python packages to placing model files in the exact locations the scripts expect. Follow each step in order and your environment will be ready to detect license plates in images, video, or a live webcam feed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/oktopuzSlid/detectorPlacas/llms.txt
Use this file to discover all available pages before exploring further.
System Requirements
- Python 3.6 or 3.7 — required for compatibility with TensorFlow 1.15
- pip — for installing Python packages
- CUDA-capable GPU (optional) — accelerates inference; CPU-only execution is supported
Install the TensorFlow Object Detection API
All three detection scripts import directly from Clone the TensorFlow Models repository and install the research package:Alternatively, add the research directory to your
object_detection.utils:PYTHONPATH without installing:Arrange project files
Every script calls
os.getcwd() and builds all paths relative to that directory. MODEL_NAME = 'inference_graph' is hardcoded in all three detection scripts, so the inference_graph/ folder must sit directly inside your project root.Your project root must be laid out as follows:Create labelmap.pbtxt
All scripts set Save this file as
NUM_CLASSES = 1. Your label map file must define exactly one class — license_plate — in the following format:labelmap.pbtxt in the project root. The path is constructed at runtime as os.path.join(CWD_PATH, 'labelmap.pbtxt').The
checkpoint file in the repository contains two lines that point TensorFlow’s checkpoint reader to the correct model weights: