import cv2
from nti.vision.blocks_detector import get_blocks_list
from tests.run_with_test import run_with_test_images


@run_with_test_images
def test(img):
    from pprint import pprint
    pprint(get_blocks_list(img, debug=True))
    print('-------------------')
    cv2.imshow('Original', img)


if __name__ == '__main__':
    test()

5057e81c7ee38a032e3eab9dcf5542f2b50fc172
<mask token>

<mask token>


@run_with_test_images
def test(img):
    from pprint import pprint
    pprint(get_blocks_list(img, debug=True))
    print('-------------------')
    cv2.imshow('Original', img)


<mask token>

<mask token>


@run_with_test_images
def test(img):
    from pprint import pprint
    pprint(get_blocks_list(img, debug=True))
    print('-------------------')
    cv2.imshow('Original', img)


if __name__ == '__main__':
    test()

import cv2
from nti.vision.blocks_detector import get_blocks_list
from tests.run_with_test import run_with_test_images


@run_with_test_images
def test(img):
    from pprint import pprint
    pprint(get_blocks_list(img, debug=True))
    print('-------------------')
    cv2.imshow('Original', img)


if __name__ == '__main__':
    test()
