title: How to use OpenCV Stitcher class with Python?
body: <p>I'm trying to use OpenCV Stitcher class with Python, with no luck. My code is:</p>
  
  <pre><code>import cv2
  stitcher = cv2.createStitcher(False)
  foo = cv2.imread("foo.png")
  bar = cv2.imread("bar.png")
  result = stitcher.stitch((foo,bar))
  </code></pre>
  
  <p>I get a tuple with (1, None).</p>
  
  <p>Following the C++ example, I tried to pass a numpy array as a second argument to stitch() with no luck.</p>