Abstract
This article describes a technique for generating cartoon-like images from digital pictures. The method used today is different from how things were done in the past. This study focuses on the various tactics used during the process that, when used layer by layer, provide a product that is well balanced. We usually research how to combine several functions in a specific way to provide a filtered and composite outcome. Various functions’ mathematical foundations and mechanisms have also been discussed. This article provides examples of a variety of cartooning techniques. Any of the methods given here can be used to turn any type of obtained photograph into a cartoon, including pictures of people, mountains, trees, flora and fauna, etc.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Gatys LA, Ecker AS, Bethge M (2016) A neural algorithm of artistic style
Gatys LA, Ecker AS, Bethge M (2016) Image style transfer using convolutional neural networks
Johnson J, Alahi A, Fei-Fei L (2016) Perceptual losses for real-time style transfer and super-resolution
Li C, Wand M (2016) Precomputed real-time texture synthesis with markovian generative adversarial networks
Ulyanov D, Lebedev V, Vedaldi A, Lempitsky V (2016) Texture networks: feed-forward synthesis of textures and stylized images
Li Y, Wang N, Liu J, Hou X (2017) Demystifying neural style transfer
Dumoulin V, Shlens J, Kudlur M A learned representation for artistic style, 2017 Summary We used computer vision algorithms to turn a typical image into a comic in the preceding demonstration. We’re going to have a lot of fun with computer vision techniques. The cartoonie image function is then called after we check what we pressed on the keyboard. The sketch mode attribute has distinct values in the two calls, resulting in two different outputs (we mentioned what the output will look like earlier in this post)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Ramya, P., Ganesh, P., Mouli, K., Akhil, V.N.S. (2023). Cartoonify an Image with OpenCV Using Python. In: Ogudo, K.A., Saha, S.K., Bhattacharyya, D. (eds) Smart Technologies in Data Science and Communication. Lecture Notes in Networks and Systems, vol 558. Springer, Singapore. https://doi.org/10.1007/978-981-19-6880-8_4
Download citation
DOI: https://doi.org/10.1007/978-981-19-6880-8_4
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-6879-2
Online ISBN: 978-981-19-6880-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)