- Windows 11 (コマンドプロンプト)
- RTX3060
- Python 3.11.9
python -m venv sara_env
sara_env\Scripts\activate
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu126
| name | lat | lng | attr | distance(km) | cool_time(h) | |
|---|---|---|---|---|---|---|
| 函館 | 41.773709 | 140.726413 | eco | 152.834 | 2.1087 | |
| 函館駅前 | 41.77264 | 140.727997 | heat | 152.903 | 2.1092 | |
| 五稜郭 | 41.803557 | 140.733539 | eco | 149.508 | 2.0868 | |
| 桔梗 | 41.846457 | 140.722952 | heat | 145.329 | 2.0592 | |
| 大中山 | 41.864641 | 140.71358 | heat | 143.715 | 2.0485 | |
| 七飯 | 41.886971 | 140.688556 | heat | 142.172 | 2.0383 | |
| 新函館北斗 | 41.9054 | 140.646525 | eco | 141.647 | 2.0349 | |
| 仁山 | 41.930011 | 140.635183 | heat | 139.537 | 2.0209 | |
| 大沼 | 41.971954 | 140.669347 | heat | 134.121 | 1.9852 |
| import gradio as gr | |
| from PIL import Image, ImageOps | |
| import torch | |
| from transformers import AutoImageProcessor, AutoModel, AutoTokenizer | |
| import shlex | |
| # HEIF/HEICフォーマットのサポートを有効化 | |
| try: | |
| from pillow_heif import register_heif_opener | |
| register_heif_opener() |
| #include <M5Unified.h> | |
| #include <WiFi.h> | |
| #include <time.h> | |
| #include <sys/time.h> | |
| // ------------------------------------------------- | |
| // 設定エリア | |
| // ------------------------------------------------- | |
| const char* ssid = "YOUR-SSID"; // Wi-FiのSSID | |
| const char* password = "YOUR-PASSWORD"; // Wi-Fiのパスワード |
| 函館 | 988 | |
|---|---|---|
| 函館駅前 | 729 | |
| 五稜郭 | 55036 | |
| 桔梗 | 25606 | |
| 大中山 | 8201 | |
| 七飯 | 13006 | |
| 新函館北斗 | 8295 | |
| 仁山 | 478 | |
| 大沼 | 665 | |
| 大沼公園 | 548 |
| <!doctype html> | |
| <meta charset="utf-8"> | |
| <title>X ±2日 bookmarklet</title> | |
| <style> | |
| body { font: 16px/1.6 system-ui, sans-serif; padding: 24px; } | |
| a.btn { display:inline-block; padding:10px 14px; border-radius:9999px; | |
| text-decoration:none; border:1px solid #ccc } | |
| code { background:#f6f8fa; padding:2px 6px; border-radius:6px } | |
| </style> | |
| <h1>「X ±2日」ブックマークレット</h1> |
| // | |
| // M5Stack Basic (M5Stack Core)で災危通報を表示 | |
| // 2025/08/02 @ksasao | |
| // | |
| // ソースコードは | |
| // https://www.switch-science.com/blogs/magazine/gps-qzss-dc-report-dcx-receiving の記事にある | |
| // https://github.com/SWITCHSCIENCE/samplecodes/tree/master/GPS_shield_for_ESPr/espr_dev_qzss_drc_drx_decode | |
| // を元に画面表示を追加したものです。 | |
| // 機材などの詳細は https://x.com/ksasao/status/1951457364667932775 を参照してください |
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>文字縁取りサンプル</title> | |
| <link href="https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Arial', sans-serif; |
| Congratulate | |
| GetAttention | |
| Idle1_1 | |
| Show | |
| Greeting | |
| Hide | |
| Goodbye | |
| RestPose | |
| Wave | |
| Hearing_1 |
| import cv2 | |
| import numpy as np | |
| import sys | |
| video_path = 'your_movie_file.mp4' | |
| cap = cv2.VideoCapture(video_path) | |
| if not cap.isOpened(): | |
| print("動画を開けませんでした") |