Giter Club home page Giter Club logo

ofxstreetview's Introduction

ofxStreetView

Trying to improve the stitching between panoramic views for my SKYLINES II project I came across some encrypted depth information inside Google Street View database. This become popularized by the short video PointCloudCity and later become SKYLINE III, a series of postcards revealing the invisible information of a city that is otherwise trapped inside corporate databases, freeing private information collected from public spaces.

Washington Sq

Queensboro Bridge

Île de la Cité, Paris

How it works

By doing the call:

http://cbk0.google.com/cbk?output=xml&panoid=[pano_id]&dm=1

We get information that looks like this

At you can seee a depth image encoded in base64 (and zlib compressed)

This addon will construct the panoramic image (that you can get with getTextureReference() ) and then construct a 3D Mesh using the DepthMap information.

Credits

ofxstreetview's People

Contributors

mattfelsen avatar patriciogonzalezvivo avatar transat 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofxstreetview's Issues

zlib.h not found.

Can't compile example file-
tested on OF 0.8.4 and OF 0.9.3 in vs 2012 and 2015.

error C1083: Cannot open include file: 'zlib.h': No such file or directory

Cannot build the addon

Linux mint 16

../../addons/ofxStreetView/src/ofxStreetView.cpp:25:19: error: cannot allocate an object of abstract type ‘ofxStreetView’
ofxStreetView();
^
In file included from ../../addons/ofxStreetView/src/ofxStreetView.cpp:8:0:
../../addons/ofxStreetView/src/ofxStreetView.h:25:7: note: because the following virtual functions are pure within ‘ofxStreetView’:
class ofxStreetView : public ofBaseHasTexture {
^
In file included from ../../libs/openFrameworks/ofMain.h:15:0,
from ../../addons/ofxStreetView/src/ofxStreetView.h:12,
from ../../addons/ofxStreetView/src/ofxStreetView.cpp:8:
../../libs/openFrameworks/types/ofBaseTypes.h:93:28: note: virtual const ofTexture& ofBaseHasTexture::getTextureReference() const
virtual const ofTexture & getTextureReference() const=0;
^
../../libs/openFrameworks/types/ofBaseTypes.h:95:15: note: virtual bool ofBaseHasTexture::isUsingTexture() const
virtual bool isUsingTexture() const=0;
^
../../addons/ofxStreetView/src/ofxStreetView.cpp: In constructor ‘ofxStreetView::ofxStreetView(double, double)’:
../../addons/ofxStreetView/src/ofxStreetView.cpp:30:19: error: cannot allocate an object of abstract type ‘ofxStreetView’
ofxStreetView();
^
In file included from ../../addons/ofxStreetView/src/ofxStreetView.cpp:8:0:
../../addons/ofxStreetView/src/ofxStreetView.h:25:7: note: since type ‘ofxStreetView’ has pure virtual functions
class ofxStreetView : public ofBaseHasTexture {
^
../../addons/ofxStreetView/src/ofxStreetView.cpp: In member function ‘std::string ofxStreetView::getCloseLinkTo(float)’:
../../addons/ofxStreetView/src/ofxStreetView.cpp:321:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < links.size(); i++) {
^
../../addons/ofxStreetView/src/ofxStreetView.cpp: In member function ‘void ofxStreetView::update()’:
../../addons/ofxStreetView/src/ofxStreetView.cpp:392:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i= 0; i < panoImages.size(); i++){
^
make[1]: *** [../../addons/obj/linux64/Release/ofxStreetView/src/ofxStreetView.o] Error 1
make[1]: Leaving directory `/home/mastermind/openFrameworks/apps/streetView'
make: *** [Release] Error 2

0.9.3 errors

Hi. I'm new to openframeworks and c++. I was wondering if much work would need to be done to this addon to make it work with of 0.9.3?
On OSX10.11 using Xcode 7.3, having used the projector generator and embedded both the ofxStreetView and ofxXmlSettings addons, I'm getting the following errors:

In ofApp.h:
Field type 'ofxStreetView' is an abstract class.

More specifically this seems to relate to:

"Unimplemented pure virtual method 'getTexture' in 'ofxStreetView' 
"Unimplemented pure virtual method 'isUsingTexture' in 'ofxStreetView' 

In main.cpp:
No matching function for call to 'ofRunApp'

Cheers

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.