Camera Motion Detection

Joined
Jun 28, 2012
Messages
11
Reaction score
0
Points
1
Hello,

I made an application in which my macbook camera device capture image at some time difference. its working fine . but i want if i'm not on my desk then it stops capturing photos and when i come back to work it should start capturing.
thanks
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
You will need to change the application to wake up at some interval, use the camera and determine if you are present using face detection or something and if not, to not bothering saving any images until the next time. Repeat this each time and you'll have what you need..
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,762
Reaction score
2,100
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
I don't believe the FaceTIme API is public..
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
Are you using AV Foundation for the capture. Look to see if subjectAreaChangeMonitoringEnabled is available on the Mac. Also look at CIDetector and CIFaceFeature, and Core Image's CIFaceDetector which is featured in WWDC2012 session 520 starting at about 19:20.
 
OP
A
Joined
Jun 28, 2012
Messages
11
Reaction score
0
Points
1
Thanks xstep,
Its done already.. its all become possible with CIDetector ...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top