GithubHelp home page GithubHelp logo

Comments (6)

wfnian avatar wfnian commented on May 19, 2024

这里是代码

关于只保留骨骼点的图片是一个涉及到参数设置的问题

# =============================参数args 设置====================================
# 详细参考flags.hpp 文件
params = dict()
params["camera"] = 1
params["model_folder"] = "/home/wfnian/OPENPOSE/openpose/models"
# 根据实际情况路径做相应改变
params["number_people_max"] = 1  # 只检测一个人
params["camera_resolution"] = "640x360"
params["disable_blending"] = True
params["render_threshold"] = 0.001

opWrapper = op.WrapperPython()
opWrapper.configure(params)
opWrapper.start()


# ==============================================================================

起主要作用的是这一句:
params["disable_blending"] = True
在flags.hpp中有如下解释:
DEFINE_bool(disable_blending, false, "If enabled, it will render the results (keypoint skeletons or heatmaps) on a black" " background, instead of being rendered into the original image. Related: part_to_show," " alpha_pose, and alpha_pose.");

这里是op官网所给出的所有flags,有兴趣可以一个一个试试

希望能帮助您!

from posture_recognition.

pandaxue avatar pandaxue commented on May 19, 2024

哇。多谢解决了,感谢

from posture_recognition.

pandaxue avatar pandaxue commented on May 19, 2024

from posture_recognition.

wfnian avatar wfnian commented on May 19, 2024
  1. 关于你说的连续动作我没太明白,我的是基于实时摄像头的实时预测,也就是摄像头前面有什么预测什么。
  2. 相邻距离不变,我是指比如说手腕和胳膊肘这两个距离,不管你是什么动作,他们之间的距离不会变的,但是手腕和肩膀之间的距离不同的动作肯定不同啊,在你的手势识别中,中指的第一个关节到第二个关节之间的距离肯定是不变的,但是中指指尖到拇指指尖之间的距离是随着手势变化的。我有个同学也做的是手势识别来获取指令,套的就是我这一套,据他说效果还很好。
  3. CNN这个,我觉得只有数据量大,类别少,参照fashion_mnist这个分类我觉得(只是我觉得)应该会好些。
    希望以上能有所帮助,毕竟我是菜鸟。:octocat:

from posture_recognition.

Damon0626 avatar Damon0626 commented on May 19, 2024

连续动作我最近也碰到了相关的需求,不知到是否一样

比如说_八段锦_第二个招式:左右开弓似射雕,这个招式是由四个到五个动作组成,要识别出来这个招式,需要识别出来这几个动作而且顺序要对

识别到还好,顺序处理没有很好的思路,有碰到的可以讨论。

from posture_recognition.

mikechen1023 avatar mikechen1023 commented on May 19, 2024

@pandaxue 博主,你问题咋解决,我现在也遇到这个困境了,能否回复我一下,感谢

from posture_recognition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.