umm so this scan through your camera picture and save it, the less rad of dot the more time it take to save and try to not move while it scanning This is the first time i write updates so idk :( Updates: Aprils 23, 2022: Added load/save code by @kavinvarunagrawal suggestion and some buttons.
credits to @griffpatch for color detector (his video: https://www.youtube.com/watch?v=aBTh756kCZw)