how to recognise overlapping images

  • 7 Replies
  • 2891 Views
*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
how to recognise overlapping images
« on: March 18, 2017, 07:40:31 am »
how to recognise overlapping images ?

*

Korrelan

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1454
  • Look into my eyes! WOAH!
    • YouTube
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!...    /    Project Page    /    KorrTecx Website

*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
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
  • *********
  • Terminator
  • *
  • 824
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
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
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
  • ***********
  • Eve
  • *
  • 1454
  • Look into my eyes! WOAH!
    • YouTube
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!...    /    Project Page    /    KorrTecx Website

*

yotamarker

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1003
  • battle programmer
    • battle programming
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
  • *********
  • Terminator
  • *
  • 824

 


OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

238 Guests, 0 Users

Most Online Today: 274. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles