2022-02-15から1日間の記事一覧
qiita.com import cv2 import numpy as np from google.colab.patches import cv2_imshow from PIL import Image from staticmap import StaticMap def get_map( url, lat=33.84167, lng=132.76611, width=2000, height=2000, zoom=12, fn="map.png" ): smap…
import cv2 import numpy as np from PIL import Image from staticmap import StaticMap def get_map( url, lat=33.84167, lng=132.76611, width=2000, height=2000, zoom=12, fn="map.png" ): smap = StaticMap(width, height, url_template=url) img = sm…