Added webcam support for text detection and updated getopt