Echo Dot (3rd Gen) - Smart speaker with Alexa - Charcoal

Use your voice to play a song, artist, or genre through Amazon Music, Apple Music, Spotify, Pandora, and others. With compatible Echo devices in different rooms, you can fill your whole home with music.

Buy Now

Wireless Rechargeable Battery Powered WiFi Camera.

Wireless Rechargeable Battery Powered WiFi Camera is home security camera system lets you listen in and talk back through the built in speaker and microphone that work directly through your iPhone or Android Mic.

Buy Now

Build an object detection model to identify license plates from images of cars – IBM Developer

0
102


Summary

In this code pattern, learn how to use optical character recognition (OCR) and the PowerAI Vision object recognition service to identify and read license plates.

Description

Using PowerAI Vision and the Custom Inference Scripts, you can build an object detection model to identify license plates from images of cars. The models in the PowerAI Vision object recognition service can identify portions of images that represent a license plate. Then, the post custom inference script can crop this area and use open source to perform OCR on the text to return the license plate. This use case is ideal for automated gate access control in areas such as workplaces, apartment complexes, or mall parking lots.

When you have completed this code pattern, you understand how to:

  • Build an object detection model
  • Trigger a post-processing script when specific objects are detected
  • Use Python Opencv libraries to prepare an image for OCR
  • Adjust Tesseract OCR to detect specific fonts

Flow

OCR license plate flow diagram

  1. The user uploads an image of a car to PowerAI Vision, either through the UI or an API REST call.
  2. The PowerAI model recognizes objects in the image and indicates where the license plate is located in the image.
  3. The PowerAI Vision post-processing script sends the cropped license plate image to the custom OCR server.
  4. A Python script loads the license plate image through opencv as a NumPy array and uses several processing algorithms to remove background noise and extract the plate digits.
  5. Tesseract OCR is used on the processed image.
  6. The user receives a JSON object with the plate text through terminal logs.

Instructions

Find the detailed steps for this pattern in the readme file. The steps show you how to:

  1. Deploy a Kubernetes cluster.
  2. Upload training images to PowerAI Vision.
  3. Train and deploy a model in PowerAI Vision.
  4. Clone the repository.
  5. Deploy the OCR server.

Srinivas Chitiveli

Kalonji Bankole



Read More

LEAVE A REPLY

Please enter your comment!
Please enter your name here