Coder Social home page Coder Social logo

richardmiruka / aronayub-custom-data-licence-plate-detection-using-yolo-v8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aronayub/aronayub-custom-data-licence-plate-detection-using-yolo-v8

0.0 0.0 0.0 15.61 MB

Train Custom Model using YOLOV8

License: Other

Shell 0.59% Python 65.64% Jupyter Notebook 33.77%

aronayub-custom-data-licence-plate-detection-using-yolo-v8's Introduction

Custom data sets Licence-Plate-Detection-using-YOLO-V8 + Raspberry Pi

  • The main steps involved:
  • <> Data logistics
  • <> Training the data
  • <> Optimizing the model
  • <> Integrating with RPI

Data Sources:

  • There are two datasets that you can use:
  1. 390 images
  2. 1001 images
  • Open Notebook file and run the commands sequentially.
  • Connect to T4 GPU under resources on the right side.
image
  • Under this section: edit the API Key fetched from Roboflow.
!pip install roboflow

from roboflow import Roboflow
rf = Roboflow(api_key="apikeyxxx")
project = rf.workspace("mochoye").project("license-plate-detector-ogxxg")
version = project.version(1)
dataset = version.download("yolov8")
  • You can test your model perfomance after training:
 !python /content/Licence-Plate-Detection-and-Recognition-using-YOLO-V8-EasyOCR/ultralytics/yolo/v8/detect/predict.py model='/content/Licence-Plate-Detection-and-Recognition-using-YOLO-V8-EasyOCR/best.pt' source ='directory'
  • the source can be:
  • Live camera
source = 0
  • For images
source = 'directory.png'
  • Use whatever images you have to test the model
  • video
source = 'directory'
  • After training is done, follow the directory to see the test results.
Speed: 0.2ms pre-process, 2.8ms inference, 0.0ms loss, 3.6ms post-process per image
Saving runs/detect/train/predictions.json...
Results saved to runs/detect/train

Integration to RPI

  • <> Now that we have a quantized and trained tested model, let's test it in Raspberry pi.
  • see how to work with Ultralytics on Raspberry Pi.

  • Test the model best.pt

  • This can be done for live camera, image and also video.

Challenge for you

  • Integrate OCR to get detected data.

  • Control GPIO pins after the data is detected.

  • Further studies.

Ultralytics Official Link

aronayub-custom-data-licence-plate-detection-using-yolo-v8's People

Contributors

aronayub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.