Giter Club home page Giter Club logo

alpr-project's Introduction

ALPR-Project

Project untuk mendeteksi dan membaca nomor plat Indonesia

Gambar ALPR

Plate Number Recognition adalah aplikasi yang di tulis dalam python, opencv, openalpr dan Tesseract. Aplikasi ini dapat menganalisis gambar maupun video yang di dalamnya terdapat gambar plat yang kemudian di identifikasikan dengan output string.

Depedencies :

Usage :

  1. Mengatur masukan source yang akan dideteksi pada file vid.py

    Line 19-20 : Masukan berupa video stream

    Line 21 : Masukan berupa video maupun gambar

    Line 22 : Masukan berupa video dari webcam PC

  2. Menjalan aplikasi menggunakan terminal(ubuntu)/CMD(windows) di dalam direktori aplikasi command: $ python vid.py

Cara untuk menambahkan sampel foto ke train detector:

  1. Download repositorynya

  2. Crop plat pada foto

  3. Hasil crop tersebut diberi nama sesuai dengan nomor plat yang di crop seperti contoh,anda sedang memotong foto untuk plat AB 4413 DW, maka hasil tersebut diberi nama “AB4413DW”,dan harus konsisten memberi format gambar jika JPG maka JPG semua jika PNG maka PNG semua

  4. Kemudian hasil crop di masukan di 1 folder yang sama

  5. Kemudian Edit file Prep.py ,kemudian ke Line-31 edit menjadi “BASE_DIT + [Folder tempat menyimpan hasil crop] +’/’ ”

  6. Kemudian buka terminal di directory train-detector

  7. Jalankan command-command ini:

      •	rm ./out/* (Menghapus isi directory ‘out’)
   
      •	./prep.py neg (menyiapkan gambar negatif)
   
      •	./prep.py pos (menyiapkan gambar positif)
   
      •	./prep.py train (mempersiapkan training data)
   
      •	Setelah prep.py dijalankan maka terdapat command yang siap dijalankan kembali,lalu copy-paste command tersebut, sebelum dijalankan command tersebut ubahlah stages menjadi maksimal 11, kemudian ubah nilai numPos ¼ dari total gambar yang ingin di train kemudian enter.
   
      •	Kemudian hasil dari train tersebut bisa di lihat di directory out, kemudian copy cascade.xml ke runtime anda.

Kekurangan dari aplikasi ini adalah kurangnya keakuratan dari pendeteksian plat itu, penyebabnya adalah kurangnya sampel foto plat yang saat ini di gunakan baru sekitar 2400 sampel foto yang jika di lihat dari sampel foto negara yang sudah jadi sekitar 8000 sampel foto.

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.