fitting a image in a arbitary shape using opencv-python -


i trying fit image arbitrary shape. creating photo frame.

image placed inside frame

and frame

frame in photo fit

my question how place color image in white space. in such way if location or dimension or shape of white space changes image adjust accordingly ?

thank help.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -