Home
last modified time | relevance | path

Searched refs:SQUARE_CROP_MARGIN (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CameraITS/utils/
Dopencv_processing_utils.py99 SQUARE_CROP_MARGIN = 0 # Set to aid detection of QR codes variable
732 square['left'] = shape['left'] - SQUARE_CROP_MARGIN
733 square['right'] = shape['right'] + SQUARE_CROP_MARGIN
734 square['top'] = shape['top'] - SQUARE_CROP_MARGIN
735 square['bottom'] = shape['bottom'] + SQUARE_CROP_MARGIN
736 square['w'] = shape['width'] + 2*SQUARE_CROP_MARGIN
737 square['h'] = shape['height'] + 2*SQUARE_CROP_MARGIN