Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello β I'm @olemoritz on Twitter.
Text detection with Vison coreML
-
Here why it doesnβt work for me:
-
-
@pavlinb As I don't have this iPhone, could you print wim,him,ws,hs so I could simulate, thanks
-
@pavlinb could you also post the analyzed image in Imgur?
-
@cvp wim = 141, him = 64 , ws = 375, hs = 667
-
@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):
-
-
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...
-
-
Is there a way to process every frame from camera?
Not only photos from gallery?