390d6560c6873526218606c254627f52898c700d,deeplabcut/pose_estimation_3d/plotting3D.py,,plot2D,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,272

Before Change


    // Plot the labels for each body part
    for bpindex, bp in enumerate(bodyparts2plot):
        axes1.imshow(cv2.cvtColor(frame_cam1, cv2.COLOR_BGR2RGB))
        axes2.imshow(cv2.cvtColor(frame_cam2, cv2.COLOR_BGR2RGB))
        if (df_cam1_view[scorer_cam1][bp]["likelihood"].values[k]) > pcutoff and (
            df_cam2_view[scorer_cam2][bp]["likelihood"].values[k]
        ) > pcutoff:

After Change



    // Set the x,y, and z limits for the 3d view

    numberFrames = min(len(vid_cam1), len(vid_cam2))
    df_x = np.empty((len(bodyparts2plot), numberFrames))
    df_y = np.empty((len(bodyparts2plot), numberFrames))
    df_z = np.empty((len(bodyparts2plot), numberFrames))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_3d/plotting3D.py
Class Name:
Method Name: plot2D


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 601d77a77a55323770bb2b214aa8844538b13d1f
Time: 2018-09-25
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/visualization.py
Class Name:
Method Name: convert_to_rgb


Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_3d/plotting3D.py
Class Name:
Method Name: plot2D


Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/generate_training_dataset/frame_extraction.py
Class Name:
Method Name: extract_frames