From bcf766b94e2bf0bf32b962f3e529bc321ca7732a Mon Sep 17 00:00:00 2001 From: Dialdroid Date: Mon, 21 Oct 2024 11:44:29 +0200 Subject: [PATCH] Added YOLOv8 example in English and other related changes --- examples/yolov8/README.md | 24 ++++++++++++++++++++ examples/yolov8/img/cat.jpg | Bin 0 -> 22672 bytes examples/yolov8/img/cat.jpg:Zone.Identifier | 4 ++++ examples/yolov8/script.sh | 8 +++++++ examples/yolov8/yolov8.yaml | 17 ++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 examples/yolov8/README.md create mode 100644 examples/yolov8/img/cat.jpg create mode 100644 examples/yolov8/img/cat.jpg:Zone.Identifier create mode 100644 examples/yolov8/script.sh create mode 100644 examples/yolov8/yolov8.yaml diff --git a/examples/yolov8/README.md b/examples/yolov8/README.md new file mode 100644 index 00000000..a4645e5f --- /dev/null +++ b/examples/yolov8/README.md @@ -0,0 +1,24 @@ +# Object Detection with YOLOv8 + +Detect objects in images using the state-of-the-art YOLOv8 model. + +## About YOLO + +This node utilizes the YOLOv8 (You Only Look Once version 8) model to detect objects within images. YOLOv8 is a cutting-edge, real-time object detection system known for its speed and accuracy, capable of identifying thousands of object categories efficiently. + +## About YOLOV8 Service in OSCAR + +This service uses the pre-trained YOLOv8 model provided by DEEP-Hybrid-DataCloud for object detection. It is designed to handle synchronous invocations and real-time image processing with high scalability, managed automatically by an elastic Kubernetes cluster. + +In order to invoke the function, first you have to create a service, either by the OSCAR UI or by using the FDL within the following command. + + +``` sh +oscar-cli apply yolov8.yaml +``` + +Once the service is created you can make the invocation with the following +command, which will store the output on a minio bucket. + +``` sh +oscar-cli service put-file yolov8.yaml minio img/cat.jpg yolov8/input/cat.jpg \ No newline at end of file diff --git a/examples/yolov8/img/cat.jpg b/examples/yolov8/img/cat.jpg new file mode 100644 index 0000000000000000000000000000000000000000..016cdd8250cf8f68f985f51ae429e5def72469ac GIT binary patch literal 22672 zcmb4qg;QM36YaucA$V{nKyU~Siw9lY-Q9yN?gR<4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lq!pCW=9(e*Mz ziCUgIg(~|@Y6v1QKp7bg&wo)K`o%>Z1w%v(U>-M&H?e@6EHZF^qPfGk_* zs-*o++f0ze;t6DeWMZN+fD?qr1mt9bJ9f`HPq)Uyf2qRCR4?&Z;j^?Kx7_k|?R!bh zTy`~&vdQUs=Bk#GmRUT>XsKM1VNeP4; zys%^i_l)EBX8-^I#~Sv%rlZt;y#?Q|*QqLM2v+TEV@nBS62lDOm3W50LSqbv5Ch6jQ-#AuWQ;arC(lv)yDq4Nl+Q%j4gkVD&xY) z)bX8#Se#>V&t(Mt^^&G09#Tgi8=Qg51s^~E03Y+OYuX@vNg>)_z*s zY|?#OwOY|ro$a(MKGpo=IM=o94R*r4BxhGd&omDqj0$3sAV}~)JC%UWK*%`A0Dwpx z^%CD}ns;fQvE@go`ixB)G37wVYz$z5j9@YDdDpe=bt^jbNV-Yn($u`(sHvANh074b hfDU_)ol2&sF~zZEa1@c>KjiX%CtlaJ3$i^A|JnUlA>9A~ literal 0 HcmV?d00001 diff --git a/examples/yolov8/img/cat.jpg:Zone.Identifier b/examples/yolov8/img/cat.jpg:Zone.Identifier new file mode 100644 index 00000000..db4f2e84 --- /dev/null +++ b/examples/yolov8/img/cat.jpg:Zone.Identifier @@ -0,0 +1,4 @@ +[ZoneTransfer] +ZoneId=3 +ReferrerUrl=https://www.google.com/ +HostUrl=https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Cat_November_2010-1a.jpg/220px-Cat_November_2010-1a.jpg diff --git a/examples/yolov8/script.sh b/examples/yolov8/script.sh new file mode 100644 index 00000000..631e4552 --- /dev/null +++ b/examples/yolov8/script.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +IMAGE_NAME=`basename "$INPUT_FILE_PATH"` +OUTPUT_FILE="$TMP_OUTPUT_DIR/output.png" + +deepaas-cli --deepaas_method_output="$OUTPUT_FILE" predict --files "$INPUT_FILE_PATH" --accept image/png 2>&1 + +echo "Prediction was saved in: $OUTPUT_FILE" \ No newline at end of file diff --git a/examples/yolov8/yolov8.yaml b/examples/yolov8/yolov8.yaml new file mode 100644 index 00000000..0db5095c --- /dev/null +++ b/examples/yolov8/yolov8.yaml @@ -0,0 +1,17 @@ +functions: + oscar: + - oscar-cluster: + name: yolov8 + memory: 4Gi + cpu: '2.0' + image: ai4oshub/ai4os-yolov8-torch:latest + script: script.sh + vo: vo.imagine-ai.eu + allowed_users: [] + log_level: CRITICAL + input: + - storage_provider: minio.default + path: yolov8/input + output: + - storage_provider: minio.default + path: yolov8/output \ No newline at end of file