閱讀筆記 – 使用樹莓派建立 DIY 車牌掃描器
DIY License Plate Scanner Built with a Raspberry Pi
You may have noticed that some police cruisers have little boxes mounted on the front and back of the car that point outwards. Those are license plate scanners, which automatically read the license plates of the other cars on the road. They allow police officers to check to see if a car is stolen or if there is an APB out on the owner, without having to manually read and type out each plate. License plate scanners are relatively new technology, but Redditor tim_macgyver has built one using a Raspberry Pi.
A license plate scanner needs to do three things: identify if a license plate is in the field of view, scan that license plate, and parse it to determine what the plate number is. That requires computer vision, and for that tim_macgyver is using OpenALPR (Automatic License Plate Recognition). OpenALPR is software designed specifically for building license plate scanners, and it’s open source.
To utilize the OpenALPR SDK, tim_macgyver is running a Node.js service on his Raspberry Pi that automatically takes a photo every second with a cameraconnected to the Pi. That photo is then processed by OpenALPR to determine if there is a license plate in the frame. If there is, it scans the license plate and returns the plate number. This is a prototype build for one of tim_macgyver’s clients, but you could certainly make one yourself.

文章網址
摘要筆記
這篇文章使用一個專門用來辨識車牌號碼開源專案 OpenALPR https://github.com/openalpr/openalpr
OpenALPR是一個用 C++ 編寫的開源自動車牌辨識程式庫,程式庫介面有支援 C#,Java,Node.js,Go和Python。 可用來做圖像和視訊串流辨識車牌。 輸出是以牌照字元的文字模式表示。
這篇文章的開發者在他的 Raspberry Pi 上運行了 Node.js 服務,該服務透過連接到 Pi 上的相機,每秒自動拍攝一張照片。 然後由 OpenALPR 處理這張照片,以確定是否有一個車牌的框架。 如果有,它會掃描車牌並返回車牌號碼。
目前許多收費停車場也是用同樣的類似技術
留言
張貼留言