Corrected syntax error and squashed all commits
Merge branch 'patch-2' of https://github.com/yashdv/opencv into patch-2