Fogerizer Fog Detection API can detect if fog exists in a photograph. This API gives a probability score on whether fog is in the photo based on AI. It could be useful for transportation, driving, weather and other applications.
From the provider:
"Fog Detection API - Fogerizer (also known as Fog Recognition API or Fog Storm Detector API) is a cross browsers REST API which get a JSON input with a still photo (NOT a radar photo) (as base64 encoded string), containing Fog and returns a JSON string which contains predictions of the input photo regarding the probability of Fog. The recognized Fog have confidence score, timestamp, tagId, tagName. Of course, there are some limitations in order to get a higher accuracy. We recommend properly exposed, unobstructed JPEG photos at 1920x1080 (full HD resolution) where the Fog is clear and focused. If the Fog details are too small or blured, the accuracy is lower and the AI algorithm may not classify in a proper way. We do not store pictures. Also, the quality and the angles of the camera are very important and it contribute to a higher reading accuracy. It should has varifocal lenses, high shutter speed, good infrared lighting beam, full HD resolution.
Allthough this Automatic Fog Detection API (currently we do not offer a Fog Detection sdk) is intended for software development and therefore developers, we have also here an Fog Detection online application that may be used to check the input and output JSONs of the API. The necessary steps are written below, basically for this real time Fog Detection API you send an authorized POST request in JSON format to the API endpoint and you get as JSON response the output as described below through parameters and examples.
This Fog Detection API is useful for a large number of domains like apps for: automotive, travel, transportation, weather nowcast etc. You own the commercial copyright of the resulted JSON with no additional fee meaning you may use it in your own apps for sale."