Languages

Menu
Sites
Language
Drawing on an running camera preview?

Hello,

is it possible to have a camera preview running in an overlaypanel and in the same time drawing stuff on the overlaypanel so it is display with the camera preview?

I've tried this tutorial: https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Ftutorials%2Fmedia_tutorial%2Fdrawing_on_a_camera_preview.htm

But all the stuff i draw with the pCanvas object is displayed UNDER the camera preview and hence is invisible.

Is there a working example for drawing on a running camera preview anywhere, or has someone here successfully managed to do that?

 

Patrick

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
wil smith
Have a look into SDK sample FaceTracker, It draws rectangle around the face.
Patrick Mortara
Thanks, i found that sample yesterday and it already solved my Problem. The trick is to lay a normal panel above the camera-overlayregion and use the panels canvas object to draw stuff.