Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,9 @@ cython_debug/
# depthai models
.depthai_cached_models

.python-version
.python-version

# npm modules
node_modules/
dist/
styled-system/
6 changes: 3 additions & 3 deletions camera-controls/lossless-zooming/oakapp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
identifier = "com.example.camere-controls.lossless-zooming"
identifier = "com.luxonis.camere-controls.lossless-zooming"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default I think we should still keep the identifiers to com.example and change to com.luxonis just locally (or in CI/CD in the future) when app is being built for upload

entrypoint = ["bash", "-c", "/usr/bin/runsvdir -P /etc/service"]
app_version = "1.0.0"
app_version = "1.0.1"
assign_frontend_port = true

prepare_container = [
Expand All @@ -23,4 +23,4 @@ oauth_url = "https://auth.docker.io/token"
auth_type = "repository"
auth_name = "luxonis/oakapp-base"
image_name = "luxonis/oakapp-base"
image_tag = "1.2.5"
image_tag = "1.2.6"
3 changes: 3 additions & 0 deletions depth-measurement/triangulation/backend-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo "Starting Backend"
exec python3.12 /app/main.py
29 changes: 19 additions & 10 deletions depth-measurement/triangulation/oakapp.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
identifier = "com.example.depth-measurement.triangulation"
app_version = "1.0.0"
identifier = "com.luxonis.depth-measurement.triangulation"
entrypoint = ["bash", "-c", "/usr/bin/runsvdir -P /etc/service"]
app_version = "1.0.1"
assign_frontend_port = true

prepare_container = [
{ type = "RUN", command = "apt-get update" },
{ type = "RUN", command = "apt-get install -y python3-pip" },
{ type = "COPY", source = "requirements.txt", target = "requirements.txt" },
{ type = "RUN", command = "pip3 install -r /app/requirements.txt --break-system-packages" },
{ type = "COPY", source = "./requirements.txt", target = "./requirements.txt" },
{ type = "RUN", command = "python3.12 -m pip install -r /app/requirements.txt --break-system-packages"}
]

prepare_build_container = []

build_steps = []
build_steps = [
"mkdir -p /etc/service/backend",
"cp /app/backend-run.sh /etc/service/backend/run",
"chmod +x /etc/service/backend/run",
]

depthai_models = { yaml_path = "./depthai_models" }

entrypoint = ["bash", "-c", "python3 -u /app/main.py"]
[base_image]
api_url = "https://registry-1.docker.io"
service = "registry.docker.io"
oauth_url = "https://auth.docker.io/token"
auth_type = "repository"
auth_name = "luxonis/oakapp-base"
image_name = "luxonis/oakapp-base"
image_tag = "1.2.6"
3 changes: 3 additions & 0 deletions neural-networks/face-detection/age-gender/backend-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo "Starting Backend"
exec python3.12 /app/main.py
29 changes: 19 additions & 10 deletions neural-networks/face-detection/age-gender/oakapp.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
identifier = "com.example.face-detection.age-gender"
app_version = "1.0.0"
identifier = "com.luxonis.face-detection.age-gender"
entrypoint = ["bash", "-c", "/usr/bin/runsvdir -P /etc/service"]
app_version = "1.0.1"
assign_frontend_port = true

prepare_container = [
{ type = "RUN", command = "apt-get update" },
{ type = "RUN", command = "apt-get install -y python3-pip" },
{ type = "COPY", source = "requirements.txt", target = "requirements.txt" },
{ type = "RUN", command = "pip3 install -r /app/requirements.txt --break-system-packages" },
{ type = "COPY", source = "./requirements.txt", target = "./requirements.txt" },
{ type = "RUN", command = "python3.12 -m pip install -r /app/requirements.txt --break-system-packages"}
]

prepare_build_container = []

build_steps = []
build_steps = [
"mkdir -p /etc/service/backend",
"cp /app/backend-run.sh /etc/service/backend/run",
"chmod +x /etc/service/backend/run",
]

depthai_models = { yaml_path = "./depthai_models" }

entrypoint = ["bash", "-c", "python3 -u /app/main.py"]
[base_image]
api_url = "https://registry-1.docker.io"
service = "registry.docker.io"
oauth_url = "https://auth.docker.io/token"
auth_type = "repository"
auth_name = "luxonis/oakapp-base"
image_name = "luxonis/oakapp-base"
image_tag = "1.2.6"
3 changes: 3 additions & 0 deletions neural-networks/ocr/general-ocr/backend-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo "Starting Backend"
exec python3.12 /app/main.py
29 changes: 19 additions & 10 deletions neural-networks/ocr/general-ocr/oakapp.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
identifier = "com.example.ocr.general-ocr"
app_version = "1.0.0"
identifier = "com.luxonis.ocr.general-ocr"
entrypoint = ["bash", "-c", "/usr/bin/runsvdir -P /etc/service"]
app_version = "1.0.1"
assign_frontend_port = true

prepare_container = [
{ type = "RUN", command = "apt-get update" },
{ type = "RUN", command = "apt-get install -y python3-pip" },
{ type = "COPY", source = "requirements.txt", target = "requirements.txt" },
{ type = "RUN", command = "pip3 install -r /app/requirements.txt --break-system-packages" },
{ type = "COPY", source = "./requirements.txt", target = "./requirements.txt" },
{ type = "RUN", command = "python3.12 -m pip install -r /app/requirements.txt --break-system-packages"}
]

prepare_build_container = []

build_steps = []
build_steps = [
"mkdir -p /etc/service/backend",
"cp /app/backend-run.sh /etc/service/backend/run",
"chmod +x /etc/service/backend/run",
]

depthai_models = { yaml_path = "./depthai_models" }

entrypoint = ["bash", "-c", "python3 -u /app/main.py"]
[base_image]
api_url = "https://registry-1.docker.io"
service = "registry.docker.io"
oauth_url = "https://auth.docker.io/token"
auth_type = "repository"
auth_name = "luxonis/oakapp-base"
image_name = "luxonis/oakapp-base"
image_tag = "1.2.6"
Loading