HumanSignal / labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.
https://youtu.be/p0nR2YsCY_U
MIT License
22.51k stars 6.27k forks source link

How to use this tool on linux server? #681

Open sogand145 opened 3 years ago

sogand145 commented 3 years ago

Hi, Is it possible to use this tool on own linux server? Thanks for your help!

tzutalin commented 3 years ago

I haven't tried it yet. As long as you have a window system(x11), it should work

For example, run inside the container

docker run -it \
--user $(id -u) \
-e DISPLAY=unix$DISPLAY \
--workdir=$(pwd) \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
tzutalin/py2qt4

make qt4py2;./labelImg.py
sogand145 commented 3 years ago

Thansk, I'll try to check it

PExplorer commented 3 years ago

@sogand145 Are you able to run the tool in linux server?