AmountEstimate

Returning all information of Amount estimation and directions how to move the device for better estimation

Attribute
Description

estimationQuality

The quality of the estimate (eventually for feedback to the user or SDK-based app developer).

moveDevice

Hints on how to move the device for better estimation (optional).

viewingAngle

The angle in radians from the perpendicular surface (optional).

volumeEstimate

Scanned volume estimate in milliliters (optional).

weightEstimate

Scanned amount in grams (optional).


/**
 * Returning all information of Amount estimation and directions how to move the device for better estimation
 */
export interface AmountEstimate {
  /**
   * The quality of the estimate (eventually for feedback to the user or SDK-based app developer)
   */
  estimationQuality: EstimationQuality

  /**
   * Hints how to move the device for better estimation.
   */
  moveDevice?: MoveDirection

  /**
   * The Angel in radians from the perpendicular surface.
   */
  viewingAngle?: number

  /**
   * Scanned Volume estimate in ml
   */
  volumeEstimate?: number

  /**
   *  Scanned Amount in grams
   */
  weightEstimate?: number
}

Last updated