img_detect_divs = img.copy() divs_of_page = image_process.find_main_divs(img_detect_divs) cv2.imshow('Divs of page', divs_of_page[0]['IMAGE']) div_data = divs_of_page[0]['DIV_DATA'] print("|-------------------------------------------------------|") img_detect_para = img.copy() paras_of_page = image_process.find_paras(img_detect_para) cv2.imshow('Paras of page', paras_of_page[0]['IMAGE']) para_data = paras_of_page[0]['PARA_DATA'] print("|-------------------------------------------------------|") img_detect_images = img.copy() image_of_page = image_process.find_images(img_detect_images) cv2.imshow('Images of page', image_of_page[0]['IMAGE']) image_data = image_of_page[0]['IMAGE_DATA'] print("|-------------------------------------------------------|") img_detect_lists = img.copy() list_of_page = image_process.find_lists(img_detect_lists) cv2.imshow('Lists of page', list_of_page[0]['IMAGE']) list_data = list_of_page[0]['LIST_DATA'] print("|-------------------------------------------------------|") collected_div_data = [{ "DIVS": div_data, }] collected_item_data = [{ "PARAS": para_data,