Git Product home page Git Product logo

stereoscopy's Issues

Provide all examples

Please add left.jpg and right.jpg to the example_images directory to be able to try out the provided examples from README.md directly.

Color scheme red-green not workin with method gray

Calling this:

stereoscopy.create_anaglyph((left, right), color_scheme="red-green", method="gray").save(rgAnagFileName)

Results in the following:
front-anaglyph-rg

Shouldn't the background be white / gray, like calling without the color_scheme param? That is just green where the are cyan parts without the color_scheme param.

After searching for example it seems that the orange tint is actually to be expected...
Can anyone confirm?

Doesn't work with latest OpenCV

I like this project. I used it to make a puzzle for a treasure hunt for my wife. I see that there has not been any activity for a while, so this may fall on deaf ears. However, I was working in an environment where OpenCV (4.2.0 I believe) was already installed. I pip installed StereoscoPy on a Windows machine. When I first tried to run the script, there was an error in the call to findTransformECC. It wanted an inputMask and a gaussian blur radius. I modified the code to pass None and 1 respectively, and it worked.

Had to change Image.py

Got in working on Linux Mint 19.2, by changing in .local/lib/python2.7/site-packages/PIL/Image.py:

Line 1968: rotn_center = (int(w / 2.0), int(h / 2.0))
Line 2387: self.im.transform2(( int(box[0]),int(box[1]),int(box[2]),int(box[3]) ), image.im, method, data, resample, fill)
Line 2495: return Image()._new(core.new(mode, (int(size[0]),int(size[1])) ))

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.