@mikael Could you share some picture of sudoku, where recognition fails?
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.
Best posts made by pavlinb
-
RE: Recognize text from picture
-
RE: Any way to debbug today widgets?
Here is a screenshot of my widget - now it works almost perfect.
I have up-to-date information about free tennis courts.
-
RE: interactive animation based on orientation data of IMU
It’s great how community supports Pythonista live.
-
Migrating built-in Shortcuts integration to iOS 13 APIs
Some news from Twitter:
PSA: The built-in Shortcuts integration for Pythonista will be removed early next year. I‘m working on integrating the new iOS 13 APIs, and I hope to have it ready by the end of the year. Migration might be automatic, but I‘m not sure about that yet.
https://mobile.twitter.com/olemoritz/status/1196371876290928640
Latest posts made by pavlinb
-
RE: Matlab graph displayed in today widget
@jackattack Save the graph as picture and then load it in widget.
-
RE: Recognize text from picture
@mikael Could you share some picture of sudoku, where recognition fails?
-
RE: face_detector.py strange behavior
@JonB 350 passes and still works. I'll play with parameters to see how it will go.
Thanks.
-
RE: face_detector.py strange behavior
This one works: link
from ctypes import * from objc_util import * class CMTime(Structure): _fields_ = [('value', c_int64), ('timescale', c_int32), ('flags', c_uint32), ('epoch', c_int64)] AVCaptureDevice = ObjCClass('AVCaptureDevice') _device = AVCaptureDevice.defaultDeviceWithDeviceType_mediaType_position_( 'AVCaptureDeviceTypeBuiltInWideAngleCamera', 'vide', 1) dur = _device.activeVideoMinFrameDuration(restype=CMTime, argtypes=[]) dur.value *= 3 _device.lockForConfiguration_(None) _device.setActiveVideoMinFrameDuration_(dur, restype=None, argtypes=[CMTime]) _device.unlockForConfiguration()
-
RE: face_detector.py strange behavior
It seems that setMinFrameDuration is in camera.captureOutput object ('AVCaptureVideoDataOutput').
But there is also setActiveVideoMinFrameDuration in camera.captureDevice ('AVCaptureDevice').
I couldn't make them working too both.
-
RE: face_detector.py strange behavior
@JonB I have tested another good example here
In this script is implemented
self.captureOutput.setMinFrameDuration_(CMTimeMake(1, 2), argtypes=[CMTime], restype=None)
I have plaeyd with CMTimeMake(.,.).
Unfotunately this script also hangs.
-
RE: face_detector.py strange behavior
Other way of obtaining video camera frames continuously is welcome.