Code Monkey home page Code Monkey logo

Comments (11)

lukefinsaas avatar lukefinsaas commented on August 18, 2024

I get the same error, but haven't figured out how to fix it. Let me know if you do!

from depthjs.

 avatar commented on August 18, 2024

Hey....just noticed your comments and I've a question. Is it possible to get access on the RGBA camera of the kinect with javascript?`

I've already wrote one of the developer, there is no answer...

from depthjs.

lukefinsaas avatar lukefinsaas commented on August 18, 2024

It seems like that's how they're doing it, they'd be the one's to say for sure.

from depthjs.

 avatar commented on August 18, 2024

Other idea could be to send an ajax request to our php-backend after identifying a gesture. in the php script, we could exec() a little c# program, which takes a picture and saves it on the server (we need this, because we want to manipulate the image with ImageMagick)

but it would be better, if there is a native solution in javascript.

from depthjs.

steven-king avatar steven-king commented on August 18, 2024

It seems this thread went a little off topic and dorment. This is still an outstanding issue. The Chrome plugin fails on install because of the if statement checking the manifest document. I am curious if updating the manifest.json and rebuilding the plugin will work. Has anyone successfully got this to work in the latest versions of Chrome?

from depthjs.

tan-c avatar tan-c commented on August 18, 2024

@mahsa-teimourikia i think manifest is not a problem as it at most generates a warning and its still used by the current version. popup.html is just for extra user interface and is not vital for the functions. if your program is not working you should check out the console on background.html for more information.

from depthjs.

steven-king avatar steven-king commented on August 18, 2024

Thanks @u0909067 @mahsa-teimourikia, you are correct and there are several other problems with the Chrome plugin. I do have a working version now and I will explain the changes in case others are having the same problem.

  1. the chrome.extensions.sendRequest method has been deprecated in newer versions of Chrome. It should be changed to .sendMessage in the chrome.js file.
  2. Inline scripts are also deprecated in the background.html files so I created a new js file and moved the scripts there.
  3. I could be wrong but it seems in the latest version code the popup.html file is not there, which as you pointed out is not required. I copied from a previous release, moved the inline scripts and replaced sendRequest with sendMessage.
  4. Updated the manifest.json to version 2 to avoid teh warning and replaced background_page with background.html and changed popup to default_popup.

This seems to be working on Chrome Mac Version 22.0.1229.94 and after further testing I will commit and submit a pull request.

Thanks @u0909067 @mahsa-teimourikia, for replying and reminding me to share my changes.

from depthjs.

thevinci avatar thevinci commented on August 18, 2024

Nice @steven-king! For some reason, manifest version 2 is not pushed and I am still getting the background_page error when I load the chrome plugin.

Screen Shot 2013-01-17 at 10 27 39 AM

from depthjs.

steven-king avatar steven-king commented on August 18, 2024

I just downloaded from the master and installed the upacked extension into Chrome 24.0.1312.52 on Mac 10.8.2.
The Manifest is built off of the json file which is there (https://github.com/doug/depthjs/blob/master/chrome-extension/manifest.json).
If you are trying to install on windows you might have to update the https://github.com/doug/depthjs/blob/master/chrome-extension/manifest.json.WIN32
with the same info found in the manifest.json.
Thanks!

from depthjs.

thevinci avatar thevinci commented on August 18, 2024

Weird. Not sure how I somehow got the older version of the manifest. It works now. I'm on the Mac.

Did you have to build this as well? Did you get a build error?

Screen Shot 2013-01-17 at 10 53 00 AM

from depthjs.

royshil avatar royshil commented on August 18, 2024

These two problems were addressed in the latest version (one was due to an update with FireBreath and the other to updates in Chrome's extension standards), please check out the code and try to compile.

from depthjs.

Related Issues (20)

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.