Lampix Apps API
  • Introduction
  • Application Development
    • Getting Started
      • Up and Running
      • Boilerplate
    • Step by step app
      • What We'll Build
      • Environment Setup
      • Styling
      • HTML Structure
      • NeuralNetworkClassifier
      • MovementBasedSegmenter
      • Final Step
      • Extras
    • LampixJS
      • API Reference
        • Watcher
        • RegisteredWatcher
        • .watchers.add
        • .watchers.remove
        • .watchers.pauseAll
        • .watchers.resumeAll
        • .presets.button
        • .helpers.rectangle
        • getLampixInfo
        • switchToApp
        • exit
        • getApps
        • getAppConfig
        • getAppMetadata
        • writeJsonToFile
        • readJsonFromFile
        • transformRectCoords
        • constants
      • Examples
        • NeuralNetworkClassifier: Buttons
        • MovementBasedSegmenter
        • Counter App
      • Migrating from v0.x.x to v1.0.0-beta.x
      • Ecosystem
    • Deploying
      • Application Structure (production)
      • Local Deploy
    • Standard Watchers
    • Custom Watchers
      • Description
      • Environment Setup
      • Directory Structure
      • End result
      • QRCodeDetector implementation
    • Community
  • Lampix Simulator
    • Installation
    • Usage
      • Basics
Powered by GitBook
On this page

Was this helpful?

  1. Application Development
  2. Custom Watchers

Description

Functionality

Lampix uses watchers to define how web applications can be interacted with in its context. Each watcher can be thought of as behavior for the device that is translated into data for the web app. The device is capable of triggering the Watchers by using an RGB trigger (it detects the changes in a specific zone, defined by the Watcher) or a DEPTH trigger. The [Lampix Watchers](../app-dev/standard-watchers.md) are actively used for detecting button presses, object movement, object height and object shape. A Custom Watcher brings the possibility of adding completely new behavior for Lampix (e.g., by implementing a [QRCodeClassifier](./QRCodeDetector-implementation.md), we will be able to detect QR Codes and pass the encoded information to the web application).

PreviousCustom WatchersNextEnvironment Setup

Last updated 6 years ago

Was this helpful?