From 73ad670eb012ef87c52fb6086ecef8325bc6bde0 Mon Sep 17 00:00:00 2001 From: LittleMouse Date: Wed, 11 Jun 2025 10:31:46 +0800 Subject: [PATCH 1/2] fix some print bug --- examples/{YOLO => YOLO_CoreS3}/YOLO_CoreS3.ino | 1 - examples/{YOLO => YOLO_UVC}/YOLO_UVC.ino | 0 2 files changed, 1 deletion(-) rename examples/{YOLO => YOLO_CoreS3}/YOLO_CoreS3.ino (99%) rename examples/{YOLO => YOLO_UVC}/YOLO_UVC.ino (100%) diff --git a/examples/YOLO/YOLO_CoreS3.ino b/examples/YOLO_CoreS3/YOLO_CoreS3.ino similarity index 99% rename from examples/YOLO/YOLO_CoreS3.ino rename to examples/YOLO_CoreS3/YOLO_CoreS3.ino index 7214353..0e28abc 100644 --- a/examples/YOLO/YOLO_CoreS3.ino +++ b/examples/YOLO_CoreS3/YOLO_CoreS3.ino @@ -74,7 +74,6 @@ DetectionResult parseDetection(String& jsonStr) JsonDocument doc; deserializeJson(doc, jsonStr); JsonObject obj = doc.as(); - USBSerial.println(jsonStr); if (obj["bbox"].is() && obj["class"].is() && obj["confidence"].is()) { detection.class_name = obj["class"].as(); detection.confidence = atof(obj["confidence"].as()); diff --git a/examples/YOLO/YOLO_UVC.ino b/examples/YOLO_UVC/YOLO_UVC.ino similarity index 100% rename from examples/YOLO/YOLO_UVC.ino rename to examples/YOLO_UVC/YOLO_UVC.ino From 7d8a8efb31a650a5936f1167374c1dbe512cd547 Mon Sep 17 00:00:00 2001 From: LittleMouse Date: Wed, 11 Jun 2025 10:45:15 +0800 Subject: [PATCH 2/2] update yolo demo --- examples/YOLO_UVC/YOLO_UVC.ino | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/YOLO_UVC/YOLO_UVC.ino b/examples/YOLO_UVC/YOLO_UVC.ino index 978a553..5ce0a82 100644 --- a/examples/YOLO_UVC/YOLO_UVC.ino +++ b/examples/YOLO_UVC/YOLO_UVC.ino @@ -28,9 +28,6 @@ void setup() M5.Display.setTextScroll(true); /* Init module serial port */ - // int rxd = 16, txd = 17; // Basic - // int rxd = 13, txd = 14; // Core2 - // int rxd = 18, txd = 17; // CoreS3 int rxd = M5.getPin(m5::pin_name_t::port_c_rxd); int txd = M5.getPin(m5::pin_name_t::port_c_txd); Serial2.begin(115200, SERIAL_8N1, rxd, txd); @@ -123,6 +120,4 @@ void loop() /* Clear handled messages */ module_llm.msg.clearMsg("yolo_setup"); module_llm.msg.responseMsgList.clear(); - - // usleep(500000); } \ No newline at end of file