fbessho / pypoi Goto Github PK
View Code? Open in Web Editor NEW"Py"thon program for "Poi"sson Image Editing
License: Other
"Py"thon program for "Poi"sson Image Editing
License: Other
It would be great if user can load source or target images by drag-and-drop'ping.
Require investigation if it's feasible in tkinter.
pip install -r requirements.txt
fails with the error on Max OS X.
pip install -r requirements.txt
...
from numpy.distutils.core import setup
ImportError: No module named numpy.distutils.core
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3s/7v9d19q90752p8_nqzxj4cg80000gn/T/pip-build-MKi69E/pyamg
Current workaround is to install numpy independently before running pip install -r requirements.txt
pip install numpy==1.8.1
Increase test coverage!!
Make everyone's life easier by putting PyPoi to PyPI so people can use PyPoi through pip. (Repeat bold text five times as fast as you can ๐)
Executable file (one file mode) for MacOSX created by PyInstaller doesn't work well.
This issue doesn't happen in multi file mode or in Windows
Whenever user clicks the blend button in GUI, it prints the following error message.
It looks that something is wrong around math calculation (pyamg, scipy).
GUI works fine in Windows and even in Mac when multi file mode is used, and also I plan to register PyPoi to PyPI (#15), after that we don't need to use the PyInstaller anymore.
Hence, I'll leave it as it is and for v0.1.1 I'll release only multi file version for Mac OS.
Hi,
it's a great work of your. i really appreciate.
i would like to propose the extension as functionality that allows the library to be used from python. e.g import pypoi and directly able to use the pypoi.blend(...)
for that i see the following tasks :
I am putting it out if someone takes these tasks. Some functionality i have already posted in the pull request. #30
will try to implement others.
cheers,
As the title says, when I click on example 4, nothing shows up.
Make executable files for Windows and Mac OSX and upload it as a release.
User only needs to go to the release tab, download an executable and launch it to explore.
Thanks for this awesome tool!
Just wondering if it would be possible to add a rotate option, to rotate either mask or image itself
With numpy==1.16.2, the following exception occurs when blending images.
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/besshf/anaconda3/envs/pypoi/lib/python2.7/lib-tk/Tkinter.py", line 1547, in __call__
return self.func(*args)
File "/Users/besshf/src/PyPoi/pypoi/gui.py", line 179, in blend
src.flags.writeable = True
ValueError: cannot set WRITEABLE flag to True of this array
This error is reproducible by
from PIL import Image
import numpy as np
print(np.__version__) # 1.16.2
# https://github.com/fbessho/PyPoi/raw/v0.2.1/pypoi/testimages/test1_src.png
path = 'pypoi/testimages/test1_src.png'
image = Image.open(path)
array = np.asarray(image)
array.flags.writeable = True
Add function to share blended image, for example
Currently, all GUI stops during calculation so user cannot know if the program is doing something or something wrong happens.
It's really confusing.
By showing progress bar during calculation, user can know program is calculating in the back.
To explain how to use this app.
Perhaps I need to upload it to youtube or somewhere else.
Blending doesn't work well when the target image has strong gradient (see the image below).
Gradient of a source image could be retained by using Gradient Mixture.
See this article in opencv.jp (Japanese) for technical details.
Is there anyway to speed up this image editing process? Such as..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.