Blame SOURCES/OpenCV-2.4.4-pillow.patch

8b12a2
diff -up OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py.pillow OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py
8b12a2
--- OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py.pillow	2013-01-28 00:00:47.000000000 +0100
8b12a2
+++ OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py	2013-02-18 19:56:11.979405809 +0100
8b12a2
@@ -31,7 +31,8 @@
8b12a2
 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
8b12a2
 # POSSIBILITY OF SUCH DAMAGE.
8b12a2
 
8b12a2
-import sys, math, Image
8b12a2
+import sys, math
8b12a2
+from PIL import Image
8b12a2
 
8b12a2
 def Distance(p1,p2):
8b12a2
   dx = p2[0] - p1[0]
8b12a2
diff -up OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow OpenCV-2.4.4/modules/python/test/ticket_6.py
8b12a2
--- OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow	2013-01-28 00:00:48.000000000 +0100
8b12a2
+++ OpenCV-2.4.4/modules/python/test/ticket_6.py	2013-02-18 19:58:14.288877399 +0100
8b12a2
@@ -2,7 +2,7 @@
8b12a2
 
8b12a2
 import urllib
8b12a2
 import cv2.cv as cv
8b12a2
-import Image
8b12a2
+from PIL import Image
8b12a2
 import unittest
8b12a2
 
8b12a2
 class TestLoadImage(unittest.TestCase):