Active Topics

 



Notices


Reply
Thread Tools
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#1
This looks nice but mind the warning

Disclaimer
Careful while tinkering with your N900, you may "brick" it (if you don't know what I mean, close this page). And I wouldn't be responsible if this would occur, or if anything would turn into something bad. You've been warned.

http://sirloon.net/loonaweb/sirblog/...ros-and-opencv
 

The Following User Says Thank You to AgogData For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#2
I tried downloading it but never successfully installed it... I got lost on a specific step on that a long time ago and I don't see any posts here about ROS suppor so decided to abandon it.
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
AgogData's Avatar
Posts: 870 | Thanked: 133 times | Joined on Aug 2010
#3
i searched the whole community and for youtube video with no results, maybe its trolling
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
install gst-opencv
download a profile file, for example
from http://code.google.com/p/jviolajones...ce_default.xml
execute gst-launch with the facedetect module:
gst-launch-0.10 v4l2camsrc device=/dev/video1 ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2.0 ! gamma gamma=1.5 ! ffmpegcolorspace ! facedetect profile="/home/user/haarcascade_frontalface_default.xml" ! ffmpegcolorspace ! ximagesink

Last edited by nicolai; 2010-12-26 at 21:56.
 

The Following 2 Users Say Thank You to nicolai For This Useful Post:
Posts: 117 | Thanked: 47 times | Joined on Apr 2010 @ UK
#5
heres some face tracking videos i found
using N900 http://www.youtube.com/watch?v=5TDO9...layer_embedded
using opencv http://www.youtube.com/watch?v=MD7NNCZRVds
it would be great to see this sort of feature used on N900 in some way
 

The Following User Says Thank You to hycraig For This Useful Post:
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#6
Originally Posted by nicolai View Post
install gst-opencv
download a profile file, for example
from http://code.google.com/p/jviolajones...ce_default.xml
execute gst-launch with the facedetect module:
gst-launch-0.10 v4l2camsrc device=/dev/video1 ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2.0 ! gamma gamma=1.5 ! ffmpegcolorspace ! facedetect profile="/home/user/haarcascade_frontalface_default.xml" ! ffmpegcolorspace ! ximagesink
i did. but all i get is black screen with grey rectangle in the middle.
The program itself prints

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipelineipeline0/GstXImageSink:ximagesink0: Output window was closed
Additional debug info:
ximagesink.c(1112): gst_ximagesink_handle_xevents (): /GstPipelineipeline0/GstXImageSink:ximagesink0
Execution ended after 21885589603 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Also the led in the front turns red. Can u help please!
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#7
The front camera is pretty bad, be sure
there is enough light.
Or you use the backcamera by
changing the line
"device=/dev/video1"
to
"device=/dev/video0"

nicolai
 

The Following 2 Users Say Thank You to nicolai For This Useful Post:
Posts: 265 | Thanked: 96 times | Joined on Aug 2010 @ Sydney, Australia
#8
theres also this REALLY COOL thingo using facetracking

http://www.youtube.com/watch?v=yWPNN...layer_embedded

not sure if it uses ros or opencv or anything though. :P
 

The Following User Says Thank You to flipalong For This Useful Post:
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#9
i will try tomorrow. but it is a rectangle totally grey. anything else i need to know?
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#10
I hoped that I don't have to do this, but here is a screenshot:-)
Attached Images
 
 

The Following 2 Users Say Thank You to nicolai For This Useful Post:
Reply

Tags
help i'm stuck, help wanted

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:49.