diff python/cvutils.py @ 665:15e244d2a1b5

corrected bug with circular import for VideoFilenameAddable, moved to base module
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 20 May 2015 13:57:47 +0200
parents dc70d9e711f5
children 5473b7460375
line wrap: on
line diff
--- a/python/cvutils.py	Wed May 20 12:04:22 2015 +0200
+++ b/python/cvutils.py	Wed May 20 13:57:47 2015 +0200
@@ -1,6 +1,8 @@
 #! /usr/bin/env python
 '''Image/Video utilities'''
 
+import utils
+
 try:
     import cv2
     opencvAvailable = True
@@ -16,12 +18,8 @@
     
 from sys import stdout
 
-import utils
+#import aggdraw # agg on top of PIL (antialiased drawing)
 
-#import aggdraw # agg on top of PIL (antialiased drawing)
-#import utils
-
-__metaclass__ = type
 
 cvRed = (0,0,255)
 cvGreen = (0,255,0)