Text detection with Vison coreML
-
@pavlinb did you not turn your iPhone during test?
I simulate your dimensions and I get this.
I agree that blue rectangles are not very good but that's so, I think with this code
-
@cvp I'll play with dimensions.
-
@cvp In landscape view image looks better, but in portrait view is sketched and goes outside of the screen.
-
@pavlinb It is strange because I simulated your iPhone in portrait mode
-
I think I did an error, try < instead of >, and sorry 😐
if (ws/hs) < (wim/him):
-
last edited by
-
it seems that VNRecognizeTextRequest exist in iOS 13.0+ Beta, regarding link.
If I upgrade to iOS 13 Beta should I be able to call it from Pythonista?
-
@pavlinb No idea, sorry. I think that yes, you could.
-
@pavlinb ask somebody who has installed iOS 13 beta, to test
from objc_util import * VNRecognizeTextRequest = ObjCClass('VNRecognizeTextRequest').alloc()
If it runs without error, that should be ok for next development
If you get
ValueError: no Objective-C class named 'b'VNRecognizeTextRequest'' found
It is not good...
-
@cvp Compiled w/o error in iOS13_7 beta.
Let see if it works good.
-
@pavlinb 🤞
-
@cvp Works good and no need models.
-
@pavlinb Super. I'm waiting for the official ios13...
-
last edited by
-
Is there a way to process every frame from camera?
Not only photos from gallery?
-
@pavlinb I think that there is a topic about that in the forum, but not sure
-
Not exactly what you want but..... see here
-
@cvp Checking now...
-
@cvp said:
@pavlinb I knew the script of omz and I've found and converted the Swift code when I've read your post.
Do you have some converter from Swift to Python or you did it manually?
-
@pavlinb Manually 😢 and I prefer to convert an Objectivec than a Swift...