Skip to content

Better zoom and bug fixes

Compare
Choose a tag to compare
@gosha20777 gosha20777 released this 28 Jun 11:26
· 155 commits to master since this release
e0477e0

Change log

  • Update zoom feature - add more useful navigation. (press up down left right arrows on keyboard to move image)
  • Fix some critical bugs

Ussage

Use dockerfile to launch it.

CPU support for Windows/Linux (recommend)/MacOS X
GPU support ONLY for linux, only nvidia graphic support

  1. Instalation

CPU

docker build -t rescuer_la .

GPU

docker build --file Dockerfile.gpu -t rescuer_la_gpu .
  1. Ussage

In some distributive (e.g. Debian / Ubuntu) you should run this command before (see issue #8)

sudo xhost +

CPU

docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-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" \
rescuer_la

GPU

docker run --rm \
--runtime=nvidia \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-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" \
rescuer_la_gpu