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

Moving people and objects in the video #56

Closed
gigasurgeon opened this issue Aug 27, 2024 · 3 comments
Closed

Moving people and objects in the video #56

gigasurgeon opened this issue Aug 27, 2024 · 3 comments

Comments

@gigasurgeon
Copy link

Thanks for this great work. I am working on a camera path estimation problem. I have a video where people are moving and performing some actions. The camera also is moving. What changes do I need to handle this?

@jytime
Copy link
Contributor

jytime commented Aug 27, 2024

Hi @gigasurgeon ,

We support filtering out dynamic objects using masks. Please place the image files in the SCENE_DIR/images directory and the corresponding mask files in the SCENE_DIR/masks directory. The mask files should have the same base name as the image files. You can refer to how the masks are loaded in the code here:

mask = Image.open(mask_path).convert("L")

The masks should be binary, with 1 indicating pixels that should be filtered out (i.e., dynamic pixels) and 0 for pixels that shouldn’t be filtered. These masks can be generated using object detection, video segmentation, or manual labeling. You can refer to the masks from DAVIS dataset as an example.

@bhack
Copy link

bhack commented Sep 1, 2024

See also our thread at #9

@gigasurgeon
Copy link
Author

Thank you guys.

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