7-segment LCD Display Reader

Yu Yang
2015年11月11日
  • 408.7 KB

    文件大小

  • Android 2.3.4+

    Android OS

關於7-segment LCD Display Reader

基於OpenCV的OCR閱讀器,用於識別LCD 7 - 段數碼產品中的一行。

This is an OCR reader based on OpenCV. It can be used for recognizing 7-segments digitals (one line) on LCD display, such as calculator and electric meter. Compared with normal image, the LCD screen has a lower contrast and special processing solution is quite necessary for successful recognition.

I tested it under different lighting conditions and devices. The code can be checked out from following link and you can find more details in the comments.

https://github.com/yuyang551003/OpenCV_OCR_demo

NOTE: before running my apk, please install “OpenCV Manager” first. It can be found in Google Play.

1. Overview

The OCR process has three main steps:

1) Use edge detection algorithm to get the contours in the image.

2) Locate the digitals using vertical projection information.

3) Recognize the digitals based on their structure characteristics through a traversal method.

2. Details

2.1 Edge detection

I use Canny detection algorithm to get the contour information and the result looks very good.

2.2 Vertical projection

After getting the contours information, I scan vertically to get the vertical projection of the image in the “locating box”. The box is used to help locate digital area approximately (the user only need to put the digitals in the box when scanning). The projection value is actually the number of white points in vertical direction. Obviously, the projection value between two digitals is lower. Thus, based on the information, we can locate every digital.

2.3 Traversal method

After finding the positions of the digitals, we will traverse every digital from three different directions and then recognize them based the traversal results. See the example of digital “3” in the last figure. When we traverse the digital along line a, b and c, the number of passed segments should be 3, 1 and 1 respectively. Thus the recognition code of “3” is “311”. That is, for an unknown digital, if its code is “311”, it might be digital “3”.

更多收起

最新版本1.0的更新日誌

Last updated on 2015年11月11日
Minor bug fixes and improvements. Install or update to the newest version to check it out!

7-segment LCD Display Reader APK信息

最新版本
1.0
類別
工具
Android OS
Android 2.3.4+
文件大小
408.7 KB
開發者
Yu Yang
內容分級
Unrated · Warning – content has not yet been rated. Unrated apps may potentially contain content appropriate for mature audiences only.
在APKPure安全快速地下載APK
APKPure 使用簽章驗證功能,確保為您提供無病毒的 7-segment LCD Display Reader APK 下載。

7-segment LCD Display Reader歷史版本

在APKPure極速安全下載應用程式

一鍵安裝安卓XAPK/APK文件!

下載 APKPure