parent
bf18a5b82b
commit
4071339704
@ -1,27 +0,0 @@
|
||||
diff -up OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp.codecs OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp
|
||||
--- OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp.codecs 2012-09-06 00:55:12.000000000 +0200
|
||||
+++ OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp 2013-01-06 00:14:14.628006270 +0100
|
||||
@@ -442,12 +442,19 @@ protected:
|
||||
|
||||
void CvVideoWriter_GStreamer::init()
|
||||
{
|
||||
- encs[CV_FOURCC('H','F','Y','U')]=(char*)"ffenc_huffyuv";
|
||||
encs[CV_FOURCC('D','R','A','C')]=(char*)"diracenc";
|
||||
- encs[CV_FOURCC('X','V','I','D')]=(char*)"xvidenc";
|
||||
- encs[CV_FOURCC('X','2','6','4')]=(char*)"x264enc";
|
||||
+ encs[CV_FOURCC('H','F','Y','U')]=(char*)"ffenc_huffyuv";
|
||||
+ encs[CV_FOURCC('J','P','E','G')]=(char*)"jpegenc";
|
||||
+ encs[CV_FOURCC('M','J','P','G')]=(char*)"jpegenc";
|
||||
encs[CV_FOURCC('M','P','1','V')]=(char*)"mpeg2enc";
|
||||
- //encs[CV_FOURCC('M','P','2','V')]=(char*)"mpeg2enc";
|
||||
+ encs[CV_FOURCC('M','P','2','V')]=(char*)"mpeg2enc";
|
||||
+ encs[CV_FOURCC('T','H','E','O')]=(char*)"theoraenc";
|
||||
+ encs[CV_FOURCC('V','P','8','0')]=(char*)"vp8enc";
|
||||
+ encs[CV_FOURCC('H','2','6','4')]=(char*)"x264enc";
|
||||
+ encs[CV_FOURCC('X','2','6','4')]=(char*)"x264enc";
|
||||
+ encs[CV_FOURCC('X','V','I','D')]=(char*)"xvidenc";
|
||||
+ encs[CV_FOURCC('F','F','Y','U')]=(char*)"y4menc";
|
||||
+ //encs[CV_FOURCC('H','F','Y','U')]=(char*)"y4menc";
|
||||
pipeline=0;
|
||||
buffer=0;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
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
|
||||
--- OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py.pillow 2013-01-28 00:00:47.000000000 +0100
|
||||
+++ OpenCV-2.4.4/modules/contrib/doc/facerec/src/crop_face.py 2013-02-18 19:56:11.979405809 +0100
|
||||
@@ -31,7 +31,8 @@
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-import sys, math, Image
|
||||
+import sys, math
|
||||
+from PIL import Image
|
||||
|
||||
def Distance(p1,p2):
|
||||
dx = p2[0] - p1[0]
|
||||
diff -up OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow OpenCV-2.4.4/modules/python/test/ticket_6.py
|
||||
--- OpenCV-2.4.4/modules/python/test/ticket_6.py.pillow 2013-01-28 00:00:48.000000000 +0100
|
||||
+++ OpenCV-2.4.4/modules/python/test/ticket_6.py 2013-02-18 19:58:14.288877399 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import urllib
|
||||
import cv2.cv as cv
|
||||
-import Image
|
||||
+from PIL import Image
|
||||
import unittest
|
||||
|
||||
class TestLoadImage(unittest.TestCase):
|
@ -1,26 +0,0 @@
|
||||
Index: OpenCV-2.4.3/modules/contrib/doc/facerec/src/crop_face.py
|
||||
===================================================================
|
||||
--- OpenCV-2.4.3.orig/modules/contrib/doc/facerec/src/crop_face.py
|
||||
+++ OpenCV-2.4.3/modules/contrib/doc/facerec/src/crop_face.py
|
||||
@@ -31,7 +31,8 @@
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-import sys, math, Image
|
||||
+import sys, math
|
||||
+from PIL import Image
|
||||
|
||||
def Distance(p1,p2):
|
||||
dx = p2[0] - p1[0]
|
||||
Index: OpenCV-2.4.3/modules/python/test/ticket_6.py
|
||||
===================================================================
|
||||
--- OpenCV-2.4.3.orig/modules/python/test/ticket_6.py
|
||||
+++ OpenCV-2.4.3/modules/python/test/ticket_6.py
|
||||
@@ -1,6 +1,6 @@
|
||||
import urllib
|
||||
import cv2.cv as cv
|
||||
-import Image
|
||||
+from PIL import Image
|
||||
import unittest
|
||||
|
||||
class TestLoadImage(unittest.TestCase):
|
Loading…
Reference in new issue