Skip to content

Instantly share code, notes, and snippets.

@uosotm
uosotm / index.html
Last active Oct 27, 2020
Minimal usage of OpenCV.js with a single HTML file.
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello OpenCV.js</title>
</head>
<body>
<input type="file" id="input" name="file" />
<canvas id="output"></canvas>
@uosotm
uosotm / demo.py
Last active Oct 23, 2020
【ツクレル勉強会】ラズパイでスマート温湿度計を作ろう - サンプルコード
View demo.py
import time
from sense_hat import SenseHat
sense = SenseHat()
def main():
sense.clear(128, 128, 128)