Python Forum
mapping-camera-coordinates-to-a-2d-floor-plan
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mapping-camera-coordinates-to-a-2d-floor-plan
#1
After following this blog: https://zbigatron.com/mapping-camera-coo...loor-plan/ there are a couple of things I could do with more support on as there are somethings I'm not entirely clear on.

There is an instruction about obtaining coordinates using gimp? So I think this means when you have an image in gimp and run the mouse over the image the coordinates will appear (somewhere on the screen).
The instruction is to get at least four pairs. Four from the 3d image? And then four corresponding coordinates of the 2d image? I don't understand how you get the four corresponding coordinates unless its an image of a chessboard? Have I got that wrong?

The next thing that isn't clear to me is what the code is supposed to do? Is it ment to spit out a coordinate? It does so when I use print(pointsOut) but how have the example gifs been created?...Perhaps the coordinates the python script generates are then applied back in gimp?

I was hoping to apply a 2d map moving in realtime to an object getting tracked on video. Is this not possible with this blog?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Get numpy ceil and floor value for nearest two decimals klllmmm 4 1,202 Jun-07-2023, 07:35 AM
Last Post: paul18fr
  Mapping a value to an interval JazonKuer 12 1,846 Mar-17-2023, 07:59 PM
Last Post: Gribouillis
  Floor approximation problem in algorithm gradlon93 3 911 Dec-14-2022, 07:48 PM
Last Post: Gribouillis
  access is denied error 5 for network drive mapping ? ahmedbarbary 2 1,731 Aug-17-2022, 10:09 PM
Last Post: ahmedbarbary
  Get image from PI camera and analyze it korenron 0 1,124 Apr-28-2022, 06:49 AM
Last Post: korenron
  Floor division problem with plotting x-axis tick labels Mark17 5 2,047 Apr-03-2022, 01:48 PM
Last Post: Mark17
  Create RTSP stream from camera? korenron 1 3,185 Jan-04-2022, 10:38 AM
Last Post: Larz60+
  How to get OpenCV to display entire camera frame? George713 1 3,207 Aug-12-2021, 02:45 AM
Last Post: Pedroski55
  Mapping a range ebolisa 5 3,416 Jun-12-2021, 11:17 PM
Last Post: ebolisa
Photo Locate Noise floor level for a spectral data in Python Ranjan_Pal 1 2,992 Dec-19-2020, 10:04 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020