DurhamARC / raga-pose-estimation

MIT License
4 stars 1 forks source link

Crop video #39

Closed MarionBWeinzierl closed 4 years ago

alisonrclarke commented 4 years ago

Work started on issue39-crop-video branch - I think it more-or-less works but the cropped video loses the sound. Perhaps that might be better left until we tackle #42 as it's not important at the moment.

Martinclayton commented 4 years ago

Hi Alison, I'm afraid I'm still not able to run the new version - I think it goes back to the big change to include foot and hand models and proceed in two stages, so I'm not sure where the problem is. Anyway, it was working great but I haven't managed to run it for the last few weeks... the Tests work OK though, so something is working. Latest error message below. Martin

Running openpose/post-processing... Detecting poses on input/2020-09-18_161737/Apoorva_raga_1a.mp4... Starting OpenPose demo... Configuring OpenPose... Starting thread(s)... Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0. OpenPose demo successfully finished. Total time: 38.394323 seconds. Unable to run openpose from /content/openpose. Aborted! Please check the parameters in the form and re-run "Generate Parameters".

alisonrclarke commented 4 years ago

@Martinclayton please can you try running the issue39-crop-video branch of the code when checking it out from GitHub? I saw this issue last week but think I've fixed it on this branch.

Martinclayton commented 4 years ago

Sorry, @alisonrclarke how do I choose that branch?

alisonrclarke commented 4 years ago

In this section:

Screenshot 2020-09-22 at 09 22 08

Martinclayton commented 4 years ago

OK tried that, but it doesn't generate the form (error message below):

ModuleNotFoundError Traceback (most recent call last)

in () 12 sys.path.append(os.path.join(os.getcwd(), 'openpose-music')) 13 ---> 14 import run_openpose 15 16 from entimement_openpose.openpose_parts import ( 1 frames /content/openpose-music/entimement_openpose/video_utils.py in () 1 import os 2 ----> 3 import ffmpeg 4 5 ModuleNotFoundError: No module named 'ffmpeg'
alisonrclarke commented 4 years ago

Ah, sorry, I forgot there were changes to that code that rely on changes in the Colab script. If you try "Open from GitHub" and open the issue39-crop-video branch there (as well as checking out the right branch above) then hopefully it will work. You'll also see the new crop parameters and crop preview which I think is nearly complete.

Screenshot 2020-09-22 at 10 10 38

Martinclayton commented 4 years ago

Sorry, need to ask you where to find this! Is this a new Colab session?

alisonrclarke commented 4 years ago

Yes, either a new session, or File > Open Notebook and select the GitHub tab.

Martinclayton commented 4 years ago

Great, trying that now

Martinclayton commented 4 years ago

Ah, now that is running - great to be back!