Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

2D Visualization

Note: images and annotations in this tutorial are modified from COCO dataset.

Resources

Homework

  1. update your forked repo from my repo(ref)
  2. following 01_git, create a new branch LAST#_08vis2d (ex: pan667_08vis2d) in your forked repo
  3. activate the environment you created in 03_conda
  4. install jupyterlab
  5. copy sample.ipynb to submissions and rename it as LAST#.ipynb
  6. start jupyterlab, it should open a window in your browser. open your LAST#.ipynb
  7. write your code to plot bounding boxes, masks, and texts, as shown in the sample, using the annotatoins.txt (similar to 07_COCO)
    • do not use showanns in pycocotools; plot it yourself with matplotlib
    • for boxes, you can use matplotlib.patches.Rectangle
    • for masks, you can create mask images with transparency and overlay with the original image
    • for texts, you can use ax.text. align text and box at the center
  8. stage changes, commit with the message "learning vis2d", push and submit a pr