|
@@ -109,7 +109,6 @@ with torch.no_grad():
|
|
|
except ValueError:
|
|
|
print(args.background_image,"not matching condition, Use default greenscreen")
|
|
|
bgImage[0,1] = (torch.ones_like(bgr[0,0]))
|
|
|
- print(bgImage)
|
|
|
else:
|
|
|
bgImage = cv2.imread(args.background_image, cv2.IMREAD_UNCHANGED)
|
|
|
bgImage = cv2.resize(bgImage, (frame.shape[1], frame.shape[0]))
|