OSR6 Realtime Screen TCode is a Windows app that reads a selected screen region in realtime, converts visible motion into TCode, and outputs it to OSR/SR6/OSR6-compatible devices through USB serial or BLE. It can also preview output without hardware and record/export .funscript.
Adults only. This project is intended for adults. Minors are prohibited.
Important six-axis warning: Six Axis mode is only recommended when lighting is good, the main subject is clear, and the selected screen region is clean. If the image is unclear, crowded, dark, or unstable, start with
L0 OnlyorLog onlypreview.
Current version: 1.1.2
Available since v1.0.0. Test hardware: CPU Intel Ultra 9; GPU disabled / not used for this analysis.
Hybrid Analysis L0 focuses on the main linear axis. It reads the selected screen region, tracks the dominant motion rhythm, and outputs limited four-digit L0 TCode.
Available since v1.0.0. Test hardware: CPU Intel Ultra 9; GPU disabled / not used for this analysis.
Six-Axis Hybrid Analysis expands the realtime screen analysis across L0, L1, L2, R0, R1, and R2 for richer OSR6-style motion output.
Available since v1.1.2. Test hardware: CPU Intel Ultra 9; GPU NVIDIA GeForce RTX 4090 Laptop GPU; RTM GPU acceleration enabled.
RTM Pose 2D uses a local ONNX pose model for pose-driven analysis. With GPU acceleration enabled, pose inference can run on the 4090 Laptop GPU.
Available since v1.1.2. Test hardware: CPU Intel Ultra 9; GPU disabled / no GPU acceleration.
RTM Pose 2D can also run without GPU acceleration. This mode keeps inference on the Intel Ultra 9 CPU for comparison and fallback testing.
Dance source used in the RTM Pose demos: Bilibili BV1UvtE6uEkD. For infringement concerns, contact lexzeonstudio@gmail.com for removal.
- Windows package: extract the whole folder, then run
OSR6-Realtime-Screen.exeorStart.cmd. - Source folder: run
Start.cmddirectly from the cloned repository. - English quick start:
Quick_Start.md - Chinese quick start:
简易教程.md - Full English manual:
User_Manual_EN.md - Full Chinese manual:
用户使用手册.md - AI prompting guide for continued development:
AI_Prompting_Guide.md
Extract the whole Windows zip before running. Do not run the exe directly from inside the zip preview window.
After cloning the repository on Windows, double-click Start.cmd or Start-Source.cmd. It creates a local .venv, installs the required Python packages, and starts the app from src.
- Realtime screen-region capture and motion analysis.
- USB serial and BLE UART output for TCode-compatible devices.
L0 OnlyandSix Axisoutput modes.- Hybrid Analysis mode for low-latency non-dance screen reading.
- RTM Pose 2D/3D dance modes with local ONNX models.
- RTM Pose optical-flow assist and Kalman fusion are enabled by default for smoother keypoint tracking.
- Optional RTM Pose GPU acceleration, disabled by default, with CPU fallback when CUDA is unavailable.
- Audio-only mode for rhythm-driven use.
- Per-axis limits, total travel scaling, presets, smoothing, speed limit, dead zone, gating, and other comfort controls.
- Measurement mode for saving safe upper/lower limits locally.
- Live output curve and 3D OSR6 preview based on the final limited output.
- Local settings persistence across launches.
This tool can be used together with usb-screen-stream. For example, use usb-screen-stream to mirror a USB-connected phone or other device screen to the PC, then select that streamed window or region in OSR6 Realtime Screen TCode for realtime TCode output.
For hardware use, read Quick_Start.md first. Before your first real session, use Measurement Mode to save comfortable safe upper and lower limits. These limits are stored locally. If the app works normally next time, you do not need to restore defaults again.
For preview without hardware, set output to Log only, click Show Preview, then start realtime output and select the screen region. The app will show the curve and preview without driving a device.
This is a local desktop tool. Screen capture and analysis run locally on your computer. The app does not upload your screen frames.
This project was built with AI-assisted vibe coding. It is shared directly as a practical OSR6 realtime screen-to-TCode tool, with rough edges expected and improvements welcome.
This project learned from public open-source work around OSR/TCode tooling, realtime visual analysis, funscript generation, and simulator-style preview ideas, including projects such as FunGen, PoseFunscripter, and nb-3d-simulator. Please contact the maintainer if an acknowledgement or license notice should be corrected.
Special thanks to DK and 机械纪元 for technical guidance.
For infringement concerns, license corrections, suggestions, or collaboration: lexzeonstudio@gmail.com
OSR6 Realtime Screen TCode 是一个 Windows 软件,可以实时读取你框选的屏幕区域,把画面运动转换成 TCode,并通过 USB 串口或 BLE 输出给 OSR/SR6/OSR6 兼容设备。也可以不连接设备先预览输出,或者录制/导出 .funscript。
成年人使用提示:本项目面向成年人使用,未成年禁止入内。
六轴模式重要警告:六轴只建议在光线好、主体清晰、框选区域干净的画面里使用。 画面太暗、主体不清楚、无关运动太多或画面不稳定时,请先使用
L0 Only或Log only预览。
当前版本:1.1.2
v1.0.0 起支持。测试硬件:CPU Intel Ultra 9;GPU 关闭 / 此分析未使用 GPU。
Hybrid Analysis L0 聚焦主线性轴。它会读取框选屏幕区域,跟踪主要运动节奏,并输出限制后的四位 L0 TCode。
v1.0.0 起支持。测试硬件:CPU Intel Ultra 9;GPU 关闭 / 此分析未使用 GPU。
Hybrid Analysis Six-Axis 会把实时画面分析扩展到 L0、L1、L2、R0、R1、R2,用于更丰富的 OSR6 六轴输出。
v1.1.2 起支持。测试硬件:CPU Intel Ultra 9;GPU NVIDIA GeForce RTX 4090 Laptop GPU;已开启 RTM GPU 加速。
RTM Pose 2D 使用本地 ONNX 姿态模型做姿态驱动分析。开启 GPU 加速后,姿态推理可以运行在 4090 Laptop GPU 上。
v1.1.2 起支持。测试硬件:CPU Intel Ultra 9;GPU 关闭 / 未开启 GPU 加速。
RTM Pose 2D 也可以不启用 GPU 加速,推理会运行在 Intel Ultra 9 CPU 上,适合做对照测试或作为兼容回退。
RTM Pose 演示中的舞蹈素材来源:Bilibili BV1UvtE6uEkD。如有侵权请联系 lexzeonstudio@gmail.com 删除。
- Windows 免安装包:先完整解压文件夹,再运行
OSR6-Realtime-Screen.exe或Start.cmd。 - 源码目录:clone 仓库后直接运行
Start.cmd。 - 英文简易教程:
Quick_Start.md - 中文简易教程:
简易教程.md - 英文完整手册:
User_Manual_EN.md - 中文完整手册:
用户使用手册.md - 后续 AI 开发提示词指南:
AI_Prompting_Guide.md
请先完整解压 Windows 压缩包,再运行软件。不要直接在压缩包预览窗口里双击 exe。
在 Windows 上 clone 仓库后,双击 Start.cmd 或 Start-Source.cmd。它会自动创建本地 .venv、安装 Python 依赖,并从 src 启动软件。
- 实时框选屏幕区域并分析画面运动。
- 通过 USB 串口或 BLE UART 输出 TCode。
- 支持
L0 Only和Six Axis。 - Hybrid Analysis 模式用于低延迟非舞蹈读屏分析。
- RTM Pose 2D/3D 舞蹈分析模式,使用本地 ONNX 模型。
- RTM Pose 默认开启关键点光流辅助和卡尔曼融合,让骨架追踪更平滑。
- RTM Pose 可选 GPU 加速,默认关闭;缺少 CUDA 时会自动回退到 CPU。
- 支持只监听声音的节奏模式。
- 支持每轴上下限、总行程倍率、预设、平滑、限速、死区、活动门控等调试项。
- 测量模式可以手动遥控并保存本地安全上限/下限。
- 可查看实时脚本曲线和基于最终限制后输出的 3D 预览。
- 所有主要设置会保存到本地,下次打开继续使用。
本工具也可以和 usb-screen-stream 搭配使用。比如先用 usb-screen-stream 把 USB 连接的手机或其他设备画面投到电脑上,再在本工具里框选该窗口或区域进行实时 TCode 输出。
有设备请先看 简易教程.md。第一次正式使用前,建议先用测量模式保存适合自己的安全上限/下限。上下限会保存在本地。下次如果能正常输出脚本,就不用再恢复默认设置。
没有设备想先预览,可以把输出设为 Log only,点击 Show Preview,再开始实时输出并框选屏幕区域。这样只显示曲线和预览,不会驱动机器。
这是本地桌面工具。屏幕捕获和分析都在你的电脑本地运行,软件不会上传画面。
本项目是 AI 辅助 vibe coding 做出来的实用工具。欢迎改进,也欢迎反馈问题。
本项目参考和学习了公开开源社区里 OSR/TCode、实时视觉分析、funscript 生成和模拟预览相关思路,包括 FunGen、PoseFunscripter、nb-3d-simulator 等项目。如有鸣谢或许可证信息需要修正,请联系维护者。
特别感谢 DK 和 机械纪元 提供技术指导。
侵权、许可证修正、建议或合作请联系:lexzeonstudio@gmail.com





