MMubarak
- Aug 31, 2023
- Joined Jun 13, 2023
- 0 best answers
I need to project my 3D points (in Spatials) back to 2D using the OAK-pro Wide intrinsic parameters and I used this formular in doing so:
xin_2d = (xin_3d * focallength / z_in3d) + principalaxis (x)
yin_2d = (yin_3d * focallength / z_in_3d) + principal_axis (y),
where principalaxis (x) and principalaxis (y) are the image center along x and y respectively.
However, the 2D points obtained are not the same as the previous 2D points before projecting to 3D (Spatials). I mean I previously have 2D points and I used these 2D points to estimate the depth for each of this point to obtain them in 3D (Spatials). Now, I want to project these 3D points back to 2D to obtain the same previous 2D points. But when I used the projection formular stated above, the 2D results were not the same as the previous. Can anyone help me with this? Is this conversion formular wrong? What am I missing? Or is there an inbuilt function of the camera that can do this for me?
I look forward to your help! Thanks.
Hi jakaskerl , When I ran this, I got the pop up of the cam_test.py and no errors in the terminal as shown in the attached image. But the Color (RGB) part of the camera doesn't work like previous and every other thing works here. When I select only color and connect, nothing happens and no error on the terminal either.
I also run the scripts in this directory 'depthai-python/examples/ColorCamera/', and still the same problems as previous; nothing pops up and no errors in terminals.
Hi, I just got an OAK-D PRO WIDE and succesfully installed the installer on my Windows 11 following this link - https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/#default-run.
But when I launch the executable DepthAI.exe, the 'Color and nnInput' preview doesn't work, while other previews do work. The App console only shows, 'starting demo' as shown in the first attached screenshot here.
Also, whenever I launch the DepthAI executable, I got this warning in the terminal console - 'Insufficient permissions to communicate with X_LINK_BOOTED device having name "2.16", Make sure udev rules are set' (as shown in the second screenshot). I searched for solution to this error and learnt that udev rules are applicable to linux.
I need helps in fixing these 2 errors, most especially the first case of 'color and nnInput' previews not working. Thanks in advance!!!