In this section, we will build an image details list in an Excel file called ImageDetails.xlsx in the Output folder. This file will be used to store the names (along with the file paths) of the images that will be submitted to the SafeSearch API for moderation. Once we get the results for the image back from the API, we will add them to the sheet. Let's start by reading the files in the Input folder.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine