<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Please tell me how to use ApiYolo Class with images from coreS3&#x27;s camera.]]></title><description><![CDATA[<p dir="auto">Please tell me how to connect M5Module-LLM to coreS3 and use ApiYolo Class with images from coreS3's camera.<br />
Developed using Arduino IDE</p>
]]></description><link>https://community.m5stack.com/topic/7479/please-tell-me-how-to-use-apiyolo-class-with-images-from-cores3-s-camera</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:14:20 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7479.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Apr 2025 07:25:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Please tell me how to use ApiYolo Class with images from coreS3&#x27;s camera. on Sun, 01 Jun 2025 15:44:55 GMT]]></title><description><![CDATA[<p dir="auto">You have to capture a jpeg from the camera buffer and pass it to the llm... An example could be:</p>
<pre><code>
      uint8_t* out_jpg = NULL;
      size_t out_jpg_len = 0;
      frame2jpg(CoreS3.Camera.fb, 255, &amp;out_jpg, &amp;out_jpg_len);
      CoreS3.Camera.free();
      module_llm.yolo.inferenceAndWaitResult(
        yolo_work_id, out_jpg, out_jpg_len, [](String&amp; result) {
           /* do something with result */
          .... 
        }, 2000, "ID");
      free(out_jpg);

</code></pre>
<p dir="auto">the result will contain:</p>
<pre><code>{"bbox":["195.86","197.75","319.00","280.27"],"class":"keyboard","confidence":"0.69"}
</code></pre>
<p dir="auto">HTH</p>
]]></description><link>https://community.m5stack.com/post/29152</link><guid isPermaLink="true">https://community.m5stack.com/post/29152</guid><dc:creator><![CDATA[ulver]]></dc:creator><pubDate>Sun, 01 Jun 2025 15:44:55 GMT</pubDate></item></channel></rss>