Latest P.O.S. Feature

This feature was definately a want, not a need since I already have a 3 or 4 independent security cameras pointing at the cash register. And I can get those video feed independently.

I wanted a quick and simple way to obtain the video assoicated with each sale without scrolling much and looking at different apps for different info.

This is what I came up with....

  • Set up reolink camera to back up to FTP to local SAN storage. Keep files small (about 30 seconds each) for smaller downloads / streaming. All these videos are uploaded after some motion is made.
  • Next, how to tied the time of sale to the video time within the video it self?The MP4's written and uploaded to FTP doesn't have any actual time stamp of the when the video actually starts and when it ends. This where math came into play.
  • Use file system api magic to find the three video closest to the actual sales time.
  • Then use ffprobe to find the duration of each of those video, and do some math to to estimate the actual start time and end time of each video.
  • Display these video U.I.
  • Lastly enjoy having this extra data point, and patted my self on the back.


Next todo: enhence the video purge. Right now, I have set to auto delete videos older than 45 days. The goal is to delete all of the none sales videos where my employee is just moving around doing their daily things. Hopefully this would shrink the overall storage requirement.

要查看或添加评论,请登录

Leon S.的更多文章

社区洞察

其他会员也浏览了