Skip to content

Instantly share code, notes, and snippets.

View Ar-Ray-code's full-sized avatar
🙃
🍓 🐢 🥕 🤖

Ar-Ray Ar-Ray-code

🙃
🍓 🐢 🥕 🤖
View GitHub Profile
@LeeDDHH
LeeDDHH / youtube-markdown.md
Created November 29, 2020 04:51
Youtube markdown 埋め込み
@3110
3110 / Core2_RTC_with_NTP.ino
Last active June 3, 2021 15:49
NTPを使ってM5Stack Core2のRTCを設定する
#include <M5Core2.h>
#include <WiFi.h>
const char* SSID = "SSID";
const char* PASSWORD = "SSID Password";
const char* NTP_SERVER = "ntp.jst.mfeed.ad.jp";
const char* TZ = "JST-9";
const uint8_t FONT_NUMBER = 2; // 16px ASCII Font
const uint8_t FONT_SIZE = 16;
@YashasSamaga
YashasSamaga / yolov4.py
Last active February 18, 2024 04:03
YOLOv4 on OpenCV DNN
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()]