The first time you run labelme, it will create a config file in ~/.labelmerc.Annotations will be stored in this directory with a name that corresponds to the image that the annotation was made on. json, the program will assume it is a directory. Only one image can be annotated if a location is specified with. json, a single annotation will be written to this file. -output specifies the location that annotations will be written to.Labelme data_annotated/ -labels labels.txt # specify label list with a fileįor more advanced usage, please refer to the examples: Labelme data_annotated/ # Open directory to annotate all images in it labels highland_6539_self_stick_notes,mead_index_cards,kong_air_dog_squeakair_tennis_ball # specify label list # semantic segmentation example cd examples/semantic_segmentation Labelme apc2016_obj3.jpg -nodata # not include image data but relative image path in JSON file Labelme apc2016_obj3.jpg -O apc2016_obj3.json # close window after the save Labelme apc2016_obj3.jpg # specify image file labelme # just open gui # tutorial (single image example) cd examples/tutorial The annotations are saved as a JSON file.
# or install standalone executable/app from: # Usage Install Anaconda, then in an Anaconda Prompt run: conda create -name =labelme python = 3
# or install standalone executable from: # macOS brew install pyqt # maybe pyqt5īrew install wkentaro/labelme/labelme # command line interface # brew install -cask wkentaro/labelme/labelme # app # or install standalone executable/app from: # Windows Socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT: \" $DISPLAY \" &ĭocker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY =.internal:0 -v $( pwd ):/root/workdir wkentaro/labelmeĭocker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY =:0 -v $( pwd ):/root/workdir wkentaro/labelme You need install docker, then run below: # on macOS # or you can install everything by conda command # conda install labelme -c conda-forge Docker # conda install -c conda-forge pyside2 # conda install pyqt # pip install pyqt5 # pyqt5 can be installed via pip on python3 You need install Anaconda, then run below: # python3Ĭonda create -name =labelme python = 3 source activate labelme