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 base64 | |
| import sys | |
| import os | |
| def processFile(fileName): | |
| f = open(fileName,'rb').read() | |
| x = [('GDepth:Data','.jpg'),('GImage:Data','.jpg')] | |
| for c in x: | |
| start_pos = f.find(c[0]) |
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 subprocess as sp | |
| import numpy as np | |
| import re | |
| import cv2 | |
| FFMPEG_BIN = r'C:\Users\Leo\ffmpeg\bin\ffmpeg.exe' | |
| INPUT_VID = 'Ecolipresentation.m4v' | |
| def getInfo(): | |
| command = [FFMPEG_BIN,'-i', INPUT_VID, '-'] |
NewerOlder