reCamera QR Code Recognition

Run real-time QR code recognition on reCamera, stream live video over RTSP, and expose the latest QR result through an HTTP API.

初級5minビジョン
recameraqrcodertsphttpsg2002

Real-Time QR Code Recognition on reCamera

This solution runs QR code recognition directly on reCamera.

The device streams live camera video through RTSP and exposes the latest QR code result through an HTTP API. SenseCraft Solution shows the live stream in the preview window and overlays the decoded QR content, detection time, and bounding box directly on the video.

Key Features

  • RTSP live video stream from reCamera
  • Local QR code detection on reCamera
  • Separate QR detection thread that does not block video streaming
  • Latest-frame queue with length 1 to avoid detection backlog
  • HTTP API for the latest QR result
  • In-app preview with QR recognition overlay

Data Links

Data TypeProtocolAddressPurpose
Video StreamRTSPrtsp://<device-ip>:8554/live0Display live camera video
QR ResultHTTP APIhttp://<device-ip>:8080/api/qr/latestGet the latest QR code recognition result
Health CheckHTTP APIhttp://<device-ip>:8080/api/healthCheck service status

How It Works

The application uses two video channels on reCamera. One channel is encoded as H.264 and streamed through RTSP. The other channel provides low-resolution NV21 frames for QR code detection.

The QR detection thread reads from a latest-frame queue with length 1. If detection is slower than the camera frame rate, old frames are overwritten by new frames. This keeps video smooth and prevents detection latency from continuously increasing.

ご利用要件

rtsp

reCamera 2002 Series with a clear view of QR codes

デプロイ構成

camera
recamera_2002
お問い合わせ
ハードウェアパートナーとしてうれしいです!
次へ
reCamera QR Code Recognition