Epson BT-2000 Developers Guide - Page 90

Depth Information Acquisition Flow Details

Page 90 highlights

6.8. Depth Information Acquisition Flow Details Figure 6-6 shows the mechanical status for the camera application (camera app) when acquiring depth information. You need to perform the following five steps to acquire depth information. (1) Set the camera mode to depth-only. (2) When using edof mode, readjust for edof mode*. (3) The preview starts after step (1). (4) Depth information acquisition starts after step (2). (5) Register the depth callback method at the optimal time. The camera app sets the camera mode, resolution, preview starts and transfers to preview status. If the preview starts immediately, depth information acquisition is stopped. Start depth information acquisition (startDepthStreaming) to transfer to the depth information acquisition status. The depth information acquisition can be used in the edof or depth-only mode. If the camera is in a mode that cannot acquire depth information (side by side or single-through), an exception is generated. If depth callback has already been registered during depth information acquisition, then this can be processed based on the depth information in the callback function. For registering depth callback, use the onDepthMap API for setDepthCallback and processing depth information. When returning to a depth information acquisition stop status, you will need to stop the depth information acquisition (stopDepthStreaming). When stopping a preview during the depth information acquisition, the depth information acquisition will be processed at the same time. * When depth data is used in edof mode, perform depth-only. MOVERIO Pro Developer's Guide (Rev.1.0) 86

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

MOVERIO Pro Developer's Guide (Rev.1.0)
86
6.8.
Depth Information Acquisition Flow Details
Figure
6-6
shows the mechanical status for the camera application (camera app) when
acquiring depth information. You need to perform the following five steps to acquire depth
information.
(1)
Set the camera mode to depth-only.
(2)
When using edof mode, readjust for edof mode*.
(3)
The preview starts after step (1).
(4)
Depth information acquisition starts after step (2).
(5)
Register the depth callback method at the optimal time.
The camera app sets the camera mode, resolution,
preview starts
and transfers to preview
status.
If the preview starts immediately, depth information acquisition is stopped.
Start depth
information acquisition (startDepthStreaming)
to transfer to the depth information acquisition
status. The depth information acquisition can be used in the edof or depth-only mode.
If the camera is in a mode that cannot acquire depth information (side by side or
single-through), an exception is generated. If
depth callback has already been registered
during depth information acquisition, then this can be processed based on the depth
information in the callback function. For registering depth callback, use the onDepthMap API
for setDepthCallback and processing depth information.
When returning to a depth information acquisition stop status, you will need to stop the depth
information acquisition (stopDepthStreaming). When stopping a preview during the depth
information acquisition, the depth information acquisition will be processed at the same time.
* When depth data is used in edof mode, perform depth-only.