3 ms·
I made a pinhole camera that plots 3D geometries in matplotlib/geopandas[1]. It's still WIP (need to do some minimal ray-casting to deal with depth ambiguity),
by saeranv 6y ago
I made a pinhole camera that plots 3D geometries in matplotlib/geopandas[1].
It's still WIP (need to do some minimal ray-casting to deal with depth ambiguity), but the overall goal is to develop a set of minimal camera perspective matrices that can be easily be extended for other uses (i.e I want to use my cameras to calculate geometric view factors as a way of clustering geometric features for statistical learning). Another application I've tested is to use camera and location parameters from the Google Street View camera to project OSM footprint geometries onto street view images.
[1] https://github.com/saeranv/pincam https://github.com/saeranv/pincam