Author Topic: how to recognise overlapping images  (Read 279 times)

yotamarker

  • *******
  • Starship Trooper
  • Posts: 470
how to recognise overlapping images
« on: March 18, 2017, 07:28:31 AM »
how to recognise overlapping images ?

korrelan

  • *
  • Replicant
  • ********
  • Posts: 571
  • Look into my eyes! WOAH!
    • Main YouTube
Re: how to recognise overlapping images
« Reply #1 on: March 18, 2017, 10:39: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:02:37 PM by korrelan »
It thunk... therefore it is!

yotamarker

  • *******
  • Starship Trooper
  • Posts: 470
Re: how to recognise overlapping images
« Reply #2 on: March 18, 2017, 02:00:11 PM »
I meant like in cursive OCR or like one car in front of half of another car.

keghn

  • *
  • Starship Trooper
  • *******
  • Posts: 337
Re: how to recognise overlapping images
« Reply #3 on: March 18, 2017, 02:25: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

  • *******
  • Starship Trooper
  • Posts: 470
Re: how to recognise overlapping images
« Reply #4 on: March 18, 2017, 03:08: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

  • *
  • Replicant
  • ********
  • Posts: 571
  • Look into my eyes! WOAH!
    • Main YouTube
Re: how to recognise overlapping images
« Reply #5 on: March 18, 2017, 04:25: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

  • *******
  • Starship Trooper
  • Posts: 470
Re: how to recognise overlapping images
« Reply #6 on: March 18, 2017, 05:31: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

  • *
  • Starship Trooper
  • *******
  • Posts: 337

 

Welcome

Please login or register.



Login with username, password and session length
Russian Military Robots
by Art (Robotics News)
April 25, 2017, 06:14:30 PM
DeepMind
by Art (AI News )
April 19, 2017, 06:19:36 PM
A Murder Posted on Facebook Prompts Outrage and Questions Over Responsibility
by Art (AI News )
April 18, 2017, 10:12:52 AM
AI based 3d scanner
by Art (AI News )
April 18, 2017, 10:04:39 AM
Artificial Earthling
by Art (AI News )
April 14, 2017, 03:49:08 PM
Faster websites with fewer bugs
by Tyler (Robotics News)
April 13, 2017, 10:50:45 PM
New Tools Needed to Track Technology’s Impact on Jobs, Panel Says
by Tyler (AI News )
April 13, 2017, 10:50:43 PM
SMART automation
by Tyler (Robotics News)
April 13, 2017, 04:48:34 PM

Users Online

24 Guests, 1 User
Users active in past 15 minutes:
kei10
[Trusty Member]

Most Online Today: 31. Most Online Ever: 208 (August 27, 2008, 08:24:30 AM)

Articles