Instrument for automatic observation of metallic inclusions in medicinal preparations