54eef1778a8457225f82fea458ed47b4088aeb5b,deeplabcut/refine_training_dataset/outlier_frames.py,,PlottingSingleFramecv2,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,438
Before Change
imagename1 = os.path.join(tmpfolder,"img"+str(index).zfill(strwidth)+".png")
imagename2 = os.path.join(tmpfolder,"img"+str(index).zfill(strwidth)+"labeled.png")
if os.path.isfile(os.path.join(tmpfolder,"img" +str (index).zfill(strwidth)+".png")):
pass
else:
plt.axis("off")
After Change
plt.axis("off")
cap.set(1, index)
ret, frame = cap.read()
if not ret:
print("Frame could not be read.")
return
image = img_as_ubyte(cv2.cvtColor(frame, cv2.COLOR_BGR2RGB))
if crop:
image = image[int(coords[2]):int(coords[3]), int(coords[0]):int(coords[1]), :]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: AlexEMG/DeepLabCut
Commit Name: 54eef1778a8457225f82fea458ed47b4088aeb5b
Time: 2020-01-22
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/refine_training_dataset/outlier_frames.py
Class Name:
Method Name: PlottingSingleFramecv2
Project Name: keras-team/keras
Commit Name: ee8ff00a2a8a307c952fb8e7bef241188c7fb12b
Time: 2016-07-03
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: pool2d
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: compute_mask