GithubHelp home page GithubHelp logo

Comments (7)

mihaioltean avatar mihaioltean commented on August 23, 2024

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.

CJRobey avatar CJRobey commented on August 23, 2024

image_screenshot_12 06 2018

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.

mihaioltean avatar mihaioltean commented on August 23, 2024

send me the full image.

from fruit-images-dataset.

CJRobey avatar CJRobey commented on August 23, 2024

cocker_spaniel_364

from fruit-images-dataset.

mihaioltean avatar mihaioltean commented on August 23, 2024

0_540

Something like this. The algorithm cannot do more ... there is too much shadow between the dogs legs.

from fruit-images-dataset.

CJRobey avatar CJRobey commented on August 23, 2024

from fruit-images-dataset.

mihaioltean avatar mihaioltean commented on August 23, 2024

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)

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.