Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 0 additions & 6 deletions deployments/apps/ps/backend/proc-segmenter.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@ package: /packages/core/apps/planktoscope/device-backend/processing/segmenter
features:
- object-stream-mjpeg
- deploy
# - dev-machinename
# - dev-data
# - dev-logs
# - dev-src
# Uncomment the following line to re-enable subtraction of masks between consecutive frames:
# - pipeline-subtract-consecutive-masks
disabled: false

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,6 @@ package:
sources:
- https://github.com/PlanktoScope/device-backend

deployment:
compose-files:
- deployment.compose.yml
tags:
- device-portal.name=PlanktoScope object segmenter
- device-portal.description=Provides an MQTT service on /segmenter and /status/segmenter for operating the PlanktoScope object segmenter
- device-portal.type=Network APIs
- device-portal.purpose=PlanktoScope operation
requires:
services:
- tags: [mqtt-broker]
port: 1883
protocol: mqtt
nonblocking: false # absence of the MQTT server is not yet handled
filesets:
- description: Directories for datasets
paths:
- /home/pi/data/img
- /home/pi/data/export
- description: Directories for logging
paths:
- /home/pi/device-backend-logs/processing/segmenter
provides:
services:
- description: MQTT handling of segmenter commands and broadcasting of segmenter statuses
tags: [planktoscope-api-v2]
port: 1883
protocol: mqtt
paths:
- /segmenter/segment
- /status/segmenter
- /status/segmenter/name
- /status/segmenter/object_id
- /status/segmenter/metric
filesets:
- description: Directory for intermediate results
paths:
- /home/pi/data/obj

features:
object-stream-mjpeg:
description: Provides access to the last segmented object MJPEG stream
Expand Down Expand Up @@ -82,25 +43,3 @@ features:
- description: Machine name
paths:
- /run/machine-name
dev-machinename:
description: Allows a machine name to be set in a file for development & troubleshooting
compose-files:
- dev-machinename.compose.yml
dev-data:
description: Allows the segmenter to read and write datasets
compose-files:
- dev-data.compose.yml
dev-logs:
description: Allows the segmenter's logs to be accessed and saved on disk
compose-files:
- dev-logs.compose.yml
dev-src:
description: Allows the source code to be overwritten from an existing codebase for development & troubleshooting
compose-files:
- dev-src.compose.yml
pipeline-subtract-consecutive-masks:
description:
Default to enabling subtraction of consecutive segmentation masks from each other as part of
the segmentation pipeline, for stronger suppression of duplicate objects.
compose-files:
- pipeline-subtract-consecutive-masks.compose.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,9 @@ deployment:
- /actuator/pump
- /actuator/focus
- /imager/image
- /segmenter/segment
- /status/pump
- /status/focus
- /status/imager
- /status/segmenter
- /status/segmenter/name
- /status/segmenter/object_id
- /status/segmenter/metric
# TODO: add fileset dependencies for /home/pi/PlanktoScope/config.json,
# /home/pi/PlanktoScope/hardware.json, /home/pi/data/img,
# /home/pi/PlanktoScope/scripts/bash/usb_backup.sh,
Expand All @@ -63,11 +58,11 @@ features:
compose-files:
- editor.compose.yml
tags:
- device-portal.name=Node-RED dashboard editor
- device-portal.description=Provides a Node-RED flow editor to modify the Node-RED dashboard
- device-portal.type=Browser applications
- device-portal.purpose=Software development
- device-portal.entrypoint=/admin/ps/node-red-v2/
- device-portal.name=Node-RED dashboard editor
- device-portal.description=Provides a Node-RED flow editor to modify the Node-RED dashboard
- device-portal.type=Browser applications
- device-portal.purpose=Software development
- device-portal.entrypoint=/admin/ps/node-red-v2/
requires:
networks:
- description: Overlay network for Caddy to connect to upstream services
Expand All @@ -93,11 +88,11 @@ features:
compose-files:
- frontend.compose.yml
tags:
- device-portal.name=Node-RED dashboard
- device-portal.description=Provides a Node-RED dashboard to operate the PlanktoScope
- device-portal.type=Browser applications
- device-portal.purpose=PlanktoScope operation
- device-portal.entrypoint=/ps/node-red-v2/ui/
- device-portal.name=Node-RED dashboard
- device-portal.description=Provides a Node-RED dashboard to operate the PlanktoScope
- device-portal.type=Browser applications
- device-portal.purpose=PlanktoScope operation
- device-portal.entrypoint=/ps/node-red-v2/ui/
requires:
networks:
- description: Overlay network for Caddy to connect to upstream services
Expand Down
Loading