This Python script utilizes the Ultralytics YOLO model in conjunction with OpenCV and CvZone to detect various security features on Philippine peso bills.
-
Detects multiple security elements such as:
- Concealed Value
- Security Thread
- See-through Mark
- Serial Number
- Value
- Watermark
-
Visualizes detections with bounding boxes and labels.
- Python 3.7 or higher
- OpenCV
- CvZone
- Ultralytics YOLO
Install the required packages using pip:
pip install opencv-python cvzone ultralytics
- Place your target image in the image/ directory.
- Ensure your YOLO model weights (money.pt) are located in the weights/ directory.
- Run the script:
pythin main.py