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

Analysis for specific time interval of the video #36

Open
BaggioMarco opened this issue Nov 4, 2021 · 3 comments
Open

Analysis for specific time interval of the video #36

BaggioMarco opened this issue Nov 4, 2021 · 3 comments

Comments

@BaggioMarco
Copy link

Hi,

is it possibile at the moment running the analysis only for a specific segment of the video? For instance, analyse the video only from second 3.5 to second 7.8. If it is possibile, could you let me know how to do that?
thanks

@JustinShenk
Copy link
Owner

JustinShenk commented Nov 4, 2021 via email

@BaggioMarco
Copy link
Author

thanks @JustinShenk could you please let me know which is such block of code I could try to integrate? I'll be glad to make some test on it as soon as I'm able to locate it, thanks

@JustinShenk
Copy link
Owner

JustinShenk commented Nov 4, 2021

You could use similar logic to https://github.com/justinshenk/fer/blob/9ee385841f35b50fdf9740d9ab1f9cca96316b78/src/fer/classes.py#L220 to check if frameCount / frequency (which equals seconds elapsed in the video) is within a certain range, else continue.

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

No branches or pull requests

2 participants