Page 1 of 1

SOLVED: Virtual Camera hidden controls?

Posted: Thu Feb 09, 2017 10:15 pm
by simon.schvartzman
Hi, I was having a hard time to take good pictures using Virtual Camera and I guess I've discovered some undocumented stuff:

1- my pictures were coming dark and after inserting a "Wait" command they improved a lot

Code: Select all

  cameraControlDo "myFirstCamera", "takePicture"
   wait for 1 seconds
2- my pictures were coming out of focus, so I tried

Code: Select all

cameraControlSet "myFirstCamera", "autofocus",true
and it seems to be working, at least the IDE doesn't throw any error.

Is it possible or am I hallucinating?

Any other hidden controls?
IMG_0428.jpg
Virtual Camera: Wait + Autofocus
IMG_0425.jpg
Real Camera: iPhone Camera
IMG_0424.JPG
Virtual Camera: no Wait & no Autofocus

Re: SOLVED: Virtual Camera hidden controls?

Posted: Fri Feb 10, 2017 7:03 pm
by simon.schvartzman
Thanks to Panus from LC Support mystery was solved / fixed. In his own words
1. You create a camera control and take a picture instantly, without allowing the preview to appear
2. This results in very little light (from the objects you are targeting) coming through the camera (the camera’s sensor is photosensitive, see http://www.whatdigitalcamera.com/techno ... work-60565)
3. So the pic is dark.

So, by adding a "wait" command, you allow the necessary light to be collected in the photosites, so the resulting picture looks not dark anymore.

I guess something similar happens when you do:

cameraControlSet "myFirstCamera", "autofocus",true

There is no such camera property, so this causes an internal error and a small delay which gives the camera the time needed to collect the necessary light.

Best regards,
Panos
I still think the IDE should give an error about the no supported "autofocus" camera property....