SERVICE DETAILS
Plants Classification Service (by AI4EOSC)
Overview
OSCAR service that deploys the Plants Classification workflow from AI4EOSC.
Deployment requirements
- Memory
- 2 GiB
- Processors
- 1 vCPU0 GPU
Files & artifacts
- fdl.yml (opens in a new tab)text/yaml
OSCAR Service Definition
Show content of fdl.yml
- script.sh (opens in a new tab)text/x-shellscript
OSCAR Service Script
Show content of script.sh
- icon.png (opens in a new tab)image/png
OSCAR Service Icon
Show content of icon.png
- input.png (opens in a new tab)image/png
Sample detection image — Replace with a representative image for running the Plants Classification model.
Show content of input.png
- Expected detection outputExpected artifacttext/plain
Expected detection output — JSON file produced by the service containing classification results.
Usage & acceptance tests
Synchronous CLI acceptance test
Execute the service locally with the sample input and validate the output string.
Run the service using the provided sample input.
oscar-cli service run plants-classification --file-input {input}
Asynchronous Plants Classification acceptance test
Upload a sample image, wait for detection to complete remotely, then download the prediction artifact and check the expected confirmation text.
Upload the sample detection image to the service storage.
oscar-cli service put-file plants-classification {source}Wait for the remote inference to produce detection outputs.
Time required: PT20SDownload the most recent output artifact and confirm it is the expected detection PNG.
oscar-cli service get-file plants-classification --download-latest-into {destination}
RO-Crate metadata
- application/json
Show content of ro-crate-metadata.json