9 lines
293 B
Python
9 lines
293 B
Python
from data_access import Listing
|
|
from tqdm import tqdm
|
|
|
|
listings = Listing.get_all_listings()
|
|
|
|
for listing in tqdm(listings):
|
|
tqdm.write(str(listing.identifier))
|
|
# listing.calculate_sqm_model() # using google/deplot model. Too slow, rather use tesseract
|
|
listing.calculate_sqm_ocr()
|