From d2d02895a597f772f189b26de995b23fe62e0d7f Mon Sep 17 00:00:00 2001 From: Pinocchioo <35831792+Pinocchioo@users.noreply.github.com> Date: Thu, 17 Dec 2020 10:23:39 +0800 Subject: [PATCH] Fix python examples_09 (#1794) --- examples/tutorial_api_python/09_keypoints_from_heatmaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tutorial_api_python/09_keypoints_from_heatmaps.py b/examples/tutorial_api_python/09_keypoints_from_heatmaps.py index fe09593e..0859c08c 100644 --- a/examples/tutorial_api_python/09_keypoints_from_heatmaps.py +++ b/examples/tutorial_api_python/09_keypoints_from_heatmaps.py @@ -55,7 +55,7 @@ try: datum = op.Datum() imageToProcess = cv2.imread(args[0].image_path) datum.cvInputData = imageToProcess - opWrapper.emplaceAndPop([datum]) + opWrapper.emplaceAndPop(op.VectorDatum([datum])) poseHeatMaps = datum.poseHeatMaps.copy() opWrapper.stop() -- GitLab