deepcut-cnn icon indicating copy to clipboard operation
deepcut-cnn copied to clipboard

How can I get array joint?

Open HyunmokMoon opened this issue 7 years ago • 0 comments

Hello,

I can get prediction.npz file from image.png using pose_demo.py.

I want to get array of joints estimation npz file from many images. for example, image0000.png, image0001.png, image0002,png, image####.png, ... How can I get output prediction.npz file from this many images.

matrix shape of pose.npy in prediction.npz will be changed (number, 14) -> (number, 14, image_count) I tested my own one image, I get pose.npy shape (5,14). But I want to many images at once.

I tried to input image as input folder. I put all input images to images/ folder and call python pose_demo.py images/ --out_name=estimation

then I can get output file in estimation/ folder. but separated file image0001.png_pose.npz, image0002.png_pose.npz, ...

I want to put all pose.npy file to one estimation.npz file.

Please let me know which line I have to modify.

Thank you.

HyunmokMoon avatar May 24 '17 06:05 HyunmokMoon