Skip to content

Instantly share code, notes, and snippets.

View strrife's full-sized avatar

Alexander Mikhalchenko strrife

View GitHub Profile
#!/bin/bash
TIME=`date '+%Y-%m-%d-%H-%M-%S'`
echo "Using Time identifier: $TIME";
INDEX=0
gphoto2 --auto-detect | tail -n +3 | awk '{print $4}' | while read line
do
rm -f capt0000.jpg
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
import matplotlib
import argparse
import imutils
import cv2
import numpy as np
import sys