Skip to content
Snippets Groups Projects
Commit 70585f5c authored by ssibirtsev's avatar ssibirtsev
Browse files

Update visualize.py

parent 26a89d46
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ def display_instances(image, boxes, masks, class_ids, class_names,
if save_img:
#choose = round(number_saved_images * random.random()) # save processed image
if (counter_1 == number_saved_images):
plt.savefig(os.path.join(save_dir, img_name + '.jpg'),bbox_inches='tight', pad_inches=False, orientation= 'landscape')
plt.savefig(os.path.join(save_dir, img_name),bbox_inches='tight', pad_inches=False, orientation= 'landscape')
plt.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment