omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. pavlinb

    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.


    • Profile
    • Following 0
    • Followers 2
    • Topics 8
    • Posts 118
    • Best 7
    • Controversial 0
    • Groups 0

    pavlinb

    @pavlinb

    7
    Reputation
    1512
    Profile views
    118
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    pavlinb Unfollow Follow

    Best posts made by pavlinb

    • RE: StaSH doesn't work.

      @bosco Thanks. Problem solved.

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: Recognize text from picture

      @mikael Could you share some picture of sudoku, where recognition fails?

      posted in Pythonista
      pavlinb
      pavlinb
    • 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.

      link

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: interactive animation based on orientation data of IMU

      It’s great how community supports Pythonista live.

      posted in Pythonista
      pavlinb
      pavlinb
    • 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

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: Today Widget not working

      My today widget still works

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: Text detection with Vison coreML

      @cvp Works good and no need models.

      posted in Pythonista
      pavlinb
      pavlinb

    Latest posts made by pavlinb

    • RE: StaSH doesn't work.

      @bosco Thanks. Problem solved.

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: StaSH doesn't work.

      @cvp I have tried lot of things, but stash still doesn’t run. Any other experience this problem?

      posted in Pythonista
      pavlinb
      pavlinb
    • StaSH doesn't work.

      Hello,
      I'm not sure when Stash has stopped working.
      Is it related to iOS version 16.3 or new Pythonista version 3.4?
      After lunching it returns error : "module 'plistlib' has no attribute 'readPlist' "
      Regards.

      posted in Pythonista
      pavlinb
      pavlinb
    • iOS 14 beta.

      Hello,

      Someone tested? Does Pythonista still work?

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: Matlab graph displayed in today widget

      @jackattack Save the graph as picture and then load it in widget.

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: Recognize text from picture

      @mikael Could you share some picture of sudoku, where recognition fails?

      posted in Pythonista
      pavlinb
      pavlinb
    • RE: face_detector.py strange behavior

      @JonB 350 passes and still works. I'll play with parameters to see how it will go.

      Thanks.

      posted in Pythonista
      pavlinb
      pavlinb
    • 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()
      
      posted in Pythonista
      pavlinb
      pavlinb
    • 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.

      posted in Pythonista
      pavlinb
      pavlinb
    • 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.

      posted in Pythonista
      pavlinb
      pavlinb