Code Monkey home page Code Monkey logo

glskybox's Introduction

Hi there 👋

github stats

glskybox's People

Contributors

chichou 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

Watchers

 avatar  avatar

glskybox's Issues

can not find the output

When I ran the code, I got:

E:\glskybox-master>python glskybox.py IMG_1501.jpg
[+] processing image: IMG_1501.jpg
Traceback (most recent call last):
File "glskybox.py", line 20, in
[projector.run(source) for source in args.input]
File "E:\glskybox-master\render.py", line 76, in run
self.render(src)
File "E:\glskybox-master\render.py", line 100, in render
self.load_texture(filename)
File "E:\glskybox-master\render.py", line 48, in load_texture
buf = im.convert("RGB").tostring("raw", "RGB")
File "D:\Python27\lib\site-packages\PIL\Image.py", line 686, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

or

E:\glskybox-master>python glskybox.py westcampus.jpg
[+] processing image: westcampus.jpg
Traceback (most recent call last):
File "glskybox.py", line 20, in
[projector.run(source) for source in args.input]
File "E:\glskybox-master\render.py", line 76, in run
self.render(src)
File "E:\glskybox-master\render.py", line 100, in render
self.load_texture(filename)
File "E:\glskybox-master\render.py", line 48, in load_texture
buf = im.convert("RGB").tostring("raw", "RGB")
File "D:\Python27\lib\site-packages\PIL\Image.py", line 686, in tostring
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.

But the folders "output\IMG_1501" and "output\westcampus" are empty. Why?

pip install -r requirements.pip fail

Can't roll back Pillow; was not uninstalled
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ZpK1R6-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/Pillow
Storing debug log for failure in /home/huzhenjie/.pip/pip.log

pre-requests for sphere photo

Hi there,

I find this repo + the otherone, vue-pano, are excellent!

Tried to build up a vue-pano myself but the outputs were not pleasent. Plus, i noticed certain sphere photo can trigger error (may the photo was not well-organised, or may due to image size--sorry i'm not pro in python). So, I wonder if there is size limit for the "glskybox"? or... can you provide some best practices in taking those pictures? or just stick with your blog?

Sorry for this 'issue' may deviated from actuall coding, but since you made this "glskybox" repo, I guess you the right person to ask :)

Best,

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.