Safemotion Lib
Loading...
Searching...
No Matches
Namespaces | Variables
pose_demo.py File Reference

Go to the source code of this file.

Namespaces

namespace  pose_demo
 

Variables

list pose_demo.sys_path = ['/workspace/smlab', '/workspace']
 
str pose_demo.cfg_path = '/workspace/smlab/smpose/configs/mmpose/hrnet_trt.py'
 
str pose_demo.image_path = '/workspace/smlab/smpose/demo/human-pose.jpg'
 
str pose_demo.save_path = '/workspace/smlab/smpose/demo/skeleton.jpg'
 
 pose_demo.pose_model = smrunner.build_model(cfg_path)
 
 pose_demo.image = cv2.imread(image_path)
 
 pose_demo.result = pose_model.run_detector(image)
 
 pose_demo.vis_img = image.copy()