Decapod Storycards - Capture

Overview

By default, when a user begins a new book, the capture mode is set to manual.

Capture

Storycard x: Manual capture

- Clicking on the large target area triggers capture from the two cameras, ideally simultaneously, or if not, in quick succession
- Immediately after clicking, and for the duration of the capture, "Click to capture" should be replaced by "Capturing. One moment please..." and an indeterminate progress indicator
- Upon successful capture, the target area should "blink" to visually indicate a successful capture
- Following the "blink", the capture interface should return back to its waiting state (the initial state)

Storycard x: Switch between manual and automatic capture

- In manual (default) capture mode, clicking on the automatic capture button OR "Switch to auto capture" link switches to automatic capture mode in a stopped/paused state
  - Additionally, the pressed/depressed button state for manual-capture swaps, and "Switch to auto capture" link switches to "Switch to manual capture"
- In automatic capture mode, clicking on the manual capture button OR "Switch to manual capture" link switches to manual capture mode in a waiting state
  - Additionally, the pressed/depressed button state for manual-capture swaps, and "Switch to manual capture" link switches to "Switch to auto capture"

Storycard x: Automatic capture

- When entering the automatic capture, the default state should be stopped/paused
- While in the stopped/paused state, the user can change the capture interval (by default, 6 seconds)
  - The field for the interval should accept numbers only
  - Upon submitting the capture interval value, a check against the minimum value (how do we come up with this value?) should be executed
    - If the submitted capture interval value is smaller than the minimum value, an error is displayed, and the "Start automatic capture" interaction is disabled until a valid value is entered
  - Capture interval value should persist for the duration of the session
- When automatic capture is activated:
  - The only interaction possible is stopping/pausing automatic capture--all other UI elements should be disabled
  - A determinate progress indicator shows the time left before next capture
  - The capture interval time should be from end of capture to start of new capture (i.e., capturing time is not included) (this is subject to change)

Storycard x: Unsuccessful capture

- On an unsuccessful capture (i.e., POST returns an error), an appropriate error message should appear (e.g., one of the cameras was disconnected) with the option of attempting capture again