Sony Camera Remote API beta SDK: how to deactivate auto focus on QX10? - camera

Since Sony XQ10's auto-focus can't be deactivated via its app-menu, is there a way to do so using the SDK?
Corresponding reference Sony Camera Remote API doesn't contain any "setFocusMode" or similar. Helper Library on GitHub has it...but for which cameras? Any experiences?
Cheers,
Lara

This is not currently supported in the Camera Remote API SDK. There is an update planned for spring which will include additional features but not sure about auto-focus control:
https://developer.sony.com/2014/02/24/new-cameras-now-support-camera-remote-api-beta-new-api-features-coming-this-spring-to-selected-cameras/
Keep checking https://developer.sony.com/ for updates on the API!

Just checked Camera Remote API Reference Febr 2017 (Beta) for a possibility to set or get the focus position through the api. Seems it's still not supported.

Related

Android - Things Raspberry Pi - Google Mobile Vision Support

I'm trying to run an android app on Android Things OS.
The app uses facial detection as a first step filter for reaching facial recognition.
The recognition process is made by a third party (remote) API, so there is nothing to worry about it, but the detection is being carried out by the Google Mobile Vision API for Android. The problem I'm facing is that the app crashes every time a camera preview is about to start.
The code of the app is derived from this example: https://github.com/googlesamples/android-vision (Face tracking). So if this code runs, my app runs.
I also know that there is a known issue with the raspberry pi and the camera trying to create more than one output surface.
My questions are:
(1) Is there a way to successfully run the code in the example https://github.com/googlesamples/android-vision (Face tracking)?
(2) When is going to resolved that known issue?
Thanks in advance.
Attentive,
Gersain Castañeda.
The latest version of Android Things(DP6) which is with API 27, supports the new camera API Camera2 as its explained here.
Camera2 API supports more than one output surface and its runnable on Android Things.
For getting more inspirations of how doing this check this tutorial(how to use camera2) and this very useful sample(how to use Google Vision).

Sony Camera API change exposure parameters?

Looking at the supported API's for various camera both within the PDF docs and the supported cameras page (https://developer.sony.com/develop/cameras/), it looks like the A7R supports changing f stop, shutter speed, ISO, etc. However, within the iOS sample app none of those commands are provided by the camera as being available via the getAvailableApiList command. "Forcing" a setIsoSpeedRate command to the camera didn't work either and I get an error code 403: Forbidden.
So is this supported? Am I missing something? Does the camera need to be configured in a particular way? Of note, I am running firmware 1.10 on the A7R, which I believe is the latest.
Please install the latest version (ver.3.10) of “Smart Remote Control” application of PlayMemories Camera App and try it again.

Get Window handle in Windows store app

I am working on a app which needs to have a custom camera capture dialog to enable zoom, flash etc. which default CameraCaptureUI does not have. My app will be deployed on tablets and I have a .NET SDK (provided by tablet vendor) which I can use to enable zoom, flash and every other thing. The SDK is not compatible with windows store app and it uses Win32 api but I can still use some of it functions.
So this SDK have a preview method which requires window handle (InPtr) to start a preview. The problem is I cant find window handle for a store app window or rather I don't know how to find it. If i can find it somehow I am sure I will be able to implement other features easily enough.
Can someone show me how to find window handle in Windows store app?
Thanks a lot for any pointers!
According to this post: http://tinyurl.com/pf5kpyv you can find the window handle of a store app using the Win32 API. But if your target is WinRT, you won't have the Win32 API available (probably you already know this). If your target is full Windows 8.1, it might be easier to just write it as a non-store app. Of course, if your client requires it to be "modern" than you're stuck :)

getSupportedFlashMode returning 403 error

This is a question for Sony support, or anyone else who might know.
I'm developing an Android app using the Sony Remote Camera API. The camera is the Sony RX-10, which isn't on the official list of supported devices but does work with basic functionality (zoom, take photo) and does return a list of supported API calls. Among the supported API calls are flash mode calls like setFlashMode and getSupportedFlashMode, but when I try calling them they return 403 errors, "Forbidden". (When I make calls that aren't in the "getAvailableAPIList" list I get error 12, "No Such Method".) Why are the flash calls returning 403?
Thanks
It is known issue that getAvailableApiList gives protected APIs also. You are able to use only the APIs which are public on supported cameras.
We worked extensively on the RX10 for a photobooth app that we created, and the issue is that the RX10 only works in AUTO mode via the SDK. AUTO mode doesn't support any flash settings other than auto, so it ignores the get/setFlashMode commands.
Ultimately we switched to the A6000 which does support other exposure modes that allow the get/setFlashMode commands to work correctly.

How to upload a photo image using Sencha Touch without phonegap

Is it possible to upload an image created by the phone using Sencha Touch but without any dependency on PhoneGap? Basically my app will be accessible via the web, and not installed natively on the device. I want to be able to select an image from the phone storage and then be able to upload it to the service. I effectively want the same functionality as you would get with the file upload control on a normal desktop browser.
Is this possible, and if so how?
There is a current solution in its infancy, but it works. I tested it on my Nexus 7 using Chrome. Here is the list of compatibility:
Android (4.0 up) browser support as regular
Google Chrome for desktop and mobile
iOS Safari browser support from version 6.0 (not tested on mobile)
https://github.com/kostysh/File-uploading-component-for-Sencha-Touch
Desktop webbrowser and mobile browser are different in lot many cases. To access file upload option you need to access the OS API which is not possible using javascript only. Phonegap provides us option to connect js with device API. If you can find a way to do this, without using Phonegap, then may be you can fix, or else its not possible.