Traceback (most recent call last):


 "withOpenCV.py", line 89, in <module>

show_labels_on_webcam(rgb_small_frame, predictions)


 "withOpenCV.py", line 60, in show_labels_on_webcam

cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)
TypeError: Layout of the output array img is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels)


Traceback (most recent call last):

 "<string>", line 20, in <module>

 "/tmp/pip-build-wfdn4b93/djangocms-placeholder-attr/setup.py", line 34, in <module>
zip_safe=False,

 "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()

 "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)

 "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()

 "<string>", line 14, in replacement_run

 "/home/randy/PycharmProjects/Ops_python3/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 388, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)

 "/usr/lib/python3.4/distutils/dist.py", line 1108, in write_pkg_info
self.write_pkg_file(pkg_info)

 "/usr/lib/python3.4/distutils/dist.py", line 1129, in write_pkg_file
long_desc = rfc822_escape(self.get_long_description())

 "/usr/lib/python3.4/distutils/util.py", line 470, in rfc822_escape
lines = header.split('\n')
TypeError: 'str' does not support the buffer interface