Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for USB re-insertion/removal of a webcam #1255

Open
emoto-yasushi opened this issue Aug 27, 2024 · 1 comment
Open

Support for USB re-insertion/removal of a webcam #1255

emoto-yasushi opened this issue Aug 27, 2024 · 1 comment
Labels
type:feature New feature or request

Comments

@emoto-yasushi
Copy link

Feature Description

Currently, if tracking is started with the webcam connected and the USB connection of the webcam is removed, tracking will not resume even if the USB is reconnected.

As it stands, everything works fine as long as the camera icon button is pressed and the webcam is reselected. However, it would be great if tracking could automatically resume when the webcam is reconnected.

When the USB is disconnected, an error like "SampleCB() - buffer sizes do not match" appears, as shown in the following image.
For the testing, I am using Unitypackage v0.15.0, Unity 2022.3.6f1, and the sample scene of FaceLandmarkDetection.
error

Current Behaviour/State

No response

Additional Context

No response

@emoto-yasushi emoto-yasushi added the type:feature New feature or request label Aug 27, 2024
@homuler
Copy link
Owner

homuler commented Sep 7, 2024

I agree it would be a useful feature, but since this is just a sample application, I don't believe it's a high priority, and I'm not sure if I'll actually implement it (I prefer to eliminate non-essential code as much as possible).
If there are any specific reasons why it would be problematic not to have it, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants