How to train a model for object detection in Golang?

I don't have an answer for you.. but as someone wanting to understand AI more.. can you elaborate a little on what you mean by "I trained a model". How do you train something? Do you use actual loads and loads of dick pics (in this example).. of all colors, sizes, shapes, backgrounds, etc? Assuming so.. do you just store all the data in an ever growing array of images.. and then you somehow scan a new image (on web site) against all these to try to find a match? Or do you do something with pixel by pixel manipulation where you can determine the actual dick in every single pic?

That is the part that blows my mind.. and I had a friend a while back tell me it's actually easy to train models. It doesn't make any sense to me. You're not writing dynamic code that then runs to find dick pics. You're creating some sort of data model that you can then use in some way to compare any picture against it.. and somehow the data in this model is used in a way that can allow you to find and compare actual dicks in pics? Like.. that is mind blowing to me. Same sort of AI that is used to generate fake videos.. like hwo they de-age people and make anyone look young.. that is stuff of magic to me. But I would like to understand how this is possible.. and if it involves advanced math.. I am toast.

/r/golang Thread