chichou / glskybox Goto Github PK
View Code? Open in Web Editor NEWFaster skysphere to skybox convertion using OpenGL
License: MIT License
Faster skysphere to skybox convertion using OpenGL
License: MIT License
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?
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
您好!请教一下,如何将6张分割后的普通图像 还原成 全景图像????
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,
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.