-
Notifications
You must be signed in to change notification settings - Fork 205
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
Problem with Caliberation #65
Comments
Hey Sethi! Which marker have you printed out? And can you upload a screenshot of the marker settings in your program? For using multiple markers: Imagine you have a world center in your scene, at 0,0,0 (XYZ). Livescan always centers the viewport around this center, and the marker places the content in relation to this center, so it's a good idea to have the marker always close to it, Now imagine you want to use four markers, arranged like a cube. For the best placement, the world center should be in the middle of the cube. So the offset should be calculated based on the distance of the marker from the center, as well as the rotation offset. I've drawn a small sketch to illustrate this So let's say this is our coordinate system, XYZ, with the forward axis being on the Z axis. Therefore in the default rotation (0,0,0), our marker faces into the Z direction. If we want to now use a cube configuration, and we say our marker width is 20cms, we arrange our markers like this: Livescan uses centimeters for translation and euler angles for rotation. Our cube arrangement gives us the following values: |
Hm, everything looks fine to me in your settings and the printed marker seems to be good aswell! You might have to experiement with lighting a bit, try to avoid direct sunlight, but also make sure to have some bright artifical lights in your room. The marker should be well-lit. Also try moving the marker around a bit and change the angle to the camera. In your final calibration you of course want the marker to be still, but just try to play around with it a bit too see if we can detect the marker at all. If you want to, you can also send some screenshots of your client depth and color preview showing the marker (block out the rest of the room with MS Paint or something for privacy), so I can take a look if everythings looking good there! |
Try gluing the marker onto a very flat piece of cardboard, wood, or something else, which does not bend. |
One marker worked! |
Is ther problem is with translation, dont know? |
Please help me with this too |
So several things:
|
Thank you for all the responses, i am now able to track two markers, |
Good to hear that it is working now! Coincidentally I'm writing up a detailed guide on multi-camera calibration with Livescan at the moment. If you're patient until the end of the week, I'll post a link to it here. |
Yeah no problem |
Hi, Are you done writing the blog as i was waiting for it to execute with 4 kinect devices? |
Hey! Sorry I got sick until yesterday and could not finish it yet. I'll have it done in the middle of the week I think! |
Hi, Are you done writing the blog? |
I've just finished writing the documentation on the Calibration process, you can view it here: https://github.com/BuildingVolumes/LiveScan3D/blob/development/docs/Website/content/docs/user-guide/calibration.md |
Thanks for the clear docs, I have a question, Well I want to ask if my setup is like I want to capture a person sitting on the chair and using a 4-cube marker setup then how will I place the cube to get all the sides of the person sitting on the chair and marker are readily captured by Kinect. |
I'd place the cube on the chair, but elevate it a bit with some boxes so that the backrest doesn't cover anything on the cube. Otherwise I'd arrange the kinects like in the graphic: https://github.com/BuildingVolumes/LiveScan3D/blob/development/docs/Website/content/docs/user-guide/images/Calibration/4_Marker_Setup.png |
Hello |
Hi! What specifially doesn't work? Do you get an error message? It should be able to run all kinects on one PC, that is in fact what I've been doing most of the time. |
Basically when i connect one kinect to the laptop and other to power source, and that kinect and connect to the server then i can only see one kinect connected, but when i connect other to other laptops and then server then only i can see other kinects and master subordinate relationship. |
Apologies that sentence was a bit hard to understand for me. Can you describe the process again but each step after the other, like this?
|
Sure
|
Ah now I get it! No that is not possible. Also you don't get any advantages from this as far as I can tell, because temporary synchronisation only takes effect when two or more kinects are used for the same capture. If you use just one device, you don't need temporal sync. If you daisy chain all devices, you also need to use all devices for temporal sync, you can't pick just some devices you want. If you only want two devices synced for example, you have to chain only these two devices, and disconnect all other devices. |
Just to avoid misunderstandings, the sync cable only carries the sync signal, which is a simple 1bit signal, no other data. |
Hello, thank you for your reply, I have read the document you thanked, but the calibration is still successful. I have two Kinectv2 cameras, and put them face to face, the marks are placed in the middle, and the marks 0 and 1 are used, and the mark Y of 1 is turned to fill in 180°, and the other marks are 0, and the correction also appears green box, but it is still false |
This means the color camera can see the marker, but the depth camera can not. This is usually caused by the marker being too far away or too close to the sensor. Try moving the marker around. Sometimes this issue can also be caused by too much IR-light in the enviroment. |
Hey! The target looks fine, but your floor looks very reflective. You should try putting your setup somewhere else, where there aren't as many reflections. You only get the green outline in the color view, so this is fine. About the displayed marks, this looks pretty good, the offset might just be some inaccurracy in the calibration process. Try putting your markers in a different environment with less reflective surfaces, and this might improve. |
In the last post it looks like your setup is correctly calibrated? So you managed to fix the problem? |
The point cloud data I photographed was Calibrated, but the LiveScanServer window showed Calibrated = false |
That's a bit odd for sure, but if the pointcloud is correctly calibrated, the calibration is successful! I'm not too sure why this state isn't reflected in the server window, but it's probably just a visual bug. |
Could be multiple reasons:
|
Hello, can you send the document about correction? It seems that the link is invalid |
Ah yes, I'm currently restructuring to put all the documentation on a website, so the file has moved here: https://github.com/BuildingVolumes/LiveScan3D/blob/development/docs/Website/content/docs/user-guide/calibration.md |
Hello, can I add your wechat or other contact information? I would like to ask you some questions |
You can join our discord if you'd like to! But also feel free to ask question here in the issues/open new issues, in this way other people can search for them if they have the same problem! |
OK, I'm in. Thank you |
It looks like your markers were mirrored on the horizontal axis before printing. |
Sorry, yes the documentation is for a new version of LiveScan, which unfortunately doesn't support Kinect V2 anymore. But altough the UI looks different, the functionality should be similar, with the biggest difference being that you manually need to add the markers and marker IDs in your version. Your settings look fine though! To be honest, I'm really not sure what the problem might be anymore. Your settings look good, the markers are getting correctly detected, (As shown by the green outline) and the depth image also looks good. You could try to experiement with the light settings a bit (switch the light on/off, or dimm it), and rotate/move the marker around a bit, that sometimes helps. As a last resort, can you maybe upload a video where you go through the whole process of calibration, from Opening the app to trying calibration a few times? |
Hello, I would like to ask how many versions of vs are used for this project? |
How many? I'm just using one version, 2022. |
I am using two kinects with one marker it is not being calibrated and the result is two distinct point clouds. I have tried everything the docs said and can see that it is tracking the marker in the depth window but is showing caliberation=false for both markers.
I have added the marker in the settings. Please help me out here as I don't really understand the concept of marker even when i have read all the explanations you have given in other issues.
Also please tell me if i want to use two markers then how to adjust the translation and rotation i mean you said that point cloud is made when markers are set correctly, i want to ask how do we translate the value on the basis of real time measurement or what? Didn't really understand.
Thanks
The text was updated successfully, but these errors were encountered: