import numpy as np import cv2 import time from skimage.metrics import structural_similarity as ssim # 体全体のカスケードファイル fullbody_detector = cv2.CascadeClassifier("./haarcascade_fullbody.xml") # サンプル画像 cap = cv2.VideoCapture('merged_camera.mp4')
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using VRC.Dynamics; public class PhysCopy : EditorWindow { GameObject targetAvatar; GameObject baseAvatar;
# 麻雀牌の山を作る piType = [ (1..9).map { |i| "m#{i}" }, # 萬子 (1..9).map { |i| "p#{i}" }, # 筒子 (1..9).map { |i| "s#{i}" }, # 索子 (1..4).map { |i| "f#{i}" }, # 東南西北 (1..3).map { |i| "g#{i}" } # 白發中 ].flatten