Fix build due to opencv API change
Fix cameras dropping frames