I have been working on the MLKit beta on iOS using Objective - C. I have noticed a couple things and wanted to hear what others have seen or thought.
1. Image orientation - It doesn't really work. You need to pre-rotate your image to LeftTop to make it work. Some of the documentation and examples seem to suggest otherwise. This doesn't really affect barcodes but does for Face and Text. I am not sure about Labeling but I think it mostly works regardless of orientation. I am also seeing different results depending on using UIImage vs CMSampleBufferRef. UIImage works if you set orientation but CMSampleBufferRef fails regardless of your setting - particularly for Text. Also the documentation is confusing for orientation and it's unclear if when creating FIRVisionImage from UIImage if they are pulling off orientation for the object or you need to set it. In general the orientation has cause all kinds of confusion between what I believe are bugs, unclear documentation and lack of full examples in both objective c and swift.
2. Completion callbacks - This is an interesting design choices and it makes it slightly hard to chaining detectors together. The Mobile Vision has this capability as due Apple's native detectors. Not sure how I would address this but given the beta state - I think I would just kind of work around it for now.
3. Memory issues - I am perhaps doing something wrong here but I am noticing some wild swings in memory usage when trying to do Text in real time ultimately leading to an OOM situation. There isn't much guidance on holding on to instances of detectors or not which would be super helpful. Also I noted that early on if I didn't retain a reference to certain things particular w. the callback complete function that I was seeing some nils. That one was easily fixed but more clarity on the callback function would be helpful.
Overall, I am excited to see this mature and the docs, examples, and perf/stability improve. Is there a central location of release notes, upcoming releases, and known issues. Right now there are lots of different information tucked into corners of the internet - StackExchange comments, Reddit threads, in this group etc.
Thanks,
D