This file contains 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
#!python | |
#-*-coding:utf-8-*- | |
import time | |
import shutil | |
def main(): | |
while True: | |
shutil.copy('image.jpg', time.strftime('%Y%m%d-%H%M%S.jpg')) | |
print("cp:", time.strftime('%Y%m%d-%H%M%S.jpg')) | |
time.sleep(10) |
This file contains 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
#include "ofxDomemaster.h" | |
ofxDomemaster::ofxDomemaster(){ | |
meshScaleExt = 1.; | |
} | |
//-------------------------------------------------------------- | |
void ofxDomemaster::setup(int _width, int _height){ | |
width = _width; | |
height = _height; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
FROM jupyter/base-notebook | |
USER root | |
RUN apt-get update -y && apt-get install -y python-opencv | |
USER jovyan | |
RUN pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master \ | |
jupyter_nbextensions_configurator pillow opencv-python | |
RUN jupyter contrib nbextension install --user && jupyter nbextensions_configurator enable --user |
This file contains 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
.CodeMirror pre, .output pre { font-family: Menlo, monospace; } |