Skip to content

Commit

Permalink
update README and apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Tau-J committed Sep 28, 2023
1 parent b327b59 commit 413ea33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Basically, rtmlib only requires these dependencies:
- opencv-python
- opencv-contrib-python

Optionally, you can use other common backends like pytorch, onnxruntime, tensorrt to accelerate the inference process.
Optionally, you can use other common backends like opencv, onnxruntime, tensorrt to accelerate the inference process.

## Installation

Expand Down Expand Up @@ -61,6 +61,7 @@ img = cv2.imread('./demo.jpg')
openpose_skeleton = False # True for openpose-style, False for mmpose-style

wholebody = Wholebody(to_openpose=openpose_skeleton,
mode='performance', # 'performance', 'lightweight', 'balanced'. Default: 'performance'
backend=backend, device=device)

keypoints, scores = wholebody(img)
Expand Down

0 comments on commit 413ea33

Please sign in to comment.