(self, img_disp, humans)
Draw human skeleton on img_disp inplace.
        Argument:
            img_disp {RGB image}
            humans {a class returned by self.detect}
Draw human skeleton on img_disp inplace.
        Argument:
            img_disp {RGB image}
            humans {a class returned by self.detect}
Draw human skeleton on img_disp inplace . Argument : img_disp { RGB image } humans { a class returned by self . detect }
def draw(self, img_disp, humans):
        ''' Draw human skeleton on img_disp inplace.
        Argument:
            img_disp {RGB image}
            humans {a class returned by self.detect}
        '''
        img_disp = TfPoseEstimator.draw_humans(img_disp, humans, imgcopy=False)
        if IS_DRAW_FPS:
            cv2.putText(img_disp,
                        "fps = {:.1f}".format( (1.0 / (time.time() - self._prev_t) )),
                        (10, 30),  cv2.FONT_HERSHEY_SIMPLEX, 1,
                        (0, 0, 255), 2)
        self._prev_t = time.time()
def draw ( self , img_disp , humans ) : img_disp = TfPoseEstimator . draw_humans ( img_disp , humans , imgcopy = False ) if IS_DRAW_FPS : cv2 . putText ( img_disp , "fps = {:.1f}" . format ( ( 1.0 / ( time . time ( ) - self . _prev_t ) ) ) , ( 10 , 30 ) , cv2 . FONT_HERSHEY_SIMPLEX , 1 , ( 0 , 0 , 255 ) , 2 ) self . _prev_t = time . time ( )