i need a code for orange fruit recognition using image segmentation

orange fruit recognition where the code need to take picture and analyse and circle the image if it is orange fruit

6 个评论

What is the task? To detect fruit that are normally described as "orange" when ripe, and to only need to detect them when they are ripe? Or to detect fruit that are normally described as "orange" when ripe, but to be able to detect them at any growing stage after they have started growing fruit? Or to detect orange-colored areas in an image and then to figure out whether the color belongs to a "fruit" or to something else?
For example, there are many varieties of tomato that go through a stage with significant portions "orange" while they ripen. Most tomatoes are not typically described as "orange" after they ripen... but some are. So does the code need to be able to tell the difference between varieties of tomatoes in which they are "passing through" orange (and ignore those) compared to varieties of tomatoes that "stop" at orange? Or should tomatoes not be included at all because in the United States they are legally designated as vegetables instead of fruit, even though biologically they are fruit ?
How about
That is a kind of fruit whose very name in English is "orange". But the outsides are clearly green. Should they be detected? And no, it is not just a matter of these "oranges" possibly not being ripe: "oranges" can be orange or green or yellow; https://www.kitchenbutterfly.com/2019/orange-which-came-first-the-fruit-or-the-colour/
You need to decide what the question is.
But you need to exclude sweet potato, and you need to exclude yam, as those are not fruit even though they are orange. So colour detection is not enough. Segmenting is not enough either: you need texture analysis.
If subject distance and species is uncontrolled, you'll have to find a way to distinguish an honest peach at 10m from a surreptitious pumpkin at 40m.
... or not, since a pumpkin is a fruit as well ;-)
And so is orange maize (orange corn).
For some reason I thought that there was a need to discriminate between different orange fruits. Rereading, I guess there's not. Maybe I just wanted an excuse to say "surreptitious pumpkin".
The question is rather unclear.
  • It might mean that the user is required to produce code that will be able to identify the species (or common name at least) of each blob in the image that is a fruit and is currently orange (including, for example, unripe tomatoes passing through on their way to red.)
  • It might mean that the user is required to produce code that will be able to identify the species (or common name at least) of each blob in the image that is a fruit that is of a variety that will turn orange when ripe (so ignore the unripe tomatoes that are currently orange because they are a variety that will turn red, but include the tomatoes that are currently green but are of a variety that will turn orange when ripe.)
  • It might mean just having to label blobs that are currently orange... even if they are safety vests instead of plants. It might mean having to label blobs that are currently orange and are plants (including root vegetables such as carrots).
  • It might mean having to label blobs that are currently orange and are identifiable as botonical fruit, without having to label which fruit species...
  • It might mean having to label blobs that are currently orange and are identifiable as being "culinary fruit" (so ignore tomatoes and pumpkin, but be able to distinguish "cape gooseberries" (groundcherries, a cullinary fruit) from tomatillo (closely related, some genus, but often considered a cullinary vegetable...)

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by