Real crawling scripts and floorplan detection
1. get all listings 2. get all detail jsons 3. get all images 4. get all floorplans 5. detecting floorplans Also updating dependencies for huggingface etc.
This commit is contained in:
parent
46bb641026
commit
508aa02812
12 changed files with 1531 additions and 170 deletions
7
crawler/4_detect_floorplan.py
Normal file
7
crawler/4_detect_floorplan.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from data_access import Listing
|
||||
from tqdm import tqdm
|
||||
|
||||
listings = Listing.get_all_listings()
|
||||
|
||||
for listing in tqdm(listings):
|
||||
tqdm.write(listing.calculate_sqm())
|
||||
Loading…
Add table
Add a link
Reference in a new issue