当前位置:网站首页>OpenPose command line
OpenPose command line
2022-08-02 16:06:00 【zhangyu】
OpenPose Output Deal With 关键参数
详情见:./build/examples/openpose/openpose.bin --help
--face: Enable face key check.--hand: Enable manual key detection--video input.mp4: 读取视频--camera 3: 读取摄像头3--image_dir path_to_images/: Run on a folder with images--ip_camera [http://iris.not.iac.es/axis-cgi/mjpg/video.cgi?resolution=320x240?x.mjpeg](http://iris.not.iac.es/axis-cgi/mjpg/video.cgi?resolution=320x240?x.mjpeg): run in a streamIP摄像头.See example public IP 摄像机.--write_video path.avi: Save the processed image as a video--write_images folder_path: Save the processed images to a folder--write_keypoint path/: 输出JSON、XML或YML文件,and place the data in the folder--process_real_time: 对于视频,It can skip frames to display in real time--disable_blending: 如果启用,It will render the result(Keypoint skeleton or heatmap)on a black background,The original image is not displayed.- 相关的:
part_to_show,alpha_pose, andalpha_pose.
- 相关的:
--part_to_show: Visualize prediction channels--display 0: The display window is not open.For the server and /or slightly acceleratedOpenPose很有--num_gpu 2 --num_gpu_start 1: through the required equipmentidat this numbergpu上并行化.默认情况下,It uses all availablegpu.--model_pose MPI: 模型的使用,Influence digital key points、速度和精度--logging_level 3: Log message threshold,范围[0,255]:0will output any messages,255No message will be output.The scope of the current message is [1-4],Low priority messages are1,Important news is4.
No visual presentation、直接输出 JSON
# Only body
./build/examples/openpose/openpose.bin --video /media/video.avi --write_json output/ --display 0 --render_pose 0
# Body + face + hands
./build/examples/openpose/openpose.bin --video examples/media/video.avi --write_json output/ --display 0 --render_pose 0 --face --hand
JSON输出+The rendered image is saved
./build/examples/openpose/openpose.bin --video examples/media/video.avi --write_video output/result.avi --write_json output/
手部
# Fast method for speed
./build/examples/openpose/openpose.bin --hand
# Best results found with 6 scales
./build/examples/openpose/openpose.bin --hand --hand_scale_number 6 --hand_scale_range 0.4
# Adding tracking to Webcam (if FPS per GPU > 10 FPS) and Video
./build/examples/openpose/openpose.bin --video examples/media/video.avi --hand --hand_detector 3
# Multi-scale + tracking is also possible
./build/examples/openpose/openpose.bin --video examples/media/video.avi --hand --hand_scale_number 6 --hand_scale_range 0.4 --hand_detector 3
Faces and hands are rendered without poses
# CPU rendering (faster)
./build/examples/openpose/openpose.bin --render_pose 0 --face --face_render 1 --hand --hand_render 1
# GPU rendering
./build/examples/openpose/openpose.bin --render_pose 0 --face --face_render 2 --hand --hand_render 2
调试信息
# Basic information
./build/examples/openpose/openpose.bin --logging_level 3
# Showing all messages
./build/examples/openpose/openpose.bin --logging_level 0
选择一些GPU(The example below runs the demo video.avi,并行在 2 个GPU上, GPU 1和2(Note that it will skipGPU 0))
./build/examples/openpose/openpose.bin --video examples/media/video.avi --num_gpu 2 --num_gpu_start 1
Heat Maps Storing
./build/examples/openpose/openpose.bin --video examples/media/video.avi --heatmaps_add_parts --heatmaps_add_bkg --heatmaps_add_PAFs --write_heatmaps output_heatmaps_folder/
对 OutPut 文件进行处理
poseModel = op.PoseModel.BODY_25
print(op.getPoseBodyPartMapping(poseModel))
print(op.getPoseNumberBodyParts(poseModel))
print(op.getPosePartPairs(poseModel))
print(op.getPoseMapIndex(poseModel))
./build/examples/openpose/openpose.bin --image_dir ./media/ --write_images ./out_put/ --num_gpu 0 --num_gpu_start 0 --display 0 --face --hand
./build/examples/openpose/openpose.bin --image_dir ./media/ --write_images ./out_put/ --face --hand --display 0
边栏推荐
- The relationship between base classes and derived classes [inheritance] / polymorphism and virtual functions / [inheritance and polymorphism] abstract classes and simple factories
- 内存和硬盘、磁盘的区别
- Vert.x web 接收请求时反序列化对象 Failed to decode 如何解决?
- 代码细节带来的极致体验,ShardingSphere 5.1.0 性能提升密钥
- Xrdp 体验优化
- EastWave应用:光场与石墨烯和特异介质相互作用的研究
- golang-reflect-method-callback
- 在mininet中测试arp欺骗
- 【网络安全】学习笔记 --00
- 【solidity智能合约基础】节约gas的利器--view和pure
猜你喜欢
随机推荐
Unity中事件的3种实现方法
【Solidity智能合约基础】-- 基础运算与底层位运算
Oauth2.0 认证服务器搭建
change the available bandwidth of tcp flow dynamically in mininet
【软件测试】禅道的简要介绍
冷读123
【网络安全】学习笔记 --00
OpenPose run command ([email protected])
Oauth2.0 Supplement
我的2021回忆录
【进程间通信】消息队列
光波导应用中的真实光栅效应
Oauth2.0 认证服务器添加验证码登陆方式
企业的电子签名、私钥签名
Priority table and Ascll table
转行软件测试,从零收入到月薪过万,人生迎来新转折
TypeScript
字符数组/字符串数组|数组指针/指针数组/
golang gc垃圾回收
Oauth2.0 资源服务器搭建









