Skip to content

Commit

Permalink
feat: Add headless version of run-demo (#576)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGinn <[email protected]>
  • Loading branch information
brian-intel authored Jun 7, 2024
1 parent 6e96edc commit 5beb772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.PHONY: build build-realsense run down
.PHONY: build-telegraf run-telegraf run-portainer clean-all clean-results clean-telegraf clean-models down-portainer
.PHONY: download-models clean-test run-demo stop-demo
.PHONY: download-models clean-test run-demo run-headless

MKDOCS_IMAGE ?= asc-mkdocs
PIPELINE_COUNT ?= 1
Expand Down Expand Up @@ -53,6 +53,12 @@ run-demo: | download-models update-submodules download-sample-videos
@echo Running automated self checkout pipeline
$(MAKE) run-render-mode

run-headless: | download-models update-submodules download-sample-videos
@echo "Building automated self checkout app"
$(MAKE) build
@echo Running automated self checkout pipeline
$(MAKE) run

build-benchmark:
cd performance-tools && $(MAKE) build-benchmark-docker

Expand Down
3 changes: 2 additions & 1 deletion src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
container_name: camera-simulator
image: aler9/rtsp-simple-server
ports:
- "127.0.0.1:8554:8554"
- "8554:8554"
camera-simulator0:
image: openvino/ubuntu20_data_runtime:2021.4.2
container_name: camera-simulator0
Expand Down Expand Up @@ -41,6 +41,7 @@ services:
network_mode: "host"
entrypoint: /script/entrypoint.sh --pipeline_script_choice ${PIPELINE_SCRIPT:-yolov5s.sh}
privileged: true
ipc: "host"
env_file:
- ./res/gst.env
- ${DEVICE_ENV:-res/all-cpu.env}
Expand Down

0 comments on commit 5beb772

Please sign in to comment.