rempic / Image-Features-Extraction

A Python Package for fast extraction of features from a set of images
50 stars 12 forks source link

Iterating through image folder for Feature Extraction #5

Open tobimichigan opened 2 years ago

tobimichigan commented 2 years ago

I observed that you in your illustration of this repo you perhaps intentionally only made specific examples for just a singular image. Please can you suggest a way of iterating through a folder for feature extraction? I tried the code below but its returning just one output.

`%matplotlib inline import matplotlib.pyplot as plt import os image_folder = "/content/tif"

for images in os.listdir(image_folder): collection_regions = image.regions() areas = collection_regions.prop_values('area') plt.plot(areas) plt.ylabel('region area (px^2)')`