How to extract text/character from PaintView in Android Studio. Example if I draw A on the canvas in PaintView using the onDraw() method how will I get that A as a textview ?
Asked
Active
Viewed 186 times
-1
-
Similar question (but 6 years old): https://stackoverflow.com/questions/13063345/handwriting-recognition-apis-for-android-applications – Robert Jan 06 '19 at 15:00
1 Answers
2
First of all Android studio is an IDE :)
Secondly, Once you draw the character over your android phone, take that Bitmap and pass to Firebase ML kit which is free if you are using in your mobile only. Once you pass the Bitmap, the ML kit will process and you will have your text. In the below link, they have provided plenty of easy examples as well.
Recognize Text in Images with ML Kit on Android
It is a just a generic solution but I hope this will work.
Let me know if you are having any other doubt/solution/questions .
Thankyou.

Anshul Verma
- 347
- 1
- 5
- 18
-
1Thank you! I was thinking ML kit should be the most preferred solution thanks for confirming – Aakash Birari Jan 07 '19 at 16:08