Skip to content

RISE-Maritime/keelson-connector-camera

Repository files navigation

Keelson Connector Camera

TODO:

Keelson processor for creating an realtime panorama image based on multiple camera sensors

Quick start

python3 bin/main.py --log-level 10 -r rise -e boatswain -s axis-1 --camera rtsp://root:prepare@10.10.20.2/axis-media/media.amp?camera=1 --send jpeg

Setup for development environment on your own computer:

  1. Install Docker Desktop for Windows

    • Docker desktop will provide you with an UI for monitoring and controlling docker containers and images along debugging
    • If you want to learn more about docker and its building blocks of images and containers checkout Docker quick hands-on in guide
  2. Start up of Zenoh router either in your computer or any other computer within your local network

     # Navigate to folder containing docker-compose.zenoh-router.yml
    
     # Start router with log output 
     docker-compose -f containing docker-compose.zenoh-router.yml up 
    
     # If no obvious errors, stop container "ctrl-c"
    
     # Start container and let it run in the background/detached (append -d) 
     docker-compose -f containing docker-compose.zenoh-router.yml up -d

    Link to --> docker-compose.zenoh-router.yml

  3. Now the Zenoh router is hopefully running in the background and should be available on localhost:8000. This can be example tested with Zenoh Rest API or continue to next step running Python API

  4. Set up python virtual environment python >= 3.11

    1. Install package pip install -r requirements.txt
  5. Now you are ready to explore some example scripts in the exploration folder

    1. Sample are coming from:

Zenoh CLI for debugging and problem solving