Could you please list the webcams you have tested this code on. Should it work for all/some webcams? Does your code support Mac, Windows, Linux?