Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
| import tensorflow as tf | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import functools | |
| from PIL import Image | |
| """ | |
| TensorFlow Data Augmentation Example | |
| Reference : https://github.com/tensorflow/models/blob/master/research/object_detection/core/preprocessor.py |
| import cv2 | |
| import time | |
| CONFIDENCE_THRESHOLD = 0.2 | |
| NMS_THRESHOLD = 0.4 | |
| COLORS = [(0, 255, 255), (255, 255, 0), (0, 255, 0), (255, 0, 0)] | |
| class_names = [] | |
| with open("classes.txt", "r") as f: | |
| class_names = [cname.strip() for cname in f.readlines()] |
| import { Data, Override } from "framer" | |
| const state = Data({ | |
| doubleTapIndex: 0, | |
| doubleTapTimer: setTimeout(null, null), | |
| longPress: false, | |
| longPressTimer: setTimeout(null, null), | |
| }) | |
| export function doubleTap(): Override { |
| type Material = 'wood' | 'brick' | 'steel' | |
| type HouseOption = (h: House) => void | |
| class House { | |
| private rooms: number | |
| private floors: number | |
| private material: Material | |
| private externalData: any |
Electron is tricky to get set up on Windows Subsystem for Linux, but it can work!
Four things needed overall:
apt install several dependenciesSetup instructions, in order:
| FROM dockcross/base:latest | |
| ENV DEFAULT_DOCKCROSS_IMAGE arm64-cross | |
| ENV CROSS_TRIPLE aarch64-linux-gnu | |
| ENV XCC_PREFIX /usr/local | |
| ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE} | |
| ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \ | |
| AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc-ar \ | |
| CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \ |