<gh_stars>1-10
from modules.jevois_module import JevoisModule


class QRCodeModule(JevoisModule):

    def __init__(self, name):
        super(QRCodeModule, self).__init__(
            name=name,
            fps=30,
            res_x=None,
            res_y=None,
            video_format=None,
            should_start_guvcview=False)

    def get_serial_params(self):
        return ['streamoff',
                'setpar serlog USB',
                'setmapping2 YUYV 320 240 30 Jevois DemoQRcode',
                'setpar serstyle Detail',
                'setpar serout USB',
                'streamon']

from modules.jevois_module import JevoisModule


class QRCodeModule(JevoisModule):

    def __init__(self, name):
        super(QRCodeModule, self).__init__(
            name=name,
            fps=30,
            res_x=None,
            res_y=None,
            video_format=None,
            should_start_guvcview=False)

    def get_serial_params(self):
        return ['streamoff',
                'setpar serlog USB',
                'setmapping2 YUYV 320 240 30 Jevois DemoQRcode',
                'setpar serstyle Detail',
                'setpar serout USB',
                'streamon']