Skip to content

Folium GeoJson Custom Color Map

I have a multipart shapefile I am attempting to display on a map using Folium. Code is as follows: The gdf currently looks like this I am attempting to map the color to corresponding “RANK” value: However, my fillcolor is not correctly adjusting and is just remaining one color: How do I correctly …

Smoothing Categorical Output

I have a list of outputs obtained from a cow behavior detection model. Even in a video when a cow is laying, often time it identifies as standing and vice versa. In each video frame, a classification result is given by the model and we are appending it into a list. Let’s assume after 20 frames, we have …