Skip to content

Commit

Permalink
Merge pull request openvinotoolkit#2194 from eizamaliev/py_detection_…
Browse files Browse the repository at this point in the history
…demo_fix

Fix Python's object detection demo for support person-detection-0203 model
  • Loading branch information
Roman Donchenko authored Mar 12, 2021
2 parents c70800f + e21fca1 commit 26d6aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/common/python/models/ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _get_output_parser(self, net, image_blob_name, bboxes='bboxes', labels='labe
pass

try:
parser = BoxesLabelsParser(net.outputs, net.input_info[image_blob_name].input_data.shape[2:])
parser = BoxesLabelsParser(net.outputs, net.input_info[image_blob_name].input_data.shape[2:][::-1])
self.logger.info('Use BoxesLabelsParser')
return parser
except ValueError:
Expand Down

0 comments on commit 26d6aba

Please sign in to comment.