This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from objc_util import * | |
import ctypes | |
import ui | |
from math import pi | |
from ImageColor import getrgb | |
import threading | |
from random import random | |
import multipeer, platform | |
import ast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dialogs | |
import datetime | |
import ui | |
from objc_util import * | |
#================ copy dialogs.form_dialog: begin | |
import collections | |
import sys | |
PY3 = sys.version_info[0] >= 3 | |
if PY3: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dialogs | |
import datetime | |
import ui | |
from objc_util import * | |
#================ copy dialogs.form_dialog: begin | |
import collections | |
import sys | |
PY3 = sys.version_info[0] >= 3 | |
if PY3: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# todo | |
# - bug: remove keyboard si confirm/cancel/close | |
# - bug: cancel ne devrait pas changer les parameters | |
# - label title pour self.name | |
# - actions: simultanees | |
# - flag repeat for ever | |
# - button reset default au niveau de chaque param? ou de forme/action? | |
# - scroll_view largeur variable a calculer (ex: fields de cube) | |
# - revoir couleur fond formes puis celles des params, face puis material | |
# - video ou camera uniqt si action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keyboard | |
import ui | |
from objc_util import * | |
import clipboard | |
import speech | |
import sys | |
import time | |
import threading | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keyboard | |
import ui | |
from objc_util import * | |
import clipboard | |
import speech | |
import sys | |
import time | |
import threading | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/jsbain/objc_hacks/blob/master/live_camera_view.py | |
# https://gist.github.com/omz/a7c5f310e1c8b829a5a613cd556863d4 | |
from objc_util import * | |
import os | |
from time import sleep | |
import ui | |
# Configuration (change URL and filename if you want to use a different model): | |
#MODEL_URL = 'https://docs-assets.developer.apple.com/coreml/models/MobileNet.mlmodel' | |
MODEL_FILENAME = 'mobilenet.mlmodel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ui | |
from objc_util import * | |
import clipboard | |
import speech | |
v = ui.View() | |
v.frame = (0,0,500,320) | |
v.name = 'Move cursor in TextView' | |
tv = ui.TextView() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ui | |
from objc_util import * | |
import clipboard | |
import speech | |
v = ui.View() | |
v.frame = (0,0,500,320) | |
v.name = 'Move cursor in TextView' | |
tv = ui.TextView() |