FindContours on black image, ticket 303

pull/13383/head
James Bowman 15 years ago
parent a7faa9afa4
commit ab7b50d3ca
  1. 5
      tests/python/test.py

@ -464,6 +464,11 @@ class FunctionTests(OpenCVTests):
scratch = cv.CreateImage((800,800), 8, 1)
cv.SetZero(scratch)
seq = cv.FindContours(scratch, storage, cv.CV_RETR_TREE, cv.CV_CHAIN_APPROX_SIMPLE)
x = len(seq)
if seq:
pass
for s in seq:
pass
for trial in range(10):
scratch = cv.CreateImage((800,800), 8, 1)

Loading…
Cancel
Save