@Vijay_Yukthi
as previously stated, my experience of Apple’s CoreML Framework was using CreateML for numeric analytical regressor models, like Linear Regression, Logistic Regression, Random Forest Regression, and even Gradiant Boosting Regression, so this type of CoreML coding has absolutely no relevance to Text Recognition.
The CoreML Framework has many different parts to it, image and text recognition would be in different areas too the numerical data modelling parts, so I could not help with the CoreML text recognition parts of the framework, because I haven’t used them myself.
But I spent about a week searching and reading online resources to help me with my project, and you will probably have to do the same, these machine learning projects are a steep learning curve, and there really isn’t any short cuts to the learning.
And as also previously stated, I haven’t used the Vision Framework, because I had no need for it in my own project.
If you don’t know the Swift language, then the starting point for you would be learning the basics of coding in Swift, because the CoreML and Vision Frameworks require you to use Swift.
And you will find endless examples of Swift coding tutorials online.
If a lot of the online examples of text recognition are written for iOS, then you will have to convert the code over to MacOS framework types, as the majority of the iOS framework types have MacOS framework equivalents.
For example iOS framework types have the UI prefix, and the MacOS framework types have a NS prefix, like UIView to NSView, but the code for both are very similar, and Xcode will help with your Swift code syntax and conversions.
As I stated before, this is the wrong forum for Xcode and Swift and CoreML, as these forums are exclusively for AppleScript and AppleScriptObjC coders, so when you get going with your project, you will have to find a good Swift developer forum to help with problems and issues…
But I know the resources your looking for are out there on the interweb, as I came across many examples for text recognition with CoreML, when I was researching for my numerical data modelling and prediction project, but I paid them little attention, as they were not a part of the framework I was needing to learn.
In short, you have to roll your sleeves up, and get stuck into all of the online tutorials and examples, and I can tell you one thing for sure, it will take you a good deal of time and effort, but there really isn’t any short cuts, and with machine learning on Apple’s platforms being a fairly new thing, there won’t be loads of tutorials, but there will be enough to get you going, and from that point you have to learn things by trial and error to fill in the gaps, as I did myself.
Good Luck with it.
Regards Mark