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

about extract features from my dataset #30

Open
galaxysan opened this issue Jul 3, 2019 · 3 comments
Open

about extract features from my dataset #30

galaxysan opened this issue Jul 3, 2019 · 3 comments

Comments

@galaxysan
Copy link

Hi, I want to ask how can i use this code to extract features from my own video datasets. Your input of your code is .npy. However, how can i get my .npy file from my dataset? I do not find any data process code in this repo.

Thanks

@SJYbetter
Copy link

hello, this is very common because they didn't push all code to this repo, you need to preprocess the video you want to implement by yourself. This link maybe help for you. https://scikit-image.org/docs/dev/user_guide/video.html
You should transfer the video to images by using ffmpeg then transfer the images to .npy.

@galaxysan
Copy link
Author

Thx. I saw the PyAV’s API can help me transfer the images to .npy. the input of the i3d is rgb features and flow features, I think I should have two files that one is rgb feature and the other is flow feature about each video right? so this output of PyAV’s API is just a type transfer of images right? how can I get two feature files?Look forward to your reply. thanks

@ed-fish
Copy link

ed-fish commented Feb 12, 2020

Hi check out this issue on the Tensorflow Repo which has a notebook for the optical flow preprocessing in Python. google-deepmind/kinetics-i3d#87

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

3 participants