Create a simple property grid to display and edit an object properties. Currently supports text/number/color/checkbox
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 sys | |
sys.path=sys.path + ["/Library/Python/3.7/site-packages"] | |
import lldb | |
import errno | |
import time | |
import struct | |
import tempfile | |
from subprocess import call | |
from time import strftime |
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 cv2 | |
import time | |
import math | |
import numpy as np | |
import tensorflow as tf | |
class SsdAnchorsCalculatorOptions: | |
def __init__(self, input_size_width, input_size_height, min_scale, max_scale | |
, num_layers, feature_map_width, feature_map_height | |
, strides, aspect_ratios, anchor_offset_x=0.5, anchor_offset_y=0.5 |
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
var config = require('core-api').config, | |
logger = require('core-api').logger.fork('api/storage/mongo'), | |
mongoose = require('mongoose'); | |
// mongoose is using a polyfill - need to override it | |
mongoose.Promise = Promise; | |
var MONGO_OPTS = { | |
autoReconnect: true, | |
reconnectTries: 1e6 |