简体   繁体   中英

python recognize a drawing in numbers

   #######      #######     ##      
  ##     ##   ##     ##   ####      
  ##          ##     ##     ##      
  ########     ########     ##      
  ##     ##          ##     ##      
  ##     ##   ##     ##     ##      
   #######     #######    ######    

I have a program which generate

number like this and i need to recognize the number. Is there a function in python that does this automatically?

Since it looks like a cli printed output, I'd say no there's most likely no library function available to recognize it. However, in terms of recognizing digits from images, there are OCR libraries in Python OpenCV for example. Here's an article on that

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM