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

How can I extract HDA data at the same time #7

Open
Nurungyi opened this issue Dec 13, 2018 · 5 comments
Open

How can I extract HDA data at the same time #7

Nurungyi opened this issue Dec 13, 2018 · 5 comments

Comments

@Nurungyi
Copy link

Now, I opened your dataset using MATLAB. One of the problem is that I can just export image one by one. How can I export this data at the same time?

@WurmD
Copy link
Member

WurmD commented Dec 15, 2018

Hi Nurungyi

I don't understand you question, could you be more explicit? Or provide an example of what you wanted to see?

@Nurungyi
Copy link
Author

Nurungyi commented Dec 17, 2018

I mean that I run file : RunToVisualize.m from your dataset on MATLAB.

image

please look at an attached picture. and "export button" in this picture can be export one by one.
How can I save(export) this whole file at the same time?

@WurmD
Copy link
Member

WurmD commented Dec 17, 2018

Here https://github.com/vislab-tecnico-lisboa/hda_code/blob/master/detection_reid_pipeline/getFrameAndCrop.m
You can use this function to get a single full image like this:
[~, image] = getFrameAndCrop(camera_number, frame_number)

If you call it in a for cycle and save each image as PNG, you got what you asked for

Cheers

@Nurungyi
Copy link
Author

Thank you. It does work.

@amine0110
Copy link

Hi @Nurungyi
Can you please send me the dataset?

Thanks

@WurmD WurmD mentioned this issue Mar 18, 2022
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