
import cv2
import numpy as np

background = cv2.imread('images/bg.jpg')

R_arm = cv2.imread('images/R_arm.jpg')
L_arm = cv2.imread('images/L_arm.jpg')
D_arm = cv2.imread('images/D_arm.jpg')

imcollection = {'R_arm': R_arm, 'L_arm': L_arm, 'D_arm': D_arm}

while True:

    background[200:200+346, 200: 200+240] = imcollection['R_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200+346, 200: 200+240] = imcollection['L_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200+346, 200: 200+240] = imcollection['D_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    if cv2.waitKey(100) & 0xFF == ord('q'):
        break

cv2.destroyAllWindows()

9f0066d65fb1b6411ef59d5e6c983e073d48ec90
<mask token>

<mask token>
while True:
    background[200:200 + 346, 200:200 + 240] = imcollection['R_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['L_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['D_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    if cv2.waitKey(100) & 255 == ord('q'):
        break
cv2.destroyAllWindows()

<mask token>
background = cv2.imread('images/bg.jpg')
R_arm = cv2.imread('images/R_arm.jpg')
L_arm = cv2.imread('images/L_arm.jpg')
D_arm = cv2.imread('images/D_arm.jpg')
imcollection = {'R_arm': R_arm, 'L_arm': L_arm, 'D_arm': D_arm}
while True:
    background[200:200 + 346, 200:200 + 240] = imcollection['R_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['L_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['D_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    if cv2.waitKey(100) & 255 == ord('q'):
        break
cv2.destroyAllWindows()

import cv2
import numpy as np
background = cv2.imread('images/bg.jpg')
R_arm = cv2.imread('images/R_arm.jpg')
L_arm = cv2.imread('images/L_arm.jpg')
D_arm = cv2.imread('images/D_arm.jpg')
imcollection = {'R_arm': R_arm, 'L_arm': L_arm, 'D_arm': D_arm}
while True:
    background[200:200 + 346, 200:200 + 240] = imcollection['R_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['L_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200 + 346, 200:200 + 240] = imcollection['D_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    if cv2.waitKey(100) & 255 == ord('q'):
        break
cv2.destroyAllWindows()


import cv2
import numpy as np

background = cv2.imread('images/bg.jpg')

R_arm = cv2.imread('images/R_arm.jpg')
L_arm = cv2.imread('images/L_arm.jpg')
D_arm = cv2.imread('images/D_arm.jpg')

imcollection = {'R_arm': R_arm, 'L_arm': L_arm, 'D_arm': D_arm}

while True:

    background[200:200+346, 200: 200+240] = imcollection['R_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200+346, 200: 200+240] = imcollection['L_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    background[200:200+346, 200: 200+240] = imcollection['D_arm']
    cv2.waitKey(100)
    cv2.imshow('posenet', background)
    if cv2.waitKey(100) & 0xFF == ord('q'):
        break

cv2.destroyAllWindows()
