Fixed shebangs, added error checking

This commit is contained in:
Moshe Kaplan
2013-03-06 01:41:02 -05:00
parent c0ba0c9099
commit bd042d9cc3
48 changed files with 310 additions and 129 deletions

View File

@@ -1,5 +1,3 @@
#/usr/bin/env python
#!/usr/bin/env python
'''
mouse_and_match.py [-i path | --input path: default ./]
@@ -11,12 +9,15 @@ Demonstrate using a mouse to interact with an image:
ESC to exit
'''
import numpy as np
from math import *
import sys
import cv2 as cv
# built-in modules
import os
import sys
import glob
import argparse
import cv2 as cv
from math import *
drag_start = None
sel = (0,0,0,0)