Skip to content

Installation

Prerequisites#

  • Linux (Ubuntu/Debian)

    • Docker (sudo apt install docker.io)
    • redis-server (sudo apt install redis-server)
    • wget (sudo apt install wget)
  • Windows/WSL2

    • Ubuntu 22.04.x from the Microsoft store
    • Docker
    • redis-server (sudo apt install redis-server)
    • wget (sudo apt install wget)

Installation#

Go to your home directory:

cd ~

Download the happy-setup.sh script and make it executable:

wget -O happy-setup.sh https://raw.githubusercontent.com/wairas/happy-scripts/main/happy-setup.sh
chmod a+x happy-setup.sh 

Execute the script:

./happy-setup.sh

Minimal installation items to execute:

  • Prepare system (ensures that all required system libraries are present)
  • Install Happy Tools
  • Install SAM-HQ (or if you prefer, Install SAM)

Notes:

  • SAM and SAM-HQ can be installed in parallel, but only one of them can actively running, as they both use the same redis channels for communication (that way they are interchangeable).
  • ADAMS can be used for annotating objects in your scanned images.