Comments (7)
t_box is type for defining a rectangular bounding box . Corners of the box are stored in min and max data members.
Now I have added more comments in the source code. Please tell me which part you do not understand.
Please note that the background should note have too many fluctuations. In our case we have placed a white sheet of paper behind the fruits. Still, white paper does not mean white background on movie (mainly due shadows). If your background is very varied you need some more complex algorithms ... check for the image segmentation problem.
from fruit-images-dataset.
I don't know how to increase the size of the box though. I'm only getting very partial images as the one above. Whenever I try to do that, I either get an error from OpenCV or the dimensions become very strange.
How should I edit the line in fruits_definition.h to increase this parameter properly?
Rect r_box(705, 205, 205, 205);
from fruit-images-dataset.
send me the full image.
from fruit-images-dataset.
from fruit-images-dataset.
Something like this. The algorithm cannot do more ... there is too much shadow between the dogs legs.
from fruit-images-dataset.
from fruit-images-dataset.
Rect r_box(390, 180, 540, 540);
#define motor_shaft_height 1
#define color_distance 3
However, some changes are required in the main function because the program is intended to work with movies not with images.
Also, update to the latest version because I fixed a problem: I worked with "smaller_image_size" constant (which was defined as 100) but somewhere in the program I used value 100 ... maybe this is why you got crash if you changed the smaller_image_size.
from fruit-images-dataset.
Related Issues (20)
- Bouding box on predicted fruit HOT 1
- training file
- same problem in run HOT 10
- problem in test HOT 2
- (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape HOT 1
- Problems to run freeze_graph HOT 16
- Checkpoint error when freezing HOT 1
- Infrared images HOT 1
- Bad image HOT 1
- MacOS clone and run, this error occurs: OSError: Unable to open file (unable to open file: name = 'output_files/fruit-360 model/model.h5', HOT 2
- how to feed network with custom image? HOT 2
- [QUESTION] How to use the trained model in tensorflow? HOT 7
- how we can test or predict any image? HOT 3
- how to get the label HOT 1
- Training issue HOT 6
- Is it bug ???? HOT 9
- How to use folder test-multiple_fruits for code ? HOT 11
- Partial accuracy 0.000??? HOT 13
- Filename typo HOT 1
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 fruit-images-dataset.