top of page
Search

Project 6a - Object detection II, OCR

  • Writer: James Canova
    James Canova
  • Sep 5, 2021
  • 1 min read

Project start: 4 January 2022

Project finish: 10 January 2022


Objective: to use optical character recognition (OCR) software to read a vehicle licence plate from an image that has been cropped so it is the only object in the image


The software employed is called pytesseract.


installation:


outside VEnv:


cd $HOME
sudo apt-get install libleptonica-dev
sudo apt-get install tesseract-ocr 
sudo apt-get install libtesseract-dev

edit the .bashrc file which is a hidden file in the HOME directory:


export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/home/james/Public/Projects/myPython36VEnv/bin"


inside VEnv:


(myPython36VEnv) james@myB01:~/Public/Projects$ pip3 install -U pytesseract

The following .zip file contains a Jupyter Notebook program and a test image (to run Jupyter Notebook, type jupyter-notebook):


james@myB01:~/Public/Projects/project_6a$ tree -L 2

├── project_6a_V1.ipynb

└── test_images

└── bc_licence_plate_V0.jpg










If you have any problems or need clarification please contact me: jscanova@gmail.com

 
 
 

Recent Posts

See All
Introduction

I became interested in artificial intelligence in mid 2021 after watching a documentary on this subject. In particular, I'm interested in...

 
 
 
References

1.Rashid, Tariq, Make Your Own Neural Network , Amazon , 2016 2.Portilla, Jose, "Python for Computer Vision with OpenCV and Deep...

 
 
 
Status of Projects

Last updated: 30 March 2024 Project 0: Read this to get a very basic understating on machine learning and neural networks. Project 1:...

 
 
 

Comments


Post: Blog posts

©2021 by My Machine Learning Blog. Proudly created with Wix.com

bottom of page