Code Monkey home page Code Monkey logo

hand_detect's Introduction

this hand detector is trained by yolov3-tiny
environment: ubuntu, python2
1. install darknet from https://pjreddie.com/darknet/yolo/
2. change detect_camera_img.py in line 58 "/Users/ming/darknet/libdarknet.so" to your darknet path
3. python detect_camera_img.py

if you want to train the hand detector, make sure you can train yolo on VOC by instructions https://pjreddie.com/darknet/yolo/
1. download dataset from http://www.robots.ox.ac.uk/~vgg/data/hands/downloads/hand_dataset.tar.gz
2. copy mat_to_xml.py and xml_writer.py to folder "hand_dataset/training_dataset/training_data/" and "python mat_to_xml.py" (change .mat annotations to .xml annotations)
3. put the .xml and .jpg data in your folder correspondingly /darknet/scripts/VOCdevkit/VOC2012/Annotations , /darknet_train/scripts/VOCdevkit/VOC2012/JPEGImages
4. modify yolov3-tiny.cfg, voc.data, voc.names in your darknet ,then you can train "./darknet detector train cfg/voc.data cfg/yolov3-tiny.cfg darknet53.conv.74 -gpus 0"

hand_detect's People

Contributors

zhangming8 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.