Skip to main content
A Lens is a software interface that allows developers to configure and interact with Newton. Lenses define how sensor data flows in and out of Newton and specify how Newton should interpret that data for a given use case.

Parameter Categories

Lens parameters fall into two categories:
  • Basic Parameters control core behavior like analysis focus, timing, and output format. These are the primary settings you’ll adjust for your use case.
  • Advanced Parameters fine-tune performance characteristics like buffering, model replicas, and token limits. Default values work well for most applications.

Activity Monitor Lens

The Activity Monitor Lens analyzes camera data to identify activities, movements, or events within a scene. It detects human and object behaviors for applications like workflow monitoring, interaction tracking, and space usage analysis.

Basic Parameters

Instruction Format

Structure your instruction with these components:

Advanced Parameters

Activity Monitor Lens

Full documentation and configuration examples for the Activity Monitor Lens

Machine State Lens

The Machine State Lens classifies operational states of machines using sensor measurements. It distinguishes between normal operation, stressed conditions, and anomaly or failure modes like overheating, mechanical wear, or misalignment. The lens supports one-shot and few-shot classification, allowing adaptation to new machines without retraining.

Basic Parameters

CSV Configuration Parameters

Advanced Parameters

KNN Configuration Parameters

Machine State Lens

Full documentation and configuration examples for the Machine State Lens

Developer Quickstart

Get started with your first lens

Lenses Overview

Understanding how lenses work

Code Examples

Working examples for hands-on learning

Workbench

Configure lenses in a no-code environment