-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localize in 3D, multi camera with overlaps (stereo) #1
Comments
Indeed, Although I believe the performance in practice will not be so good by just adding the parameters from the cameras and their relative positions. |
If by performance you mean accuracy then yes indeed I gave a thought and it may require both mono and stereo camera calibration I'm actually unsure how to perform run-time undistortion and stereo rectification together with the localization together but given that the input image/video feed is already pre-undistorted and pre-rectified I suppose all we need is a simple formula to convert 2D to 3D? If so, and idea what to change? |
I came across this multi cam calibration repo: But I trouble figuring out the maths to actually localize 😅 |
Hi. what kind of cameta do you use to implement the algorithm? Thx. |
Hej @hughhugh , I tested the algorithm with both: 2x Logitech C510 in parallel, and just the same camera alone. |
@noether Thank you. How many cameras are needed in visionloc for several rover like five generally? |
@hughhugh . You might have as many cameras as you wish. The more cameras, the more area you will cover. With a single camera Logitech C510 I was able to cover an area of around 2x2.5 meters, and the camera was at about 1.80 meters high from the table. You can see here an example of such a setup: https://www.youtube.com/watch?v=kS_yJiaA_1Y , the robots were "E-pucks" to give you an idea of their size. |
@noether Hi, I have ordered a logitech camera now from webstore. But how can I get the heading angle using this project? Environment : Ubuntu 18.04 64. Thank you.
$ ./example_libvisionloc 4 |
@noether Thank you. |
Now it should print the heading in the example (please sync with the repo). The example is not meant to be run in "real time" but as guidance for your application. Your camerasInfo.xml describes two cameras (and you are only using one). In the example, there is a for loop that will iterate always 1000 times for each camera. Note that in the example, even if the program has detected all the makers, the for loop will continue, hence the lag. In your application, it is up to you how to manage when you should stop looking for markers (condition for the for loop to break). If time is critical for you over detecting all the possible expected markers, then the fastest is to do not have any for loop (just one iteration). If you have several cameras, and you found all the expected markers in the first camera, maybe you would like to add a condition so that you do not look for markers in the second camera. It is up to you how/when to stop looking for markers depending on your application. |
Hi @noether
Great repo!
By configuring
camerasInfo.xml
i see the possibility of using multi camera, with / without overlaps in 2DHowever, what about localizing in 3D, likely stereo (2 cameras with overlaps)
Regards
The text was updated successfully, but these errors were encountered: