Skip to content

Design a ringbuffer for multiple apps use one camera at the same time.

Notifications You must be signed in to change notification settings

zacario-li/RingBufferCam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RingBufferCam

our purpose is to design a service which can provide camera resource simultaneously for more than one client apps

for example: we have only one webcam in a laptop, now we run serveral apps, and they all need to access the camera resource. Here we designed a service use share memory to provide camera frames. Client apps can access share memory to retrive camera frames simultaneously without collision.

  • In this code, we designed a service for 3 clients. You can read RingBufferCam/SHM_Cam_Server/cfg.txt for details.
  • #name:path:sockid:msgid ---> name[client app name], path[share memory path], sockid[socket ipc name], msgid[message ipc name]

About

Design a ringbuffer for multiple apps use one camera at the same time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages