npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

web-sdk-pp-rotated-detection

v0.1.0

Published

基于 PP-YOLOE-R 的浏览器旋转框检测 SDK

Readme

PP-RotatedDetection

English

浏览器端单帧旋转框检测 SDK,基于 PP-YOLOE-R-s FP32,识别 DOTA 15 类遥感目标。返回原图坐标系的四点框;CPU/WASM、GPU/WebGPU 和 main/Worker 均调用同一框架无关公共 API。

版本 0.1.0。 npm、GitHub Release 与 HTTPS Demo 的状态见 发布与验收回执。模型使用 固定来源清单:默认 ModelScope,可显式选择 Hugging Face,失败不会静默换源。

安装与集成

pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false add [email protected]

快速开始 复制 Worker/ORT 静态资源并传入固定模型对象,即可在浏览器使用公共 API;也可按下方步骤从源码构建。

源码运行

pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false install --frozen-lockfile
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false build
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false dev

打开 http://127.0.0.1:4192。普通 devbuild:demo 使用清单中的 Hub 来源;dev:local 是可选的离线开发方式,需自行准备校验通过的 .tmp/model.onnx,不会进入正式构建。

项目入口

Demo 默认中文,可切英文;上传/拖放、阈值、旋转框选中、JSON/叠加 PNG 导出、缓存和折叠耗时信息均在同一页面。

文档

快速开始 · API · 兼容性 · 排错 · 隐私与部署 · 性能 · 发布 · 模型卡

验证

2026-09-18,Windows 11 10.0.26200 / Chromium 153.0.8010.12 / i5-10400F / RTX 5060 Ti:CPU/GPU × main/Worker 的 40 项公共 API 数值对照通过。最差旋转 IoU 0.9993547、最大角点误差 0.01901px;这不是完整 DOTA mAP,也不代表手机或 NPU 验证。

pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false test
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false typecheck
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false typecheck:demo
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false build
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false build:demo
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false check:package
pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false test:browser

浏览器测试还需本地模型和 .tmp/evaluation/images/P0861.png(不分发评估图),并先用 pnpm --config.verify-deps-before-run=false --config.manage-package-manager-versions=false exec playwright install chromium 安装 Chromium;已有浏览器可设 PLAYWRIGHT_BROWSERS_PATH 复用。模型大小、许可证及 SHA-256 见 清单。CI、Pages 和 Release 均运行 node scripts/check-release-ready.mjs,检查双源与真实生产浏览器回执;离线标准检查不证明远程治理或部署已完成。