Jump to content



Photo

[java] How to isolate objects from image


  • Please log in to reply
1 reply to this topic

#1 Action Hank

Action Hank

    Neowinian

  • Joined: 25-November 09
  • Location: Gdynia, PL

Posted 13 November 2012 - 18:01

Hi,
I am thinking about problem how to isolate objects from image. On input, we have an image with defined objects (let's say - cards) which positions we would like to know so we can copy them separately, trim unnecessary pixels and align them horizontally/vertically.

There is an sample image attached (I took picture of surrounding without cards and with to make diff and cut off most of unnecessary parts of image).

Finding the corners of each card I think would do the trick - but how?


#2 OP Action Hank

Action Hank

    Neowinian

  • Joined: 25-November 09
  • Location: Gdynia, PL

Posted 13 November 2012 - 18:49

Attachment failed to add. Image below.

Posted Image