Python Forum
Detecting multiple markers based on bright spots detection on raspberry pi 3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting multiple markers based on bright spots detection on raspberry pi 3
#4
I don't think you can go that route... attribute an id based on what? (hint: this criteria would need to be valid in both images). What you can do is measure the distance between the markers of the first image and those of the second, and see if some markers have remained within some distance of their original position, or in a more general case consider that the combo of markers in the 2nd image that minimizes the sum of the distances with the markers on the first image image is the new sequence of markers. In your example you would likely discover that M1, M2, M3 are now M2, M1, M3.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
RE: Detecting multiple markers based on bright spots detection on raspberry pi 3 - by Ofnuts - Nov-29-2016, 10:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  iterating and detecting the last Skaperen 3 1,137 Oct-01-2022, 05:23 AM
Last Post: Gribouillis
  Detecting float or int in a string Clunk_Head 15 4,779 May-26-2022, 11:39 PM
Last Post: Pedroski55
  How to conditionally specify markers in matplotlib graph Mark17 3 3,339 Mar-03-2022, 07:42 PM
Last Post: Mark17
  module detecting if imported vs not Skaperen 1 1,713 Nov-19-2021, 07:43 AM
Last Post: Yoriz
  How to map two data frames based on multiple condition SriRajesh 0 1,524 Oct-27-2021, 02:43 PM
Last Post: SriRajesh
  detecting a generstor passed to a funtion Skaperen 9 3,747 Sep-23-2021, 01:29 AM
Last Post: Skaperen
  Python BLE Scanner not detecting device alexanderDennisEnviro500 0 2,047 Aug-01-2021, 02:29 AM
Last Post: alexanderDennisEnviro500
  Xlsxwriter: Create Multiple Sheets Based on Dataframe's Sorted Values KMV 2 3,558 Mar-09-2021, 12:24 PM
Last Post: KMV
  Detecting power plug Narayan 2 2,769 Aug-01-2020, 04:29 AM
Last Post: bowlofred
  How to print out multiple drinks instead of just one based on the input? jayfre 4 4,268 Jul-01-2020, 06:53 PM
Last Post: menator01

Forum Jump:

User Panel Messages

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