I just got a security camera setup with deepstack ai for object detection and everything is working great however the one issue I can’t seem to get past is that my camera is uploading files into a rotating folder based on the year/month/day so I am having to manually update my configuration.yaml every day to keep everything working.
Is it possible to use a variable in the configuration.yaml file so that the year, month and day automatically update then I’m guessing at the least I would need to reload the config file at midnight to update the folder.
folder_watcher:
- folder: /config/www/frontyard/2021/04/20
patterns:
- "*.jpg"
Another possible option would be to write an automation or script with the date variables in mind that would automatically move the files as they are created but that seems less reliable and I don’t want to cause any delay to the deepstack running as it already takes a couple of seconds to get results.
Any ideas would be appreciated.