Giter Club home page Giter Club logo

pypoi's People

Contributors

fbessho avatar jonathanmweiss avatar parosky avatar quamilek 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  avatar  avatar  avatar  avatar  avatar  avatar

pypoi's Issues

Enhance documentation

  • Write "Get started"
  • Create an animation gif to show how it works
  • Write quick summary of poisson image editing

requirements.txt install fails with numpy.distutils.core import error

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

PyPI registration

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 ๐Ÿ˜›)

v0.1.1 Executable file doesn't work in Mac OSX

Overview

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

Symptom

Whenever user clicks the blend button in GUI, it prints the following error message.
linalg__bash

Action to be taken

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.

Load default mask when example is loaded

Show default mask when users select examples, so that users only need to click the "Blend" button to see the result.
For example, when user selects an example, mask is loaded as well as below.
image

pythonic access support using library for any user

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 :

  1. exposing the functionality.
  2. documenting the function signature better that clarifies the expectations

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,

Create executable file and upload it

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.

Rotate

Thanks for this awesome tool!

Just wondering if it would be possible to add a rotate option, to rotate either mask or image itself

ValueError: cannot set WRITEABLE flag to True of this array

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

Enable to share blended images

Add function to share blended image, for example

  • Upload a result image to a hosting service and generate an URL.
  • Connect with facebook, twitter

Show progress bar during calculation

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.

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.