Ask Your Question

Can I use OpenCV for Leaf Matching project

asked 2015-03-21 04:06:23 -0500

updated 2015-03-21 09:00:08 -0500

Hi, I am developing a project in android for Leaf Matching .

  • Question1:-Can I use openCV android for this project ?
  • Question2:-I have to implement some formulas like aspect Ratio,Convex HUll,Region Moment of Inertia,Angle Code Histogram etc.Can i do using openCV?

  • Question2:-I dont Know about Region Moment Of Inertia and Angle Code Historgam .?

Knight_Painter_Potter_PlantLeafClassification this is pdf name that is to be developed link:-

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-21 09:02:47 -0500

1) Yes.

2) Yes, OpenCV already gives you a wide range of shape descriptors:

edit flag offensive delete link more


Thanks for replying .I went through the link but method which i see are in C,C++,python and I am using java-android .I was also confused which method should be use for calculating the below parameters. 1)Centroid-contour Distance Curve 2)bounding rectangle 3)region-of-interest (ROI) area 4)convex hull area (A C ) 5)ROI perimeter (P ROI ) 6)convex hull perimeter (P C ) 7)Regional Moments of Inertia 8)Angle Code Histogram

Bhaskar gravatar imageBhaskar ( 2015-03-21 21:46:33 -0500 )edit may give you hints on computing some of your features. Nearly all the functionality of OpenCV is also wrapped for Java, so just use the corresponding java-function (see )

Guanta gravatar imageGuanta ( 2015-03-22 06:55:57 -0500 )edit

Question Tools

1 follower


Asked: 2015-03-21 04:06:23 -0500

Seen: 114 times

Last updated: Mar 21 '15