This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generates various fractals of geometries using chaos game as | |
* mentioned in https://www.youtube.com/watch?v=kbKtFN71Lfs&t=1s | |
*/ | |
import java.awt.*; | |
import javax.swing.*; | |
import java.util.*; | |
import java.lang.Math; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import regex as re | |
from nltk.corpus import wordnet | |
class SynonymSearch: | |
def __init__(self): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import glob | |
import os | |
import random | |
def create_composite_image(_fg_image , _bg_image): | |
""" | |
Creates composite images from a given set of foreground and background images | |
:param _fg_image: path to foreground images folder | |
:param _bg_image: path to background images folder |