Giter Club home page Giter Club logo

rooglevision's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rooglevision's Issues

Authentication options didn't match existing session token and not interactive session so unable to manually reauthenticate

library("RoogleVision")

options("googleAuthR.client_id" = "XXXXXX")
options("googleAuthR.client_secret" = "XXXXX")

options("googleAuthR.scopes.selected" = c("https://www.googleapis.com/auth/cloud-platform"))

googleAuthR::gar_auth()

And I'm getting the error:
Authentication options didn't match existing session token and not interactive session so unable to manually reauthenticate

Any idea how can I overcome this?

Request Status Code: 502

Hey,
First of all, thank you for the package.
I try to classify landmarks with the google vision API on Flickr-data. I do not want to download the data but try to classify the files by passing URLs. But I get Request Status Code: 502. Some error with a JSON content? It says no JSON content found. I cannot find any help on this? Any idea how the error is produced?

On windows x86-64, R version 3.4.1 (2017-04-21)
In Detail i do:
require(RoogleVision)
require(googleAuthR)
require(magrittr)

options("googleAuthR.client_id" = ....)
options("googleAuthR.client_secret" = ....)
options("googleAuthR.scopes.selected" = c("https://www.googleapis.com/auth/cloud-platform"))
googleAuthR::gar_auth()

Then i load a datatable with URL's of Flickr images which I want to classifiy. For this, i first read the datatable with Flickr <- data.table::fread (Flickr_data.csv) and then go

getGoogleVisionResponse(imagePath = Flickr$URL[i], feature="LANDMARK_DETECTION")

with Flickr$URL[i] being characters

Request Status Code: 502
Error : lexical error: invalid char in json text.
smallerthansign!DOCTYPE html> <html lang=engreaterthansign
(right here) ------^

Trying again: 1 of 5
Trying again: 2 of 5
Trying again: 3 of 5
Trying again: 4 of 5
Trying again: 5 of 5
Warning message:
No JSON content found in request

opened an issue here already but got referred to this site :) <- MarkEdmondson1234/googleAuthR#80 (comment)

Thank you!

Error when no features detected

Hi Flovv, nice work with the package!

Someone left this issue on googleAuthR: MarkEdmondson1234/googleAuthR#32 that perhaps you may be better placed to solve.

Let me know if there is anything I can do to help googleAuthR's end. I suspect how it handles non-JSON content may have been an issue, but perhaps solved in the latest update (0.3.0) with the new option(googleAuthR.rawResponse) flag.

How to run multiple Feature on single command

Hi @cloudyr,

I hope you are doing well.

I could see your code has a function to fetch the image responses based on various commands such as Face detection, label detection, text detection etc.

Is there any chance that we can call one line of the code and it can fetch all the information in one request?

I hope you understood the problem.

numResults no effects

Try to detect faces in a picture which has more than 5 person, increase numResults to number greater than 5, still return 5 faces.

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.