Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7566

Re: how turn off camera after using CurrentImage?

From Szabolcs <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: how turn off camera after using CurrentImage?
Date 2012-01-04 10:07 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <je18dt$3do$1@smc.vnet.net> (permalink)
References <jdul5s$jnf$1@smc.vnet.net>

Show all headers | View raw


On Tuesday, 3 January 2012 11:27:08 UTC+1, Murray Eisenberg  wrote:
> On an iMac under OS X 10.6.8 (Snow Leopard), in Mathematica 8.0.4, I
> evaluated CurrentImage[]. That automatically turned on the built-in
> "FaceTime HD" camera.
>
> Is there some programmatic way from within Mathematica to turn the
> camera off?
>
> And if not -- OT: is there some simple way to do this in OS X? (Other
> than open and then quit the FaceTime app.)
>

Try ImageCapture[].  It has a control panel with an off button.

I think CurrentImage[] keeps the camera on because the camera needs time to adjust after it has been turned on.  The very first image captured is sometimes very dark or black, but in a couple of seconds anfter that I'm getting good images.  Also, initialization takes time, so if you capture in a loop, all the turning off/on would be too slow.

I'm also wondering through if there are CameraOn[] and CameraOff[] functions.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

how turn off camera after using CurrentImage? Murray Eisenberg <murray@math.umass.edu> - 2012-01-03 10:27 +0000
  Re: how turn off camera after using CurrentImage? Murray Eisenberg <murray@math.umass.edu> - 2012-01-04 10:01 +0000
  Re: how turn off camera after using CurrentImage? Szabolcs <szhorvat@gmail.com> - 2012-01-04 10:07 +0000
  Re: how turn off camera after using CurrentImage? Szabolcs <szhorvat@gmail.com> - 2012-01-04 10:07 +0000

csiph-web