Skip to main content

DISCOVER is a lightweight server designed to create and manage machine learning jobs based on requests.

Project description

DISCOVER - A Modular Software Framework for Human Behavior Analysis

Overview

DISCOVER is an open-source software framework designed to facilitate computational-driven data exploration in human behavior analysis. This user-friendly and modular platform streamlines complex methodologies, enabling researchers across disciplines to engage in detailed behavioral analysis without extensive technical expertise.

Key Features

  • Modularity: DISCOVER's modular architecture allows for easy integration of new features and customization.
  • User-Friendliness: Intuitive interface simplifies the data exploration process, making it accessible to non-technical users.
  • Flexibility: Supports a wide range of data types and analysis workflows.
  • Scalability: Handles large datasets with ease.

Use Cases

  • Interactive Semantic Content Exploration
  • Visual Inspection
  • Aided Annotation
  • Multimodal Scene Search

Getting Started

DISCOVER provides a set of blueprints for exploratory data analysis, serving as a starting point for researchers to engage in detailed behavioral analysis.

Prerequesites

Before starting to install DISCOVER you need to install Python and FFMPEG. While other Python versions may work as well the module is only tested for the following versions:

  • 3.9.x
  • 3.10.x
  • 3.11.x

You can download the current version of python for your system here.

Download the current version off FFMPEG binaries from here for your system and make sure to extract them to a place that is in your system path. It is recommended to setup a separate virtual environment to isolate the NOVA server installation from your system python installation. To do so, open a terminal at the directory where your virtual environment should be installed and paste the following command:

python -m venv discover-venv

You can then activate the virtual environment like this:

.\discover-venv\Scripts\activate

Setup

Install DISCOVER using pip like this:

pip install hcai-discover

Start the server

To start DISCOVER you just open a Terminal and type

discover

DISCOVER takes the following optional arguments as input:

--env: '' : Path to a dotenv file containing your server configuration

--host: 0.0.0.0 : The IP for the Server to listen

--port : 8080 : The port for the Server to be bound to

--cml_dir : cml : The cooperative machine learning directory containing DISCOVER modules (available at: https://github.com/hcmlab/discover-modules)

--data_dir : data : Directory where the data resides

--cache_dir : cache : Cache directory for Models and other downloadable content

--tmp_dir : tmp : Directory to store data for temporary usage

--log_dir : log : Directory to store logfiles.

--use_tls : Enable TLS/SSL for HTTPS connections (requires certificates)

Internally DISCOVER converts the input to environment variables with the following names:

DISCOVER_HOST, DISCOVER_PORT, DISCOVER_CML_DIR, DISCOVER_DATA_DIR, DISCOVER_CACHE_DIR, DISCOVER_TMP_DIR, DISCOVER_LOG_DIR, DISCOVER_USE_TLS

All variables can be either passed directly as commandline argument, set in a dotenv file or as system wide environment variables. During runtime the arguments will be prioritized in this order commandline arguments -> dotenv file -> environment variable -> default value.

If the server started successfully your console output should look like this:

Starting DISCOVER v1.0.0...
HOST: 0.0.0.0
PORT: 8080
DISCOVER_CML_DIR : cml
DISCOVER_DATA_DIR : data
DISCOVER_CACHE_DIR : cache
DISCOVER_TMP_DIR : tmp
DISCOVER_LOG_DIR : log
...done
DISCOVER HTTP server starting on 0.0.0.0:8080

Modules

DISCOVER modules contain the machine learning models and processing pipelines. You can get the official modules from:

https://github.com/hcmlab/discover-modules

Clone or download the modules repository and set the --cml_dir parameter to point to the modules directory.

You can find the full documentation of the project here.

Citation

If you use DISCOVER consider citing the following paper:

@article{schiller2024discover,
title={DISCOVER: A Data-driven Interactive System for Comprehensive Observation, Visualization, and ExploRation of Human Behaviour},
author={Schiller, Dominik and Hallmen, Tobias and Withanage Don, Daksitha and Andr{\'e}, Elisabeth and Baur, Tobias},
journal={arXiv e-prints},
pages={arXiv--2407},
year={2024}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hcai_discover-1.0.7.tar.gz (60.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hcai_discover-1.0.7-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

Details for the file hcai_discover-1.0.7.tar.gz.

File metadata

  • Download URL: hcai_discover-1.0.7.tar.gz
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hcai_discover-1.0.7.tar.gz
Algorithm Hash digest
SHA256 259ec78e5bafdf61fb22ec55e9adda4d9ff2c94d36020002005f3fb13424e24d
MD5 ad03d4344d367856228bb781cc87394a
BLAKE2b-256 3744ed7f61ed5b500756c41f54c6bb7718afe99c2f95d0ce7d18c1f41af9b33a

See more details on using hashes here.

File details

Details for the file hcai_discover-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: hcai_discover-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 65.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for hcai_discover-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9fa711227c7f181e9ca11c80ac471c255413a6d94c415cb86d2b0da97fedadbb
MD5 3ac4c24d449d30ab0a8a379084871a30
BLAKE2b-256 72e8b908fa9c9ea1fd5831a4bb1f384dcc9f324d226dc57abcc6fa82de55d67b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page