RealSense 435i Python create 2D video
Hello!
I create program for face recognition, if i right understand, now people dont create 3D datasets, and i must use 2D, but i have question, how i can used my 3D camera for create 2D frame from 3D frame? I wanna understand what object i see 3D or 2D and for that i want convert my 3D frame on 2D with Python
Yes, i can used RGB camera in realsense, but from thit frame i dont understand what i see, real face or fake.
Maybe library pyrealsense2 have some function to convert dept frame in 2D.
Thank for answer, MartyG =)
-
Hi Leonidsmirnovv Just like 2D pixels can be "deprojected" to 3D with RS2_DEPROJECT_PIXEL_TO_POINT you can also "project" 3D points to 2D pixels with RS2_PROJECT_POINT_TO_PIXEL
There are not many examples of this process for Python. My research did find a link to a pyrealsense2 script featuring the function that, appropriately, involves use of the face detection library dlib
Please sign in to leave a comment.
Comments
1 comment