Ask Your Question

Face detection with ROS Indigo and laptop webcam

asked 2016-05-22 06:26:30 -0500

baila gravatar image

Hello all, i am very new to ROS. So i was trying some experiment using my laptop integrated camera for face detection. I have tried many links available on internet. But nothing worked. I found people are using external webcam for that. Can i do by using my laptop webcam? Please suggest some instructions. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-22 12:02:21 -0500

wsAndy gravatar image

Hello baila,

First, you could also use your laptop's webcam since the device just used to get the image. There are many useful packages for face detection, such as cob_people_detection

edit flag offensive delete link more


Thanks for your reply. I have already tried cob_people_detection. But while i'm launching openni by roslaunch openni_launch openni.launch, it is starting with No devices connected.... waiting for devices to be connected. Do you know how to solve this?

baila gravatar image baila  ( 2016-05-22 13:42:09 -0500 )edit

Well, it depends Since this package use xtion pro live defaultly. you should link this device if you want to use it directly. But if you don't have xtion pro live, I think you should change some codes in the source and build the whole package again.

wsAndy gravatar image wsAndy  ( 2016-05-22 20:41:19 -0500 )edit

Besides, if you have linked your xtion pro live, maybe you should change the usb interface and have another try.

wsAndy gravatar image wsAndy  ( 2016-05-22 20:41:59 -0500 )edit

It's not easy to use a big package directly : )

wsAndy gravatar image wsAndy  ( 2016-05-22 20:43:26 -0500 )edit

I don't have xtion pro live. I was trying to use my laptop camera. Do i need to change in Openni source code for that? Can you suggest some guideline to do that?

baila gravatar image baila  ( 2016-05-23 00:46:18 -0500 )edit

Well, what you need to do is not change the codes in openni.

wsAndy gravatar image wsAndy  ( 2016-05-23 02:13:54 -0500 )edit

I mean, since cob_people_detection use xtion pro live defaultly, you could change the codes in cob_people_detection.

wsAndy gravatar image wsAndy  ( 2016-05-23 02:14:56 -0500 )edit

Can you provide some documentation of the code base? Or some anchor to start with for cob_people_detection?

baila gravatar image baila  ( 2016-05-23 03:07:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-05-22 06:26:30 -0500

Seen: 214 times

Last updated: May 22 '16