Hello,
looking at the previous posts, the next logical step is to combine Qt, PCL and OpenCV. With the combination of all three (wow, right ) you can do some amazing stuff in the field of computer vision. I just made the last example, where OpenCV Haar classifier is used to detect the person's face rectangular ROI on the RGB image streamed from Kinect. Next, the detected face ROI indices are used to extract only the face region from the 3D Kinect point cloud. This is shown in Figure 1 below.
Figure 1. GUI for 3D face detection/tracking.
In order to include OpenCV dependencies, just modify the CmakeLists.txt to add:
find_package (OpenCV REQUIRED) and
${OpenCV_LIBS} in the TARGET_LINK_LIBRARIES section.
The Cmake is probably going to complain about not finding OpenCV, but just add the OpenCV's "build" folder path to the CMakeCache.txt. Run Cmake (from Qt) again.
The source code in the attachment is provided as is.
Best regards,
K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.