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

XFaceTracker does not Work with some cameras/OS #216

Open
klues opened this issue Dec 15, 2017 · 5 comments
Open

XFaceTracker does not Work with some cameras/OS #216

klues opened this issue Dec 15, 2017 · 5 comments
Labels
AsTeRICS_v3.0 bug hint Document behaviour, workarounds, hints
Milestone

Comments

@klues
Copy link
Contributor

klues commented Dec 15, 2017

Tested AsTeRICS 3.0 on Windows and the XFaceTrackerMouse does not work in the following setups:

  • Win10/Lenovo T410s/Integrated Camera
  • Win7/PC/external Medion Camera

On my Lenovo T410s the camera now also is not working anymore with VLC, so maybe thats a general/other issue. But on the Win7 computer the Medion camera works with VLC, but not with XFaceTracker. However, the old camera mouse works.

The XFacetrackerMouse works in the following cases I tested:

  • Win10/Lenovo T470/integrated camera
  • XUbuntu 16/Lenovo T410s/integrated camera
  • Raspbian PIXEL/Medion camera
@klues klues added this to the Version 3.0 milestone Dec 15, 2017
@klues
Copy link
Contributor Author

klues commented Dec 15, 2017

attaching logs of the failed cases, interesting lines:

SETUP: Device is setup and ready to capture.

Dez 15, 2017 8:57:05 AM eu.asterics.mw.computervision.SharedFrameGrabber$GrabberThread run
WARNUNG: Could not start frame grabbing with grabber: org.bytedeco.javacv.VideoInputFrameGrabber@64b5a5,
reason: videoInput.getPixels() Error: Could not get pixels.

XCameraMouse-Win10-internalT410sCamera.txt
XCameraMouse-Win7-externMedionWebcam.txt

@deinhofer
Copy link
Contributor

  • On Lenovo devices there is a communications utility where you can enable/disable the camera generally. Try to disable/enable it.
  • Also try what happens if you reboot your computer.
  • Also try another FrameGrabber (OpenCV)
    • Edit model and set the framegrabber property to 'OpenCV'
    • Deploy and start model

@klues
Copy link
Contributor Author

klues commented Dec 15, 2017

Ok, I tried this on Win7 with the Medion camera:

  • change FrameGrabber to "OpenCV"
  • start Model -> did not work
  • stop Model -> start Model -> did work!

so maybe "OpenCV" should be the standard on Windows?

@deinhofer
Copy link
Contributor

no, in almost all cases video input has better camera support at least that we experienced with the old plugin facetrackerLK. But the good thing is that now you have another option to try :-)

@klues
Copy link
Contributor Author

klues commented Dec 15, 2017

ok.
maybe it could be possible to automatically try other FrameGrabber if one does not work? Because it is not very intuitive for the user, if he has to edit to model to get the camera mouse work.
(However it is now easier with F8 ;))

@deinhofer deinhofer added the hint Document behaviour, workarounds, hints label Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AsTeRICS_v3.0 bug hint Document behaviour, workarounds, hints
Projects
None yet
Development

No branches or pull requests

2 participants