I could see something like this being very useful for preventing deaths due to contaminated party drugs. If it works.
NIR spectroscopy, which is what this product uses, isn't very sensitive and wouldn't be a good choice to look for trace contaminants even on quality instrumentation.
So, I'm wrong to casually dismiss opacity of the target. That stems from a bias due to a background in instrumentation (meaning, I start my thinking there). I think I'm still right though to think that instrumentation is a bigger problem than sample prep for this device, which I didn't do a good job in stating earlier.