License Plate Recognition Source Code C

четверг 26 мартаadmin

OpenALPR is an open source Automatic License Plate Recognition library. License plate recognition into your application directly in-code (C/C, C#, VB.NET.

OpenALPR
Original author(s)Matthew Hill[1]
Developer(s)OpenALPR Technology, Inc.[2]
Initial release2 May 2014; 5 years ago[2]
Stable release
Repositorygithub.com/openalpr/openalpr
Written inC, C++, Python, Java, and C#
Operating systemLinux, Windows[3]
PlatformIA-32 (i386), x86-64 or ARM
Size276 MB
Available in1 languages
English
TypeAutomatic number-plate recognition
LicenseProprietary and AGPL
Alexa rank 243,548 OpenALPR (Global 01/2020)
Websitewww.openalpr.com

OpenALPR is an automatic number-plate recognitionlibrary written in C++. The software is distributed in both a commercial and open source version.

History[edit]

OpenALPR was originally developed by a two-man team led by Matt Hill.[1] The open source software became available as a free download at the end of 2015.[4] In March 2016, OpenALPR launched paid Cloud API service[5] and in February 2017 introduced the OpenALPR agent for Axis Communications cameras.[6]

In August 2017 an Australian web developer Tait Brown became known by creating an alternative to an 86 million AUD project of Victoria Police by using OpenALPR.[7]In March 2018 ProgrammableWeb added OpenALPR to its list of Recognition APIs.[8]

Software[edit]

OpenALPR is an automatic number-plate recognitionlibrary written in C++.[9] The software is distributed in both a commercial cloud based version[1] and open source version.[3][10] OpenALPR makes use of OpenCV and Tesseract OCR libraries. It could be run as a command-line utility, standalone library, or background process. The software also integrates with video management systems (VMS) such as Milestone XProtect.[11]

References[edit]

  1. ^ abcFarivar, Cyrus (December 5, 2015). 'New software watches for license plates, turning you into Little Brother'. Ars Technica. Retrieved June 11, 2018.
  2. ^ abmatthill. 'state_detector.cpp'. GitHub. Retrieved June 21, 2018.
  3. ^ abDavid Cardinal (August 4, 2016). 'How to get started with DIY home surveillance systems'. ExtremeTech. Retrieved June 11, 2018.
  4. ^December 9, 2015. 'New Software Allows You to Scan License Plates Just like a Cop'. autoevolution.com. Retrieved June 11, 2018.
  5. ^'OpenALPR Technology Releases Cloud Service for Automatic License Plate Recognition and Vehicle Classification'. security.world. March 7, 2016. Retrieved June 23, 2018.
  6. ^Tammy Waitt (February 13, 2017). 'OpenALPR & Axis Offer Affordable ALPR Service Plans (See Video)'. americansecuritytoday.com. Retrieved June 23, 2018.
  7. ^Tait Brown (August 28, 2017). 'How I replicated an $86 million project in 57 lines of code'. freeCodeCamp. Retrieved June 11, 2018.
  8. ^Culbertson, Joy (March 31, 2018). 'Daily API RoundUp: FlexAwards, Amazon GameOn, Blockbridge'. ProgrammableWeb. Retrieved June 23, 2018.
  9. ^Bhadoria, Shantanu; Oliva Ramos, Ruben (2017). 'Erase Parking Headaches with OpenCV and Raspberry Pi'. Raspberry Pi 3 Home Automation Projects: Bringing your home to life using Raspberry Pi 3, Arduino, and ESP8266. Packt Publishing Ltd. p. 82. ISBN978-1-78328-387-3 – via Google Books.
  10. ^James, Mike (December 18, 2015). 'Openalpr - An Open Source Licence Plate Reader'. i-programmer.info. Retrieved June 23, 2018.
  11. ^Karas, Brian (March 22, 2016). 'SaaS LPR Startup OpenALPR Examined'. ipvm.com. Retrieved June 21, 2018.(subscription required)

External links[edit]

Retrieved from 'https://en.wikipedia.org/w/index.php?title=OpenALPR&oldid=936355841'

by Tait Brown

When an experiment with existing open source technology does a “good enough” job

The Victoria Police are the primary law enforcement agency of Victoria, Australia. With over 16,000 vehicles stolen in Victoria this past year — at a cost of about $170 million — the police department is experimenting with a variety of technology-driven solutions to crackdown on car theft. They call this system BlueNet.

To help prevent fraudulent sales of stolen vehicles, there is already a VicRoads web-based service for checking the status of vehicle registrations. The department has also invested in a stationary license plate scanner — a fixed tripod camera which scans passing traffic to automatically identify stolen vehicles.

Don’t ask me why, but one afternoon I had the desire to prototype a vehicle-mounted license plate scanner that would automatically notify you if a vehicle had been stolen or was unregistered. Understanding that these individual components existed, I wondered how difficult it would be to wire them together.

But it was after a bit of googling that I discovered the Victoria Police had recently undergone a trial of a similar device, and the estimated cost of roll out was somewhere in the vicinity of $86,000,000. One astute commenter pointed out that the $86M cost to fit out 220 vehicles comes in at a rather thirsty $390,909 per vehicle.

Surely we can do a bit better than that.

The Success Criteria

Before getting started, I outlined a few key requirements for product design.

Requirement #1: The image processing must be performed locally

Streaming live video to a central processing warehouse seemed the least efficient approach to solving this problem. Besides the whopping bill for data traffic, you’re also introducing network latency into a process which may already be quite slow.

Although a centralized machine learning algorithm is only going to get more accurate over time, I wanted to learn if an local on-device implementation would be “good enough”.

Downloads; Roms; Nintendo Wii Backup File System Roms (WBFS) Nintendo Wii Backup File System Roms (WBFS) WBFS, or Wii Backup File System, is a file system developed by Wii homebrew coders kwiirk and Waninkoko. It uses Waninkoko's cIOS and works by creating a WBFS partition on a SD or USB device. Nintendo dsi wii downloads in sdram. Download the Latest Software for the Nintendo Wi-Fi USB Connector. If you already have successfully installed the Nintendo Wi-Fi USB Connector and are able to connect your Wii console or Nintendo.

Requirement #2: It must work with low quality images

Since I don’t have a Raspberry Pi camera or USB webcam, so I’ll be using dashcam footage — it’s readily available and an ideal source of sample data. As an added bonus, dashcam video represents the overall quality of footage you’d expect from vehicle mounted cameras.

Requirement #3: It needs to be built using open source technology

Relying upon a proprietary software means you’ll get stung every time you request a change or enhancement — and the stinging will continue for every request made thereafter. Using open source technology is a no-brainer.

My solution

Code

At a high level, my solution takes an image from a dashcam video, pumps it through an open source license plate recognition system installed locally on the device, queries the registration check service, and then returns the results for display.

The data returned to the device installed in the law enforcement vehicle includes the vehicle’s make and model (which it only uses to verify whether the plates have been stolen), the registration status, and any notifications of the vehicle being reported stolen.

If that sounds rather simple, it’s because it really is. For example, the image processing can all be handled by the openalpr library.

This is really all that’s involved to recognize the characters on a license plate:

A Minor Caveat
Public access to the VicRoads APIs is not available, so license plate checks occur via web scraping for this prototype. While generally frowned upon — this is a proof of concept and I’m not slamming anyone’s servers.

Here’s what the dirtiness of my proof-of-concept scraping looks like:

Results

I must say I was pleasantly surprised.

I expected the open source license plate recognition to be pretty rubbish. Additionally, the image recognition algorithms are probably not optimised for Australian license plates.

The solution was able to recognise license plates in a wide field of view.

Heer continued composing until 1999.Heer's debut album, Kamli, was released in 2000, which was mostly not a success. Kanthe vala kamal heer masti mp3 download. He released Masti 2 in 2003 which contained the tracks 'Nachne Nu Kare Mera Ji', 'Kinnu Yaad Kar Kar Hasdi', 'Hick Da Taveet' and 'Ishq Ne Kamle Karte'.Heer continued his success with Punjabi Virsa 2004 - Toronto Live, a live album recorded in, Canada with his two brothers. In 1993 they composed music for Manmohan Waris's album, Gaairan Naal Penghan Jhotdiye, which became a huge hit. In 2002 he released Masti-Kanthay Vala, which became very successful especially 'Kanthay Vala'. After Kamal's family moved to Canada in 1990, he and his older brother Sangtar started composing music.

Although, the solution would occasionally have issues with particular letters.

But … the solution would eventually get them correct.

As you can see in the above two images, processing the image a couple of frames later jumped from a confidence rating of 87% to a hair over 91%.

I’m confident, pardon the pun, that the accuracy could be improved by increasing the sample rate, and then sorting by the highest confidence rating. Alternatively a threshold could be set that only accepts a confidence of greater than 90% before going on to validate the registration number.

Those are very straight forward code-first fixes, and don’t preclude the training of the license plate recognition software with a local data set.

The $86,000,000 Question

To be fair, I have absolutely no clue what the $86M figure includes — nor can I speak to the accuracy of my open source tool with no localized training vs. the pilot BlueNet system.

I would expect part of that budget includes the replacement of several legacy databases and software applications to support the high frequency, low latency querying of license plates several times per second, per vehicle.

On the other hand, the cost of ~$391k per vehicle seems pretty rich — especially if the BlueNet isn’t particularly accurate and there are no large scale IT projects to decommission or upgrade dependent systems.

Future Applications

While it’s easy to get caught up in the Orwellian nature of an “always on” network of license plate snitchers, there are many positive applications of this technology. Imagine a passive system scanning fellow motorists for an abductors car that automatically alerts authorities and family members to their current location and direction.

Teslas vehicles are already brimming with cameras and sensors with the ability to receive OTA updates — imagine turning these into a fleet of virtual good samaritans. Ubers and Lyft drivers could also be outfitted with these devices to dramatically increase the coverage area.

Using open source technology and existing components, it seems possible to offer a solution that provides a much higher rate of return — for an investment much less than $86M.

Part 2 — I’ve published an update, in which I test with my own footage and catch an unregistered vehicle, over here:

Remember that $86 million license plate scanner I replicated? Here’s what happened next.
Successes, failures, and catching one very naughty drivermedium.freecodecamp.org