Coder Social home page Coder Social logo

vpanjeta / deep-object-removal Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 25.0 59.31 MB

Using cGANs to remove objects from a photo

License: Apache License 2.0

Python 100.00%
cgans deep-learning deep-neural-networks deep-object-removal gans neural-network object-removal

deep-object-removal's People

Contributors

vpanjeta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

deep-object-removal's Issues

Possible paid collaboration for a project?

Hey there,

I couldn't find an email so I'm writing here.
Would you be interested in a paid collaboration with my company? We are looking to develop an app that removes objects from images (similar to this: https://apps.apple.com/us/app/touchretouch/id373311252) using inpaint technique. We will take care of the entire app development, including the actual component for the masking, etc'. The user will use his fingers to choose the "removed object". But we need help to develop to object inpaint removal algorithm under the hood.  
Is it something you'll find interesting?

Roi

Error caused by Numpy1.13.3, Solved

Hi Vishal,

I installed Deep-Object-Removal by following your doc and everything is ok.

But when I run "python3 main.py", I encountered the problem below.

Deep-Object-Removal % python main.py
RuntimeError: module compiled against API version 0xc but this version of Numpy is 0xb
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import

This makes me a little confused.
Finally, I found the 0xc is for Numpy 1.14.1 and the 0xb is for Numpy 1.13.3.
My solution is to upgrade Numpy to 1.14.1 like below.
pip install -U numpy==1.14.1

And then, the issue has gone.

That's it.

Jarvis

Deleting texts over images

Hi,
We have tried to maximise pen size to 200 from 20 so that we can use this program to delete text over images.
When we tried to fill a larger body than the max preset pen size we are getting black in the middle of the postprocessed area.
Is this because of a limiter inside the code that doesn’t allow drawn areas to be larger than the max pen size so we get black in the middle but not the perimeter of the drawn area.
Or is it because pre-trained model is trained in such way only small images and small areas to be deleted are used so once we try to draw larger areas to be deleted model doesn’t respond well?
Thank you for your support and creativity generating this code.

https://ibb.co/W2xcGkH

Cannot add new images

I tried adding new Images to the project with the dimension 400x400 but unable to change it
Traceback (most recent call last):
File "main.py", line 76, in
sub_window = np.hstack((image, blank, filtered_image[:,:,[2, 1, 0]]))
File "/usr/local/lib/python3.6/dist-packages/numpy/core/shape_base.py", line 293, in hstack
return _nx.concatenate(arrs, 1)
ValueError: all the input array dimensions except for the concatenation axis must match exactly

Getting this error!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.