Vectorising an Image Swift

Hey, just wondering if anyone knows how to vectorise an image in Swift. The image would consist of basic vectors like lines and text. I'd preferably like to use ARKit so the user can see the vectors in real-time, then save the new vectorised image. However, if this isn't possible. A photo can be uploaded and converted to a vector too.


Thanks,

Jordan.

Replies

Even if there was a way to pinpoint all occurances of a specific colour (e.g. black) so then I can convert this map into a vector graphic