Besides editing the picture you take with your phone or your DSLR camera, you can use picture editing software to create images that look unrealistic. Cartooning a photograph is one out of many choices nearly all PC-based picture editors offer. However, you will have to mix several effects to convert your pictures into cartoons in most instances.
https://www.pictureeditor.com/design/picture-editing-tools/turn-pictures-into-cartoons/