before switching over to opencv camera
changed over to opencv camera