AI Edge Rehabilitation Posture Analysis

Edge cameras track rehabilitation posture and detect compensation on site.

Real-time clinical biomechanics kinematics, 33-point BlazePose INT8 tracking, phase-state machine, and debounced compensation detection on reCamera edge devices with zero video leakage.

SenseCraftBeginner5minVision & Video AIAI Agent ReadySource Code

reCamera Pro live running view — 33-keypoint full-body skeleton, real-time ROM angle and repetition counter

Real-time squat rehab evaluation — knee flexion ROM and valgus compensation alert

Edge system architecture — smart camera outputs WebSocket primitives and RTSP video with zero leakage

reCamera Pro hardware and clinical camera placement (2.0–3.5m front view)

reCamera 2002 cost-efficient hardware preset (RISC-V 1GHz TPU camera)

Reusable Site Templates

Indoor fixed views, patients facing the camera, needing guided movements and instant correction.

Physical therapy and rehab clinics

Physical therapy and rehab clinics

Outpatient rehab rooms and kinesiology gyms, assisting therapists monitoring multiple patients.

Senior living and daycare centres

Senior living and daycare centres

Senior activity halls and sit-to-stand training corners with high-contrast HUD cards.

Home rehabilitation

Home rehabilitation

Living rooms and home training areas. Power up the all-in-one camera with complete patient privacy.

Not a fit: steep overhead views, distance beyond 4 m, heavy occlusion.

How it works

The all-in-one smart camera runs pose estimation and kinematics on its built-in NPU/TPU, emitting vector primitives over WebSocket and RTSP while video stays on device.

The solution decouples real-time edge pose perception from clinical biomechanics evaluation across four functional domains: smart edge cameras handle on-device 33-kpt inference; hysteresis state machines compute joint ROM and debounced compensation alerts; vector primitives stream over WebSocket and RTSP to live guidance screens, with MQTT/Webhook telemetry reaching hospital EMR systems; raw video stays on camera to guarantee privacy.

Cameras & Perception

reCamera Pro and reCamera 2002 carry the image sensor, lens, and edge accelerator in one single unit.

  • Sensor & Optics: 1080p RGB sensor with 85° FOV covering full-body standing/sitting pose from 2.0 to 3.5 meters.
  • Edge Neural Network: Custom YOLO11n-Pose INT8 model inferencing all 33 full-body landmarks on local NPU/TPU.
  • Zero Leakage: Video frames are processed directly in onboard SRAM/DRAM and freed immediately. No video stream crosses the network interface.
Engineering details, test methodology and measured dataRead the engineering wiki →

How well it works

What patients and therapists see on the local display — the live rehabilitation HUD.

33-Keypoint skeleton and HUD dashboard

  • Real-time 33-joint skeleton topology overlay
  • Large cards showing phase and valid repetition count
  • Dynamic joint ROM angle tracking with target guidelines

Clinical kinematics and compensation alert

  • Continuous joint Range of Motion measurement
  • Red highlighted alert on knee valgus or shoulder shrug
  • 3-frame debounce prevents partial-rep counting

Dual hardware presets and zero video leakage

  • reCamera Pro achieves 24.0 FPS INT8 inference
  • Video discarded from RAM, never leaving camera
  • Streams WebSocket JSON primitives and RTSP video
Measured results

Engineering benchmark on clinical rehabilitation videos — assistive movement guide, not medical diagnosis.

MetricBenchmarkHardware Baseline
Tracked Keypoints33 KeypointsFull BlazePose topology (wrists, ankles, toes)
reCamera Pro Inference Rate24.0 FPS (41.7 ms)RV1126B NPU, INT8 quantized
reCamera 2002 Inference Rate13.3 FPS (71.1 ms)SG2002 TPU, hardware-fused INT8
ROM Angle Measurement Error< 2.5°Calibrated against clinical goniometers
Partial Repetition Rejection96.8%3-frame debounce & hysteresis state machine
Video Leakage RiskZero100% on-device memory, vectors only
Test methodology, scope footnotes and the four full measurement tables · Read the engineering wiki →
What you get out of it

Once deployed, these interfaces deliver all metrics and visualization.

Interface / PortProtocol / FormatDescription
:8080/wsWebSocket JSONEmits Result Hub v2 geometry[] skeleton points and real-time HUD metrics
:8080/appcenterHTTP Web PageLocal console for live inspection and online compensation threshold tuning
:8554/live0RTSP H.264Camera RTSP stream with hardware OSD burned-in

The WebSocket JSON contains only 33 coordinate pairs and joint angles, carrying zero video bytes, using under 20 KB/s bandwidth.

Every payload field and the Home Assistant discovery entities · Read the engineering wiki →
Porting It to Your Own System

The reusable asset is the pipeline 33-Keypoint Pose → Joint ROM Kinematics → Hysteresis State Machine → Compensation Detector.

LayerWhat porting costs you
Camera hardware and NPU/TPU runtimeReuse as-is
33-Keypoint pose modelReuse as-is
WebSocket vector streamer & HUD UIReuse as-is
Target joint angle formulasSelect joint triplets for the new exercise
State machine thresholdsConfigure thresholds (e.g. valgus angle, shrug angle)

How to deploy

Check the setup and its product list, then follow the deployment guide.

Hardware Sizing & Deployment Setup

Select site conditions to generate recommended bundles and guides, or let an AI assistant estimate hardware and deploy for you.

Self-service Consult & Deploy
Deployment Options

reCamera Pro

Deploy on reCamera Pro with RKNN INT8 model acceleration, full 33-point skeleton overlay, and interactive HUD dashboard.

2 steps · ~5min

AI Camera
recamera_pro
Contact Us
We Are Glad to Be Your Hardware Partner !
Next