What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-17 01:25:17
tensorflow lite raspberry pi object detection using usb webcam
import time import re import numpy as np from tflite_runtime.interpreter import Interpreter import cv2 CAMERA_WIDTH = 640 CAMERA_HEIGHT = 480 def load_labels(path): """Loads the labels file. Supports files with or without index number... Add solution -
Python 2022-03-16 18:30:19
get all possible corner using shi thomas cv2
import cv2 as cv import numpy as np img = cv.imread('qiqiao.jpg') gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY) # Shi-Tomasi corner detection corners = cv.goodFeaturesToTrack(gray, 12, 0.01, 10) corners = np.int0(corners) # 12 corner coordinates for i in... Add solution -
Python 2022-03-13 04:10:03
Circular heatmap python
from pylab import * import numpy as np from scipy.interpolate import griddata #create 5000 Random points distributed within the circle radius 100 max_r = 100 max_theta = 2.0 * np.pi number_points = 5000 points = np.random.rand(number_points,2)*[max_r,max... Add solution -
Shell/Bash 2022-03-12 02:50:24
install expo on react native bare project
npm install react-native-unimodules Configuation ANDROID: android/app/build.gradle : apply from: '../../node_modules/react-native-unimodules/gradle.groovy' addUnimodulesDependencies() android/app/src/main/java/com/myapp/MainApplication.java : import co... Add solution -
Other 2022-03-11 16:40:03
DiscordUtils
import discord from discord.ext import commands import DiscordUtils intents = discord.intents.default() intents.members = True bot = commands.AutoShardedBot(command_prefix=">", intents=intents) tracker = DiscordUtils.InviteTracker(bot) @bot... Add solution -
Best helpers
Ranking is empty