Hololens2 iris recognition - hololens

I'm looking for the iris recognition solution and hitting this topic by chance. May I know what Windows APIs we can use for the HL2 iris recognition and where I can find them? I've looked into the HL2 documentation but unluckily no relevant stuff found.
Thanks so much in advance.
https://learn.microsoft.com/en-us/windows/uwp/security/microsoft-passport

The HoloLens app are UWP app, the iris recognition as biometrics, it belongs to authentication and user identity area. You can perform a verification with iris biometrics as in any UWP apps.
First, you need to use UserConsentVerifier.CheckAvailabilityAsync method to check whether a verifier device is available. Once the biometric device is available, call UserConsentVerifier.RequestVerificationAsync() method to performs a verification using the biometric device.
Besides, the UserConsentVerifier sample show how to use the UserConsentVerifier class to check whether a verifier device is available and performs the verification, it’s worth reading for you.

Related

Custom Messages in Bluetooth Mesh

I am using Bluetooth Mesh technology for a project. The Bluetooth mesh works on flooding, and the message types are defined in the profile. However, I could not find whether I can include a custom payload in the messages to be delivered across the network. Is it possible to do this in Bluetooth Mesh? If yes, please suggest any resources that explain the functionality.
First of all you should visit the Bluetooth SIG. They own and publish all Bluetooth standards. They also maintain a comprehensive list of all specifications including those dealing with 'mesh':
https://www.bluetooth.com/specifications/specs/
And Nordic also provides extensive documentation with examples for its nRF5 SDK for Mesh:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_mesh_latest.html
Bluetooth Mesh is based on Model interaction. If your application does not fit into available (defined by SIG) models, you can create your own (Vendor) models. In that case you can define opcodes (which should not interfere with opcodes of other messages) and customize transferred data.
More information on how to create you own model, in case you are using Nordic SDKs you can find here: for nRF Connect SDK or for nRF Mesh SDK.

Need tutorials on developing the chromecast built-in device

I'm looking for tutorials or developers guideline docs to develop the chromecast built-in devices. Actually, I want to know software structure and how to get required libraries or sample codes on chromecast built-in in a linux device with screen.
I've already looked at the google cast SDK documentation from https://developers.google.com/cast/. However, it contains content about application and streaming services. I have not found what I want yet.
for example,
required DRM (widevine or playready)
media pipeline integration
device discovery (DIAL???)
application lifecycle management (if needed)
I expect how I can get documentation and resources on what I need to understand for "google cast built-in device" development. Thank you.

Is there any API avialable in j2me through which we can access the sensor "accelerometer"?

I want to make a game based on the sensor accelerator. Is there any API available in j2me through which we can access the accelerator sensor. or is there any other idea regarding the same ?
Yes, there's such API - called JSR-256. Try to Google and you'll find appropriate resources.

J2ME SIM card change detection

I wanted to create J2ME application, in which the application should work only with the SIM card that was used during installation. On SIM card (GSM) change the application should now work.
For achieving this, i thought of taking an signature of the simcard and save it in a persistent storage. On every start of the application the signature can be verified. Any idea of how to implement this.
Thanks in advance
The 'SATSA' (Security and Trust Services API aka JSR177) could be used from your J2ME application to communicate with the SIM. You could send '3GPP TS 11.11' commands to obtain the IMSI (select file DG_GSM, select file EF_IMSI, read binary).
Drawbacks are: (1) You're talking to the SIM on a relatively low level of abstraction (the ISO7816-4 layer); (2) Not all handsets support JSR177 at the moment.
I believe this is not possible. If it was possible with a specific phone it would not be possible in a generic way.
For ATT in US, for J2ME apps, the handset embeds "CarrierDeviceId" in the Jad file. This is unique per SIM card. So, if something similar is available to you, just read this Jad parameter the first time the app starts, save it to RMS or send it to server. Now each time the app starts, you can verify this number matches, and thus verify the SIM card is same.
You can also try obtaining the phone number that is tied to the SIM card and thus verify the old SIM is being used.

Voice recognition in J2ME

I'm developing a mobile application using j2me. There I need to have a speech recognition function, so that application should be able to process and act upon the commands given by the user. What I wanted to know is
Is this technically possible (I'm a novice to j2me programming)?
If it is possible, where can I find a j2me library for speech recognition?
Thanks in advance,
Nuwan
This is technically possible, but in
reality most devices that run J2ME
aren't powerful enough to do it in pure Java code. You need to look for devices which support JSR 113 - JavaTM Speech API 2.0.
Look at JSR 113 - JavaTM Speech API 2.0.
There is a Java Speech API Implementation (JSR-113), which supposed to do speech recognition:
But, unfortunately, I don't know if any device support it :)
If you want to implement speech recognition yourself, there are many limitations in j2me such as slow performance, and impossibility to access audio data while recording.
An in-between way may be to do very simple ASR in the client (e.g. yes,no,digits etc) and for anything beyond you can send it to the server. The limits on what the client can do can change in the future in you upgrade your phone.

Resources