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
| // Created by Thibaut Mattio | |
| #pragma once | |
| #include <ctime> | |
| #include <random> | |
| namespace random { | |
| inline auto random_float(float min = 0., float max = 1.) { |
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
| # This script is based on https://github.com/nvellon/timelapse | |
| import os | |
| import sys | |
| import time | |
| import cv2 | |
| command = 'capture' | |
| cam_num = 0 | |
| output_path = 'out/' |
NewerOlder