The aim is to convert images into doodles using the google quickdraw dataset. This is different from your usual conversion that uses images processing algorithms like K Means Clustering. Firstly, the original image is taken and object detection performed. The yolo model in OpenCV is used to perform the following. Each object i.e. cars, humans are extracted with their positions and colors. The objects in question are extracted from the google quickdraw dataset in the form of doodles. These doodles are placed respectively to form the new image.
Algorithms- Object Detection, grouping
What things you need to install the software and how to install them.
os
numpy
cv2
gizeh
struct
six
pathlib
argparse
time
Download a python interpeter preferable a version beyond 3.0. Install the prerequisute libraries given above. Run cartoonify.py file to convert input images to doodles. The paths are according to the repositories setting.
$cartoonify.py
(Unfinished Output - Working on color and position accuracy)
- python - The software used