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> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Transparent!</title> | |
</head> | |
<body> | |
<h1>Transparent!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
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
-- PLAY key menu | |
-- Use PLAY button to toggle RAW video preferences | |
require("config") | |
play_key_timestamp = nil | |
currently_selected_preset = nil | |
last_run_preset = nil | |
before_last_run_preset = nil | |
-- TODO: find a better way to set resolution in "RAW video" submenu |
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
-- Crop mode toggle | |
-- Toggle between 3x crop mode | |
require('config') | |
-- end this script if not eosm | |
if camera.model_short ~= "EOSM" then | |
display.notify_box("Script not working on this cam"); | |
msleep(2000); |
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, numpy as np | |
from scipy.io import wavfile | |
def show_info(aname, a): | |
print "Array", aname | |
print "shape:", a.shape | |
print "dtype:", a.dtype | |
print "min, max:", a.min(), a.max() | |
audio_folder_name = 'left_audio_track' |
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, numpy as np | |
from scipy.io import wavfile | |
def show_info(aname, a): | |
print "Array", aname | |
print "shape:", a.shape | |
print "dtype:", a.dtype | |
print "min, max:", a.min(), a.max() | |
audio_folder_name = 'right_audio_track' |
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
# references used: | |
# http://stackoverflow.com/questions/17291455/how-to-get-an-average-picture-from-100-pictures-using-pil | |
# http://stackoverflow.com/questions/16135677/efficient-way-to-find-median-value-of-a-number-of-rgb-images | |
import os, numpy, PIL | |
from PIL import Image | |
start_frame = 0 # the frame number starts at 0 | |
jpgs_in_dir = {} | |
max_frames_in_dir = {} |
NewerOlder