Detecting shapes using open Cv in Android

asked 2017-12-14 03:37:29 -0600

Tinto gravatar image

updated 2020-11-17 17:39:18 -0600

I have requirement to detect the measurements of parcels before accepting it from the user. When I searched found out that Open CV is the better solution for the requirement but till now I didn't get any solution. Please share the java code for my android project

edit retag flag offensive close merge delete

Comments

we can help you if you have an opencv problem, but we won't write your app.

berak gravatar imageberak ( 2017-12-14 10:29:29 -0600 )edit

@berak then please give some ideas to get the solution. I have integrated the open library to my application and I am using SDK for the development. Please give some guidance to achieve it.

Tinto gravatar imageTinto ( 2017-12-14 22:01:14 -0600 )edit

@Tinto

  • Segmentation into objects and background first
  • Then apply contour finding and analysis
  • Use shape, size and dimensions to agree or decline

Seems like just what you need

StevenPuttemans gravatar imageStevenPuttemans ( 2017-12-15 04:53:42 -0600 )edit

@ berak Is it possible to get the solution using java? or need to go with C++?.

Tinto gravatar imageTinto ( 2017-12-16 00:15:44 -0600 )edit
1

@Tinto, again: "get the solution" means: YOU will have to learn about computer-vision, and write your own program. noone will do that for you, and the language does not matter.

berak gravatar imageberak ( 2017-12-16 01:39:52 -0600 )edit