Explorar o código

Draw original image in labelme_draw_json

Kentaro Wada %!s(int64=7) %!d(string=hai) anos
pai
achega
db3f97665d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      scripts/labelme_draw_json

+ 3 - 0
scripts/labelme_draw_json

@@ -21,6 +21,9 @@ def main():
 
     lbl_viz = utils.draw_label(lbl, img, lbl_names)
 
+    plt.subplot(121)
+    plt.imshow(img)
+    plt.subplot(122)
     plt.imshow(lbl_viz)
     plt.show()