adding tesseract OCR for floorplan detection
This commit is contained in:
parent
508aa02812
commit
d108bf11ee
8 changed files with 153 additions and 29 deletions
|
|
@ -4,4 +4,6 @@ from tqdm import tqdm
|
|||
listings = Listing.get_all_listings()
|
||||
|
||||
for listing in tqdm(listings):
|
||||
tqdm.write(listing.calculate_sqm())
|
||||
tqdm.write(str(listing.identifier))
|
||||
# listing.calculate_sqm_model() # using google/deplot model. Too slow, rather use tesseract
|
||||
listing.calculate_sqm_ocr()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue