Git Product home page Git Product logo

microsoft-lifecam-focus-fix's Introduction

Microsoft Lifecam Auto Focus Fix

This repository provides a simple method to resolve the notorious continuous auto focussing issue that is present on the Microsoft Lifecam (and related cameras).

The amazing "fix"... simply disable the auto focus feature.

As much as this doesn't sound like a fix (and sounds more like avoiding the problem), it seems to be the best way to get a usable camera that doesn't cause the image to go blurry even 10 or so seconds.

The Microsoft Lifecams are UVC compliant cameras and therefore the dynamic controls can be interfaced via the UVC driver. This can be done with a tool such as uvcdynctrl.

Requirements

  • Debian based distribution (this approach can be adapted to others, but I have not tested it)
  • uvcdynctrl installed - (apt install uvcdynctrl)

Install

  1. Work out the product ID of the camera using lsusb. For example:
    $ lsusb                
    ...
    Bus 003 Device 056: ID 045e:075d Microsoft Corp. LifeCam Cinema
    ...
    The product ID for the above camera is 075d. If you have multiple cameras connected, you may need to disconnect them and run lsusb again to isolate the camera you want to disable auto focus for.
  2. Run the install script, passing the product ID obtained from the previous step. For example:
    # Replace '075d' with the product ID you obtained in step 1
    $ ./install.sh 075d

Install Details

The install script will essentially copy source files in this repo to /opt on your machine and setup a udev rule to disable the auto focus every time the camera is connected. The udev rule is necessary as the camera does not persist the setting of disabling the auto focus control.

Useful Links

microsoft-lifecam-focus-fix's People

Contributors

andrepearce avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.