You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using human with the computer webcam, and some images are not focused on the main subject. Is the camera is in the continuous focus mode by default?
Will adding a focusMode config to the webcam allow users to set it? Then webcam.ts requestedConstraints can set this focus mode value, ie below: const requestedConstraints: MediaStreamConstraints = { audio: false, video: { facingMode: this.config.mode === 'front' ? 'user' : 'environment', // Attempt to enable continuous autofocus if supported focusMode: 'continuous', // This line is added to request continuous autofocus, or it can be an input setting param resizeMode: this.config.crop ? 'crop-and-scale' : 'none', }, };
Any suggestions?
The text was updated successfully, but these errors were encountered:
Issue Description
I'm using human with the computer webcam, and some images are not focused on the main subject. Is the camera is in the continuous focus mode by default?
Will adding a focusMode config to the webcam allow users to set it? Then webcam.ts requestedConstraints can set this focus mode value, ie below:
const requestedConstraints: MediaStreamConstraints = { audio: false, video: { facingMode: this.config.mode === 'front' ? 'user' : 'environment', // Attempt to enable continuous autofocus if supported focusMode: 'continuous', // This line is added to request continuous autofocus, or it can be an input setting param resizeMode: this.config.crop ? 'crop-and-scale' : 'none', }, };
Any suggestions?
The text was updated successfully, but these errors were encountered: