Traceback (most recent call last):


 "/data/zhangshihao/SynthText/synthgen.py", line 617, in render_text

regions = self.filter_for_placement(xyz,seg,regions)


 "/data/zhangshihao/SynthText/synthgen.py", line 393, in filter_for_placement

res = get_text_placement_mask(xyz,seg==l,regions['coeff'][idx],pad=2)


 "/data/zhangshihao/SynthText/synthgen.py", line 221, in get_text_placement_mask

method=cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/pi/.local/lib/python3.7/site-packages/imdb/__init__.py", line 462, in search_movie_advanced

accessSystem=self.accessSystem) for mi, md in res][:results]


 "/home/pi/.local/lib/python3.7/site-packages/imdb/__init__.py", line 462, in <listcomp>

accessSystem=self.accessSystem) for mi, md in res][:results]
ValueError: too many values to unpack (expected 2)
