Vision Sensor "no matching function for call to "takeSnapshot" "

you can not pass a string to takeSnapshot.
it accepts either a signature id (ie. a number) or a signature reference or a color code reference.
see the API here.
https://api.vexcode.cloud/v5/html/classvex_1_1vision.html

some example code in this topic.