Skip to content

Best practices for a new service that does more than collecting data #128

Answered by lenny-goodell
waas1919 asked this question in Q&A
Discussion options

You must be logged in to vote

@waas1919

Question 1: Does it make sense to have a Device Service that apart from collecting data (the image) does the image processing part?

No, that processing should be separate. Please checkout the Device ONVIF Camera and Device USB Camera services for capturing the images.
https://docs.edgexfoundry.org/3.0/microservices/device/supported/device-onvif-camera/General/
The ONVIF supports Snapshot (https://github.com/edgexfoundry/device-onvif-camera/blob/v3.0/cmd/res/profiles/camera.yaml#L224)

https://docs.edgexfoundry.org/3.0/microservices/device/supported/device-usb-camera/General/
The USB doesn't yet support Snapshot

I understand that this could potentially saves the core-data to st…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@waas1919
Comment options

@lenny-goodell
Comment options

Answer selected by waas1919
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants