Ask Your Question
0

can i replace an object in an image with another object?

asked 2018-02-13 02:43:26 -0600

AhmedSh3ban gravatar image

Hello. can i replace an object in an image with another object. also before replacing the object i want to adjust both sizes to be the same? if its possible then which algorithm is used for that? Thanks in advance

edit retag flag offensive close merge delete

Comments

some images are welcome to understand your problem

LBerger gravatar imageLBerger ( 2018-02-13 04:59:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-02-14 04:50:40 -0600

Yes it is

  • You will first need an algorithm to detect your object. Without images or information on your end, this can be tons of different solutions, so give us something here.
  • Then you need to extract the bounding box and perform some kind of object segmentation. CNN's seem to be doing quite well there.
  • Then you need to adapt your template (new object) to the size of your bounding box
  • Perform image merging with opacity to paste the new object into the image

Good luck!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-13 02:43:26 -0600

Seen: 666 times

Last updated: Feb 14 '18