Git Product home page Git Product logo

Comments (4)

nicknochnack avatar nicknochnack commented on August 27, 2024

What's in the background images? Are there any detectable examples in these?

from realtimeobjectdetection.

Moaxen avatar Moaxen commented on August 27, 2024

What's in the background images?
Some random pics (cats, for example) that have nothing to do with my gestures.
Are there any detectable examples in these?
No. I created for this pics .xml files and deleted from there block "Object". I also changed some code in generate_tfrecord.py like in the link above.

from realtimeobjectdetection.

nicknochnack avatar nicknochnack commented on August 27, 2024

Hmmm, I don't think those will add much value as there aren't any labels being generated in the tfrecords file. To improve accuracy I'd suggest the following:

  1. Perform image augmentation e.g. brightness, contrast, scaling and cropping
  2. Train for longer until you hit a low loss metric for both train and validation
  3. Use more photos for each class and under different conditions

from realtimeobjectdetection.

Moaxen avatar Moaxen commented on August 27, 2024

I added around 30 pics for each class, changed some of them(blur, brightness, contrast and etc.).
I checked detection at 0.079(28300 steps). It was good, but still sometimes detected my head as index finger and with accuracy around 50-60%. I continued training for a lot (209000 steps), stopped at 0.030 loss and results are worse than at 0.079 loss. I have some false positive detections, but, luckily, not as much as before.

Your suggestions helped a lot. Before I asked you I changed background in my pics for different colors, thought it would help somehow.

Now I will try adding more pics(100) to each class and will be stopping and checking. Did not think that at lower loss it will be performing worse.

Also what I need to do to get id of detected class in python script.

from realtimeobjectdetection.

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.