Is number recognition on iPhone possible in real-time?

前端 未结 5 556
一生所求
一生所求 2021-02-02 03:01

I need to recognise numbers from the camera image on iPhone, in real-time. I know there will be no more than 5 digits on the image.

Is this problem realistic to solve gi

相关标签:
5条回答
  • 2021-02-02 03:20

    The depends on your definition of "real-time", but yes, it should be possible to do relatively fast recognition of just the digits 0-9 on an iPhone 4, particularly if you can fonts, lighting conditions, etc. that they will appear in.

    I highly recommend reading the article on how Sudoku Grab does its recognition of puzzles using the iPhone camera. In their case, a trained neural network was used to identify the digits, which should be reasonably simple and fast on modern iOS hardware.

    The current recognition libraries out there, like OpenCV, will use the iPhone's CPU to do the processing. I've heard that they can do even more complex tasks like facial recognition fast enough to use with video sources while showing a minimal amount of stutter.

    For even better performance, I believe that there's a lot of potential in the programmable GPUs on the newer iOS devices. In my benchmarks, I saw a 14X - 28X speedup when using the iPhone 4's GPU for simple image processing. While few people are looking at this right now, something like Sudoku Grab's neural network should be a parallel enough process to benefit from running on the GPU.

    0 讨论(0)
  • 2021-02-02 03:29

    It should be computationally possible. There are apps that can get a bar code in real time and also an app that does real time translation. (Word Lens). I'm not sure what libraries they use, however.

    0 讨论(0)
  • 2021-02-02 03:29

    Yes. Bender can help you with that. It lets you build and run neural nets on iOS. As it uses Metal under the hood, it runs fast and smooth. It also supports running TensorFlow models directly.

    So you can run in Bender an existing model in TensorFlow trained for digit recognition Handwritten Digit Recognition using Convolutional Neural Networks in Python with Keras if you need help

    Disclaimer: I worked on this project.

    0 讨论(0)
  • 2021-02-02 03:35

    YES it is possible using the tesseract engine

    Here is the sample code if you like to check...

    https://github.com/nolanbrown/Tesseract-iPhone-Demo

    0 讨论(0)
  • 2021-02-02 03:36

    There is free SDK for that: http://rtrsdk.com/ Supports both iOS and Andorid, works in real-time, helps you capture any text, numbers should not be a problem.

    Disclaimer: I work for ABBYY

    0 讨论(0)
提交回复
热议问题