vislab-tecnico-lisboa / hda_code

Evaluation software to produce perfectly comparable CMC curves and Precision/Recall values on the HDA dataset given a Re-Identification algorithm.
15 stars 3 forks source link

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

Open Nurungyi opened 5 years ago

Nurungyi commented 5 years ago

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 commented 5 years ago

Hi Nurungyi

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

Nurungyi commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Thank you. It does work.

amine0110 commented 2 years ago

Hi @Nurungyi Can you please send me the dataset?

Thanks