Posts: 20
Threads: 9
Joined: Aug 2022
I have a Windows 11 PC and I cannot get MS to recognize the camera for facial gestures.
I have turned on MobileSheets permission in the camera privacy settings.
Also, MS recognizes and uses the camera for importing a photo of a work.
Mark
Posts: 14,343
Threads: 302
Joined: Apr 2012
The facial gesture feature requires a front-facing camera. A rear facing camera will not work, as it wouldn't be able to point at your face. So what type of camera are you using?
Mike
Posts: 20
Threads: 9
Joined: Aug 2022
(01-17-2025, 05:19 PM)Zubersoft Wrote: The facial gesture feature requires a front-facing camera. A rear facing camera will not work, as it wouldn't be able to point at your face. So what type of camera are you using?
Mike
It's a USB camera attached to a tower PC and is facing me. I read in the forums that the FastSpring version of the Windows app might work with the camera, so I installed it. The FastSpring version worked until I imported the backup from the Windows store version and then it could not find the camera for facial gestures, but still uses the camera for photographing sheet music.
Mark
Posts: 14,343
Threads: 302
Joined: Apr 2012
Go to Settings->Face Gesture Settings->Configure Gesture Actions, then change the Preferred camera dropdown to select the USB camera. I would like to know if this works for you. MobileSheets uses slightly different frameworks for capturing images with the camera vs capture video for the face gestures. Without going into too much technical detail, I'm requesting all available devices with MediaFrameSourceGroup.FindAllAsync (
https://learn.microsoft.com/en-us/uwp/ap...inrt-26100) and then iterating over all devices and using any whose SourceInfos has a MediaStreamType that matches VideoPreview or VideoRecord and can capture color frames. So if the camera is designed by the OS as being able to capture color video, then it should work for the face gesture feature. If it is reported as only being able to capture images by the OS, then it would not work for the face gestures.
Mike
Posts: 20
Threads: 9
Joined: Aug 2022
The drop down list is empty.
Mark
Posts: 14,343
Threads: 302
Joined: Apr 2012
01-18-2025, 06:31 AM
(This post was last modified: 01-18-2025, 06:31 AM by Zubersoft.)
That means the USB camera is not considered a valid device for capturing video. That's just based on what Microsoft's framework is reporting. I don't really know what can be done about that. If you want to test a build of the FastSpring version that will allow matching on devices that also report themselves as devices for capturing images, we can see if that will work, but there could be errors when I go to start receiving video frames from the camera if it does not actually support video.
Mike
Posts: 20
Threads: 9
Joined: Aug 2022
(01-18-2025, 06:22 AM)Zubersoft Wrote: Go to Settings->Face Gesture Settings->Configure Gesture Actions, then change the Preferred camera dropdown to select the USB camera. I would like to know if this works for you. MobileSheets uses slightly different frameworks for capturing images with the camera vs capture video for the face gestures. Without going into too much technical detail, I'm requesting all available devices with MediaFrameSourceGroup.FindAllAsync (https://learn.microsoft.com/en-us/uwp/ap...inrt-26100) and then iterating over all devices and using any whose SourceInfos has a MediaStreamType that matches VideoPreview or VideoRecord and can capture color frames. So if the camera is designed by the OS as being able to capture color video, then it should work for the face gesture feature. If it is reported as only being able to capture images by the OS, then it would not work for the face gestures.
Mike
(01-18-2025, 06:31 AM)Zubersoft Wrote: That means the USB camera is not considered a valid device for capturing video. That's just based on what Microsoft's framework is reporting. I don't really know what can be done about that. If you want to test a build of the FastSpring version that will allow matching on devices that also report themselves as devices for capturing images, we can see if that will work, but there could be errors when I go to start receiving video frames from the camera if it does not actually support video.
Mike
I tried the FastSpring version and it worked until I restored a backup from the Microsoft store version.
Mark
Posts: 14,343
Threads: 302
Joined: Apr 2012
You can try going to Settings->Other Settings->Reset Settings to Default then to clear out any of the settings and see if that resolves the issue.
Mike
Posts: 20
Threads: 9
Joined: Aug 2022
(01-18-2025, 08:17 AM)Zubersoft Wrote: You can try going to Settings->Other Settings->Reset Settings to Default then to clear out any of the settings and see if that resolves the issue.
This worked and the camera is selected and does recognize facial gestures. Thank you.
However, I have lost all of my settings. I guess, this gives me the opportunity to review all my other settings as I reconstruct them.
Mark
Posts: 14,343
Threads: 302
Joined: Apr 2012
You can optionally restore the backup, then just delete the settings file associated with the face gesture feature to see if that fixes the problem (C:\Users\<your username>\AppData\Local\Packages\41730Zubersoft.MobileSheets_ys1c8ct2g6ypr\LocalState\face_gesture.xml). Or you can rebuild all the settings if that isn't a big deal for you.
Mike