Skip to content

feat(barcode-scanning): pause and resume scan #298

@matthiasschwarz

Description

@matthiasschwarz

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Subject Segmentation
  • Translation

Current problem

It would be nice to be able to pause and resume a scan. This would allow to display a loading state during scanning in which the preview is frozen.

This aligns with the material design which recommends:

When a barcode has been detected by the camera... Search and display search progress if the barcode’s value needs to be looked up. In this phase... The camera feed pauses to prevent scanning another barcode.

Reference: m2.material.io

Preferred solution

New functions for pausing and resuming a scan. Like pauseScan and resumeScan.

Alternative options

No response

Additional context

Example of pausing and resuming a scan:

experience_communicate_browsing.mp4

Source

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions