Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Report From Scanning Multiple Files #10

Closed
kev1nme1er opened this issue Mar 16, 2019 · 6 comments
Closed

Create Report From Scanning Multiple Files #10

kev1nme1er opened this issue Mar 16, 2019 · 6 comments

Comments

@kev1nme1er
Copy link

This is a feature request, not a bug. The surveillance NVR records many files to a single folder for each day. I would like the ability to process all files in a single folder and receive a report at the end of which files had motion in them. It would also be ideal for DVR-Scan to have a delete option to delete any files without motion, or to somehow mark them (maybe rename) so that they can easily be deleted.

@Breakthrough
Copy link
Owner

Breakthrough commented Mar 17, 2019

The batch processing is a good idea, but I checked and that would be covered by issue #5 already. I'll pin that one to make it's visibility higher.

I don't want to make DVR-Scan modify any input files, but could make it output a list/CSV file for each file that has motion detected. Then one could write a script to look at all of the CSV files, and if they have more than just a header row, you know there was motion in the video (otherwise it is safe to delete). This is something that can probably be done with a few lines in Python.

Is this an acceptable solution for you? If so I can close this as a duplicate of #5.

@kev1nme1er
Copy link
Author

kev1nme1er commented Mar 17, 2019 via email

@Breakthrough
Copy link
Owner

Breakthrough commented Mar 17, 2019

Hi @kev1nme1er;

Gotcha, that makes sense. I guess this is more similar to a kind of "report" function then.

How about something like that, which generates a CSV file containing a list of all scanned video files, and how many motion events were detected (as well as other possible statistics in the future, e.g. average motion event length)?

Thanks!

Edit: I updated the title of this issue to be more reflective of this - if this isn't what you had in mind, please feel free to correct it or revert the title.

@Breakthrough Breakthrough changed the title Bulk processing Create Report From Scanning Multiple Files Mar 17, 2019
@kev1nme1er
Copy link
Author

kev1nme1er commented Mar 18, 2019 via email

@Breakthrough
Copy link
Owner

Hi @kev1nme1er;

Sorry for the delayed response. No plans as of yet for donations or monetization, currently have a lot on the go with my career. However I'm always open to new opportunities or ideas. I may sign up for the Github Sponsors program, but want to be cautious that I cannot offer paid support or any kind of for-profit development (at least not in my current position).

I'm currently sorting out creating a distribution for Windows again, after which I can return to looking at feature development like this. Supporting multiple input files is definitely something that's still on my radar, I just still have a lot of refactor and quality-of-life improvements to address on the project before adding new features.

Many thanks for the suggestions and feedback, will keep you posted for sure!

@Breakthrough
Copy link
Owner

Possible duplicate of #5, revisit when in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants