问题重现:
解决办法:
将语句
image_process = detect_objects(image, sess, detection_graph)
修改为
image_process=detect_objects(np.array(image),sess,detection_graph)
完美解决!!!
问题重现:
解决办法:
将语句
image_process = detect_objects(image, sess, detection_graph)
修改为
image_process=detect_objects(np.array(image),sess,detection_graph)
完美解决!!!