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
import cv2 | |
# Windows dependencies | |
# - Python 2.7.6: http://www.python.org/download/ | |
# - OpenCV: http://opencv.org/ | |
# - Numpy -- get numpy from here because the official builds don't support x64: | |
# http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy | |
# Mac Dependencies | |
# - brew install python |
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
#!/bin/bash | |
# | |
# 1. This script copies all *.jpg-files to a new folder | |
# 2. Jumps into folder and resizes all files with sips | |
# 3. Renames all files and uses information from sips | |
# | |
folder="processed" | |
height="320" | |
width="160" # not used |