Giter VIP home page Giter VIP logo

Comments (26)

jzhang300 avatar jzhang300 commented on June 29, 2024 2

B-)

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024 1

Wow. Great James... That's working. You are the man.

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

What's the issue you're running into?

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Hallo James. Is that... When I run the app then apear the message as the print attached. Says "The demo is not available right now . We are working on getting this back up and running soon". And I am in new cloud, under registration of the company where I Work.

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

See... The account that I was testing is working still the demo. Probably the code was updated. Well I need demo that works.
print2

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

Does the message appear when you just start the app, or does it appear when you input an image?

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

After input the image James.

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

if you open this in Google Chrome, can you open the "Developer Tools," hit the "Network Tab," and then input the image again? I want to know what error is returned.

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Hallo James. So sorry the lateness... We are in different time zone but follows the print of the network tab at developer tools when I am inputting the image and generates the error.
print3

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

Can you click on "Body" tab?

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

1 {"code":400,"error":"invalid-api-key"}

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

Ok, looks like you will need to provide the API Key for Alchemy Vision

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Yes... I see. But shouldn't be it automatic? As the previously deployment. The difference is... The cloud that a did test before was on the evaluation time and the cloud of this test is registered already.

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

It's not automatic, you will need to bind the Alchemy service to the app on Bluemix as well.

To run this locally, you can create a .env.js file that looks like this in the root directory of the project:

module.exports = {
  VCAP_SERVICES: JSON.stringify({
    visual_recognition: [{
      credentials: {
        "password": "<your visual recognition password>",
        "url": "https://gateway.watsonplatform.net/visual-recognition-beta/api",
        "username": "<your visual recognition username>"
      }
    }]
  }),
  VCAP_APP_PORT: 3000,
  ALCHEMY_KEY: "<your Alchemy API key from Bluemix tile>"
};

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Hmm.. No problem. To bind that on the environment is easy. I hope that works. :-)

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

👍 Best of luck @hayslan1 :)

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Ops James. I found another problem. First when I try to bind my app with the service, my service is not on the list. Second when I try to open my service, then apear a error as follows on the image.
print4

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

I don't know what that page is about but just click on "Service Credentials" for credentials.

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

That's my dashboard. When I click to see the details of my service it's generates the previously error.
print5

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Ok. I did create a new service and rebind to the app. The error keep. I think that this cloud has some kind of problem. :-(

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

I think that error is fine, it's just some iFrame. Have you tried clicking "service credentials" tab when you click on a service?

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

The credentials I can see as below. I only omit for post the information of User and pass.

{
"visual_recognition": [
{
"name": "Visual Recognition-pl",
"label": "visual_recognition",
"plan": "free",
"credentials": {
"url": "https://gateway.watsonplatform.net/visual-recognition-beta/api",
"password": "XXXXXXXXXXXXXXXXX",
"username": "XXXXXXXXXXXXXXXXX"
}
}
]
}

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

Well James. I redeploy the Visual Recognition project and keep the same error, all are duty tied as the print bellow and with credentials. Today we lost a precious opportunity to show for the bosses here on the company, how wonderful the Watson technology is.
print6

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

Looks like Visual Recognition is working, now you need to bind Alchemy API to your app

from visual-recognition-nodejs.

hayslan1 avatar hayslan1 commented on June 29, 2024

I added the Alchemy API tie with the App and keep don't recognizing the credentials. Generates the same error.
print7

from visual-recognition-nodejs.

jzhang300 avatar jzhang300 commented on June 29, 2024

Go to "Environment Variables" -> "User-defined" tab and try adding a line for "ALCHEMY_KEY"
screen shot 2016-03-30 at 2 39 26 pm

from visual-recognition-nodejs.

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.