This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Tunnel Vision Dissolve Shader</title> | |
| <style> | |
| body { margin: 0; overflow: hidden; background-color: #add8e6; } | |
| canvas { display: block; } | |
| .info { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Made by @xdavidhu (github.com/xdavidhu, https://xdavidhu.me/) | |
| # Merge with https://github.com/Pinoccio/tool-serial-pcap/blob/master/serial-pcap | |
| # And https://wiki.wireshark.org/CaptureSetup/Pipes | |
| import serial | |
| import io | |
| import os | |
| import subprocess | |
| import signal | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- Configuration --- | |
| $inputFile = "C:\Users\new\Videos\someVideo.mp4" | |
| $outputFile = "C:\Users\new\Videos\someVideoNormalised.mp4" | |
| # --- Target Loudness --- | |
| $target_I = "-14" | |
| $target_LRA = "7" | |
| $target_TP = "-1.5" | |
| Write-Host "Running Pass 1 (analysis)..." -ForegroundColor Yellow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface ChromaKeyOptions { | |
| keyColor?: [number, number, number] // RGB color to key out (default: magenta) | |
| tolerance?: number // Tolerance range for color matching (0-100) | |
| softness?: number // Edge softness (0-100) | |
| spill?: number // Spill suppression strength (0-100) | |
| preserveEdges?: boolean // Preserve edge detail | |
| } | |
| export interface ImageData { | |
| data: Uint8ClampedArray |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface DeSepAIOptions { | |
| strength?: number | |
| notchWhiten?: boolean | |
| shiftBase?: [number, number, number] | |
| preserveDark?: boolean | |
| } | |
| export interface ImageData { | |
| data: Uint8ClampedArray | |
| width: number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib.cm as cm | |
| import wave | |
| import contextlib | |
| import cv2 | |
| import os | |
| import shutil | |
| from moviepy.editor import AudioFileClip, VideoFileClip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import shutil | |
| from pathlib import Path | |
| def follow_and_copy_symlinks(source_directory: str, model_directory_name: str = "MODEL"): | |
| """ | |
| Follows all symbolic links in a given source directory, copies the target | |
| files (blobs) to a new 'MODEL' directory, and names the copies after | |
| the original symlinks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 5.1,3.5,1.4,0.2,Iris-setosa | |
| 4.9,3.0,1.4,0.2,Iris-setosa | |
| 4.7,3.2,1.3,0.2,Iris-setosa | |
| 4.6,3.1,1.5,0.2,Iris-setosa | |
| 5.0,3.6,1.4,0.2,Iris-setosa | |
| 5.4,3.9,1.7,0.4,Iris-setosa | |
| 4.6,3.4,1.4,0.3,Iris-setosa | |
| 5.0,3.4,1.5,0.2,Iris-setosa | |
| 4.4,2.9,1.4,0.2,Iris-setosa | |
| 4.9,3.1,1.5,0.1,Iris-setosa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import shutil | |
| from pathlib import Path | |
| def follow_and_copy_symlinks(source_directory: str, model_directory_name: str = "MODEL"): | |
| """ | |
| Follows all symbolic links in a given source directory, copies the target | |
| files (blobs) to a new 'MODEL' directory, and names the copies after | |
| the original symlinks. |
NewerOlder