From: andrew mcelroy Date: 2012-09-28T23:31:41+09:00 Subject: Re: image processing --14dae9340dc9918da604cac3e94e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Sep 28, 2012 at 9:25 AM, andrew mcelroy wrote= : > > > On Mon, Sep 24, 2012 at 8:40 PM, Nicol=F2 L. wrote= : > >> I'm trying to build a program meant to recognize plants by looking at a >> picture of their leafs or similar parts. >> > > I'm doing this kind of detection with animals. > There is a ruby opencv library, but it doesn't have 100% api coverage and > opencv can be a beast in its own right to install. > > >> >> The approach that I had thought to would be: >> - create a mathematical model of the leaves to be recognized >> - maybe use some algorithm to combine two pictures from different angles >> into one with depth measurement (absolutely don't know how this is done) >> - confront the elements of the picture using distance or colors with the >> models in the database (basically using only the shape of the borders) >> > > Stone Age. You will need a lot of samples, but there are a lot of > algorithms you aren't even considering. > You need to look more into Boosting, Bagging, and Stacking algorithms. > For starters look at AdaBoost or WaldBoost algorithm. > Also, check out Bag of Words and SIFT. > > >> >> Therefore I am looking for some good and deep guides/sources to teach me >> something about this kind of "data modeling", geometrical analysis and >> image processing. For now the best that I could find is the Camelia >> Library (witch helps a little with colors, but I don't think will be >> enough for the shape detection). >> > > You need something like opencv. I think the library you need is > ruby-opencv. > It can be found on github. Follow the instructions for installing opencv > with python first > and build it from source. Also, you are going to want to have fftw librar= y > installed. > > As for reading material, computer vision/ machine learning for plants has > a lot of literature. > Start using scholar.google.com and don't be afraid to ask people at other > .edu addresses for advise. > > hope this helps. > One more thing, brush up on your calculus, matrix algebra, statistics, and trig. You want to add the search term "deformable parts" because after all plants leaves are not stiff. They can twist, bend, fold, etc. You wouldn't want wind screwing up your detection. > > Andrew McElroy > >> >> >> I'm aware that this is not a simple project, but I am willing to learn >> and spend a good amount of months to get this started >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> > --14dae9340dc9918da604cac3e94e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Sep 28, 2012 at 9:25 AM, andrew = mcelroy <sophrinix@gmail.com> wrote:


On Mon, Sep 24, 2012 a= t 8:40 PM, Nicol=F2 L. <lists@ruby-forum.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"> I'm trying to build a program meant to recognize plants by looking at a=
picture of their leafs or similar parts.

I'm doing this kind of detection with animals.
There = is a ruby opencv library, but it doesn't have 100% api coverage and ope= ncv can be a beast in its own right to install.
=A0

The approach that I had thought to would be:
- create a mathematical model of the leaves to be recognized
- maybe use some algorithm to combine two pictures from different angles into one with depth measurement (absolutely don't know how this is done= )
- confront the elements of the picture using distance or colors with the models in the database (basically using only the shape of the borders)
<= /blockquote>

Stone Age. You will need a lot of sam= ples, but there are a lot of algorithms you aren't even considering.
You need to look more into Boosting, Bagging, and Stacking=A0algorithm= s.
For starters look at AdaBoost or WaldBoost=A0algorithm.
<= div>Also, check out Bag of Words and SIFT.
=A0<= /div>

Therefore I am looking for some good and deep guides/sources to teach me something about this kind of "data modeling", geometrical analysi= s and
image processing. For now the best that I could find is the Camelia
Library (witch helps a little with colors, but I don't think will be enough for the shape detection).

= You need something like opencv. =A0I think the library you need is ruby-ope= ncv.
It can be found on github. Follow the instructions for insta= lling opencv with python first
and build it from source. Also, you are going to want to have fftw lib= rary installed.

As for reading material, computer = vision/ machine learning for plants has a lot of literature.
Start using scholar= .google.com and don't be afraid to ask people at other .edu address= es for advise.

hope this helps.

One more thing, brush up on your calculus, matrix algeb= ra, statistics, and trig.
You want to add the search term "d= eformable parts" because after all plants leaves are not stiff.
They can twist, bend, fold, etc. You wouldn't want wind screwing u= p your detection.
=A0

Andrew M= cElroy


I'm aware that this is not a simple project, but I am willing to learn<= br> and spend a good amount of months to get this started

--
Posted via http://= www.ruby-forum.com/.



--14dae9340dc9918da604cac3e94e--