Comments (3)
Hey Victor,
that did the job! Great thanks!
I added sorted() to all os.listdir() functions, as they use arbitary order, just to make sure if there could be similar problems with other python / OS versions.
from handtracking.
Hi @gustavz ,
Thanks for pointing these out, this feedback is quite insightful.
- Different Results:
The main reason the images and bounding boxes are visualized is to catch the exact sort of error you just showed. For some reason, the bounding boxes in your screen shots are not what I observe when I run same code. Below is a link to how the bounding box and polygon.mat is processed at my end.
ALL boxes are drawn correctly.
https://www.youtube.com/watch?v=PA0lBI_hp4w&feature=youtu.be
-
Mac vs Ubuntu might be the problem:
As to why bounding boxes are mismatched on your end, one thing I notice immediately is my tests are on a Mac (you are using Ubuntu). As you pointed out, it is possible that there are differences in how python os code processes directories in Ubuntu vs Mac (I did not factor this in .. relatively new to python). I think the fix suggested by @csaldi in issue #3 should work. i.e sorting image_path array in ascending order. My suspicion is that on a mac, the os directory walkthrough code returns files in the sorted ascending order but does not do the same on Ubuntu. -
Potential Fix:
I just pushed a fix which sorts the image_path array. I don't have access to an ubuntu machine, but will try to do this over the next couple days.
Let me know if the fix works for you.
Thanks for the feedback!
-V.
from handtracking.
Great!
Let me know how the results from training with both datasets go!
-V.
from handtracking.
Related Issues (20)
- How can I detect hands in Jpg?(panel disappeared & size) HOT 1
- Just sending a note HOT 1
- why some label is not correct?
- Problem while training: zero mAp. HOT 2
- Threading to "improve" visual performance HOT 2
- Help Needed to convert the frozen graph to Tensorflow lite model HOT 4
- Problem with egohands_dataset_clean.py HOT 4
- hand detection
- Is the coordinate position of the detection box upper left corner, lower right corner or upper left corner with width and height?
- How can I use this model in Keras?
- Confusion while generating tf records
- question about frozen_inference_graph.pb
- Oxford hand dataset
- Using the savedmodel in this project for transfer learning in Keras
- Tensorflow Lite-Mobile HOT 3
- Loaded runtime CuDNN library: 7.4.2 but source was compiled with: 7.6.0 HOT 1
- Step-By-Step Tutorial and Requirements
- What's version of tensorflow was used to train model? HOT 1
- How to modify for a url stream?
- How can i use my own model for hand gestures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handtracking.