how to recognise overlapping images

  • 7 Replies
  • 420 Views
*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 514
how to recognise overlapping images
« on: March 18, 2017, 07:40:31 am »
how to recognise overlapping images ?

*

korrelan

  • Trusty Member
  • ********
  • Replicant
  • *
  • 626
  • Look into my eyes! WOAH!
    • Google +
Re: how to recognise overlapping images
« Reply #1 on: March 18, 2017, 10:51:51 am »
Quote
how to recognise overlapping images ?

Do you mean for depth perception?

There a few ways to get depth from a machine vision system.  You could use something like a digital rangefinder or Kinect.

You can use the physical offsets from stereo cameras… adjust the physical angles of the cameras until you get an overlap of the image… the angles corresponds to a depth reading.

Our eyes give stereo images; the eyes can move horizontally in unison within their sockets but never vertically independently (or shouldn't do lol).  The idea is to select a small piece of image from one view and seek it horizontally at a similar location in the second image; the offset or horizontal shift equates to the depth.

I’ve just wrote some simple code to demonstrate how to obtain depth information for stereo images.  I’ve slowed it down so you can see how it maps one image against the other. Darker grey maps to deeper depth; you wouldn’t normally need to convert the whole image just a matrix of points… depending on your requirement.



Read the RGB values of small area of image (say 2X10 pixels, experiment with various sizes) into an array.

Then in the other image search at the same vertical position but slightly to the left… move the search to the right checking for a match as you go.

Depending on the image quality you might need RGB offsets for the matching, ie

.offset=10
.sred=original red from left image
.ored=red from the image we are searching

.If sred >= ored - offset and sred<= ored + offset then red_match =true

.same for blue/ green channels

The position difference when you find your match is the depth.

 :)
« Last Edit: March 18, 2017, 12:14:37 pm by korrelan »
It thunk... therefore it is!

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 514
Re: how to recognise overlapping images
« Reply #2 on: March 18, 2017, 02:12:11 pm »
I meant like in cursive OCR or like one car in front of half of another car.

*

keghn

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 404
Re: how to recognise overlapping images
« Reply #3 on: March 18, 2017, 02:37:53 pm »
 A image with over lapping object in video is done taking information from other frames when there was no interactions.
 It about tracking object into the chaos so they are not lost.

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 514
Re: how to recognise overlapping images
« Reply #4 on: March 18, 2017, 03:20:27 pm »
yeah I also saw that working but not for the cursive OCR case cause you don't
have enough detail, therefore it needs an extra solution

*

korrelan

  • Trusty Member
  • ********
  • Replicant
  • *
  • 626
  • Look into my eyes! WOAH!
    • Google +
Re: how to recognise overlapping images
« Reply #5 on: March 18, 2017, 04:37:14 pm »
So you are looking for robust system to read hand written cursive text?

Quote
you don't have enough detail

Are you using a scanner or camera to obtain the images?

Why do you think object occlusion/ recognition is relevant to OCR?

Exactly what are you trying to achieve?

 :)
It thunk... therefore it is!

*

yotamarker

  • Trusty Member
  • ********
  • Replicant
  • *
  • 514
Re: how to recognise overlapping images
« Reply #6 on: March 18, 2017, 05:43:29 pm »
using a camera;
//trying to achieve image recog

reconizing an object is one thing but :
if it is overlapping like 2 dolls standing and touching
or
two char's written in cursive

the recog fails

*

keghn

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 404

 


Users Online

20 Guests, 1 User
Users active in past 15 minutes:
WriterOfMinds
[Trusty Member]

Most Online Today: 46. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles