You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Run Loss Prevention (Recommended for First Time)**
@@ -143,13 +143,13 @@ make run-lp CAMERA_STREAM=camera_to_workload_asc_object_detection_classification
143
143
CAMERA_STREAM=camera_to_workload_asc_object_detection_classification.json WORKLOAD_DIST=workload_to_pipeline_asc_object_detection_classification_gpu.json make run-lp RENDER_MODE=1
144
144
```
145
145
146
-
> **Note:**
147
-
>
148
-
> **Display Options**: Add `RENDER_MODE=1` to any command above to see live video with detection boxes. Remove it for headless operation (servers/automation).
149
-
>
150
-
> **Choose Your Hardware**: Replace `_gpu` with `_cpu` or `_npu` based on your available hardware. See [Automated Self-Checkout Configurations](./get-started/advanced.md#automated-self-checkout-configurations) for all options.
146
+
> **Note:**
147
+
>
148
+
> **Display Options**: Add `RENDER_MODE=1` to any command above to see live video with detection boxes. Remove it for headless operation (servers/automation).
149
+
>
150
+
> **Choose Your Hardware**: Replace `_gpu` with `_cpu` or `_npu` based on your available hardware. See [Automated Self-Checkout Configurations](./get-started/advanced.md#automated-self-checkout-configurations) for all options.
151
151
152
-
## What You'll See When Working
152
+
## What You will See When Working
153
153
154
154
### Loss Prevention Results
155
155
@@ -169,41 +169,41 @@ make run-lp CAMERA_STREAM=camera_to_workload_asc_object_detection_classification
169
169
-**Processing**: Real-time video analysis at 15-30 FPS
170
170
-**Results**: JSON files appear in `results/` folder within seconds
171
171
172
-
4. Verify Results
172
+
##Verify Results
173
173
174
-
After starting Loss Prevention you will begin to see result files being written into the results/ directory. Here are example outputs from the 3 log files.
174
+
After starting Loss Prevention you will begin to see result files being written into the results/ directory. Here are example outputs from the 3 log files.
Got context from element 'vaapipostproc1': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0", gst.vaapi.Display.GObject=(GstObject)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
182
-
Progress: (open) Opening Stream
183
-
Pipeline is PREROLLED ...
184
-
Prerolled, waiting for progress to finish...
185
-
Progress: (connect) Connecting to rtsp://localhost:8554/camera_0
Got context from element 'vaapipostproc1': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0", gst.vaapi.Display.GObject=(GstObject)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
182
+
Progress: (open) Opening Stream
183
+
Pipeline is PREROLLED ...
184
+
Prerolled, waiting for progress to finish...
185
+
Progress: (connect) Connecting to rtsp://localhost:8554/camera_0
186
+
Progress: (open) Retrieving server options
187
+
Progress: (open) Retrieving media info
188
+
Progress: (request) SETUP stream 0
189
+
```
192
190
193
-
```
194
-
14.58
195
-
14.58
196
-
15.47
197
-
15.47
198
-
15.10
199
-
15.10
200
-
14.60
201
-
14.60
202
-
14.88
203
-
14.88
204
-
```
191
+
Sample `pipeline<time>\_gst.log` output:
192
+
193
+
```text
194
+
14.58
195
+
14.58
196
+
15.47
197
+
15.47
198
+
15.10
199
+
15.10
200
+
14.60
201
+
14.60
202
+
14.88
203
+
14.88
204
+
```
205
205
206
-
r<time>\_gst.jsonl
206
+
Sample `r<time>\_gst.jsonl` output:
207
207
208
208
```json
209
209
{
@@ -276,19 +276,19 @@ make run-lp CAMERA_STREAM=camera_to_workload_asc_object_detection_classification
276
276
277
277
> **Note:** If unable to see results folder or files, please refer to the [Troubleshooting](#troubleshooting) section for more details.
278
278
279
-
5.Stop the containers:
279
+
## Stop the containers
280
280
281
-
When pre-built images are pulled-
281
+
When pre-built images are pulled-
282
282
283
-
```bash
284
-
make down-lp
285
-
```
283
+
```bash
284
+
make down-lp
285
+
```
286
286
287
-
When images are built locally-
287
+
When images are built locally-
288
288
289
-
```bash
290
-
make down-lp REGISTRY=false
291
-
```
289
+
```bash
290
+
make down-lp REGISTRY=false
291
+
```
292
292
293
293
## Troubleshooting
294
294
@@ -298,6 +298,7 @@ make run-lp CAMERA_STREAM=camera_to_workload_asc_object_detection_classification
298
298
```sh
299
299
docker ps -a
300
300
```
301
+
301
302
- Verify Docker containers if it is running or no errors in container logs
0 commit comments