Giter Site home page Giter Site logo

handgestureclassify's Introduction

HandGestureClassify

基于tensorflow的手势识别和分类

博文地址:https://blog.csdn.net/yyyerica/article/details/80151473

原手部检测代码源自: https://github.com/timctho/convolutional-pose-machines-tensorflow

分类代码参考: https://blog.csdn.net/Enchanted_ZhouH/article/details/74116823

使用说明:

1.手势识别

运行 run_demo_hand_with_tracker.py 进行实时手势识别

修改 config.py 中的 DEMO_TYPE 可更改输出的图像类型

将 run_demo_hand_with_tracker.py 中的 cv2.imwrite('./storePic/11'+str(i)+'.jpg', local_img.astype(np.uint8),[int(cv2.IMWRITE_JPEG_QUALITY), 90]) 语句解除注释可以保存图片到项目目录下,可以自行修改存储目录

2.手势图像分类

classmain.py 代码用于训练分类

用于训练的手势数据集存于 classify -- handGesturePic 中,需要自行运行run_demo_hand_with_tracker.py保存图片作为训练集

训练好的模型存在 classify--modelSave 中

调用 useClassifyModel.py 进行分类结果验证

其中,手部检测的模型请到https://github.com/timctho/convolutional-pose-machines-tensorflow 下载(tf版本)

手势图像分类的模型参数请自行训练classmain.py保存

handgestureclassify's People

Contributors

yyyerica avatar

Watchers

James Cloos avatar

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.