<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Parker Lyu</title>
    <description>The latest articles on DEV Community by Parker Lyu (@parkerlyu).</description>
    <link>https://dev.to/parkerlyu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4172581%2F5556ac63-69a6-4dff-a064-b1d2c1882199.png</url>
      <title>DEV Community: Parker Lyu</title>
      <link>https://dev.to/parkerlyu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parkerlyu"/>
    <language>en</language>
    <item>
      <title>ParkerLabel: CPU-only image annotation with MobileSAM</title>
      <dc:creator>Parker Lyu</dc:creator>
      <pubDate>Fri, 09 Oct 2026 06:16:26 +0000</pubDate>
      <link>https://dev.to/parkerlyu/parkerlabel-cpu-only-image-annotation-with-mobilesam-2iig</link>
      <guid>https://dev.to/parkerlyu/parkerlabel-cpu-only-image-annotation-with-mobilesam-2iig</guid>
      <description>&lt;p&gt;I open-sourced ParkerLabel, a desktop tool for object detection and instance segmentation annotation. It runs locally on the CPU. No GPU or image upload is needed.&lt;/p&gt;

&lt;p&gt;In AI mode, positive and negative clicks guide MobileSAM to generate an object mask. You can correct it manually, assign a category, and save the annotation. The interface has separate image, mask, and overlay views.&lt;/p&gt;

&lt;p&gt;The inference path uses ONNX Runtime. The image embedding is saved beside the image and reused. Each instance keeps its own mask, category, bounding box, and area in a per-image JSON file. Masks use uncompressed COCO RLE; these files are not a complete COCO dataset export.&lt;/p&gt;

&lt;p&gt;There are portable packages for macOS arm64 and Windows x64. Extract the folder to a writable location and run the app; no Python environment is needed. The UI supports nine languages, including English and Chinese.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Parker-Lyu/ParkerLabel" rel="noopener noreferrer"&gt;Source&lt;/a&gt; · &lt;a href="https://github.com/Parker-Lyu/ParkerLabel/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;Download&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsiev8lh64icwvz4uw4qc.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsiev8lh64icwvz4uw4qc.gif" alt="Annotation demo" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you work with image annotations, give it a try. Bug reports and workflow feedback are welcome.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>showdev</category>
      <category>python</category>
    </item>
    <item>
      <title>Learn TensorRT: a C++17 path from YOLOv8 to async inference</title>
      <dc:creator>Parker Lyu</dc:creator>
      <pubDate>Fri, 09 Oct 2026 05:55:21 +0000</pubDate>
      <link>https://dev.to/parkerlyu/learn-tensorrt-a-c17-path-from-yolov8-to-async-inference-2h3l</link>
      <guid>https://dev.to/parkerlyu/learn-tensorrt-a-c17-path-from-yolov8-to-async-inference-2h3l</guid>
      <description>&lt;p&gt;I open-sourced Learn TensorRT, a hands-on course for developers moving from PyTorch models to C++ deployment. The baseline is TensorRT 10.14, CUDA 13.0 and C++17, in a pinned NVIDIA development container.&lt;/p&gt;

&lt;p&gt;The core path uses YOLOv8 to connect three parts of deployment:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Correctness: export to ONNX, inspect outputs with Polygraphy, then implement preprocessing, TensorRT inference and postprocessing in C++.&lt;/li&gt;
&lt;li&gt;Optimization: compare FP32/FP16/INT8, use explicit Q/DQ quantization, and profile with Nsight.&lt;/li&gt;
&lt;li&gt;Pipeline behavior: add bounded queues, dynamic batching and asynchronous CUDA streams, then measure latency, throughput and overload behavior.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A useful starting point is the single-image C++ pipeline in lesson 11. Follow its prerequisites, check the detections, and establish correctness before changing precision or adding concurrency. Later reports separate engine timing from application and pipeline measurements.&lt;/p&gt;

&lt;p&gt;The code emphasizes RAII, explicit resource ownership and target-based CMake. Lessons have build/run instructions and reporting checkpoints. Ubuntu with an NVIDIA GPU is the reference setup; C++ and CMake basics are expected. Engines and performance results must be regenerated for your environment.&lt;/p&gt;

&lt;p&gt;Electives include plugins, Triton, DeepStream and Jetson/DLA. Some elective runtime acceptance is still pending; the coverage matrix records those limits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Parker-Lyu/Learn-TensorRT" rel="noopener noreferrer"&gt;Repository and learning roadmap&lt;/a&gt; — MIT licensed, with English, Chinese, Japanese and Korean READMEs.&lt;/p&gt;

&lt;p&gt;If you're learning TensorRT deployment, try the core path. Feedback on unclear steps or reproducibility problems is welcome.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI assistance was used to draft this introduction.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
