I think there are some to detect an specific product, but a not a general purpose detector. The relation between the chemical compound and the layman name of the origin is probably as difficult as detecting a cat in a image.
Current state of the art: https://en.wikipedia.org/wiki/Electronic_nose