shaun-jacks / shiny_vision Goto Github PK
View Code? Open in Web Editor NEWR Shiny Implementation with Google Vision APIs.
Home Page: https://shaun-jacks.shinyapps.io/visionanalyze/
License: MIT License
R Shiny Implementation with Google Vision APIs.
Home Page: https://shaun-jacks.shinyapps.io/visionanalyze/
License: MIT License
I am in trouble finding proper credential authorization for my ''RoogleVision" from Google. Here I'm providing the whole detail.
On my GCP account, I've:
- just added no scope, just the support email - in OAuth consent screen
- On my Credentials - Just created the - OAuth 2.0 Client IDs. With javascript origin URI and Redirect URI with my rstudio local domain and shiny.io.
I saved the credentials.json on my current working directory. On my R console I used this code:
library(googleAuthR) gar_set_client(web_json = "credentials.json")
The browser opens the app just fine, but for connecting google API it shows this error in console:
No authorization yet in this session!
No .httr-OAuth file exists in current working directory. Do library authentication steps to provide credentials.
Warning: Error in : Invalid token
78: stop
77: simpleCall
76: getGoogleVisionResponse
72: observeEventHandler [/cloud/project/server.R#28]
Here is my session info:
Failed to create bus connection: No such file or directory
─ Session info ─────────────────────────────────────────────────────────────────────────────
setting value
version R version 3.6.3 (2020-02-29)
os Ubuntu 16.04.6 LTS
system x86_64, linux-gnu
ui RStudio
language (EN)
collate C.UTF-8
ctype C.UTF-8
tz Etc/UTC
date 2020-07-10
─ Packages ─────────────────────────────────────────────────────────────────────────────────
package * version date lib source
abind 1.4-5 2016-07-21 [1] RSPM (R 3.6.0)
assertthat 0.2.1 2019-03-21 [1] RSPM (R 3.6.0)
backports 1.1.8 2020-06-17 [1] RSPM (R 3.6.0)
base64enc 0.1-3 2015-07-28 [1] RSPM (R 3.6.0)
bitops 1.0-6 2013-08-17 [1] RSPM (R 3.6.0)
broom 0.5.3 2019-12-14 [1] RSPM (R 3.6.0)
callr 3.4.3 2020-03-28 [1] RSPM (R 3.6.0)
cellranger 1.1.0 2016-07-27 [1] RSPM (R 3.6.0)
cli 2.0.2 2020-02-28 [1] RSPM (R 3.6.0)
colorspace 1.4-2 2019-12-29 [1] R-Forge (R 3.6.0)
crayon 1.3.4 2017-09-16 [1] RSPM (R 3.6.0)
crosstalk 1.1.0.1 2020-03-13 [1] RSPM (R 3.6.0)
DBI 1.1.0 2019-12-15 [1] RSPM (R 3.6.0)
dbplyr 1.4.2 2019-06-17 [1] RSPM (R 3.6.0)
desc 1.2.0 2018-05-01 [1] RSPM (R 3.6.0)
devtools * 2.3.0 2020-04-10 [1] RSPM (R 3.6.0)
digest 0.6.25 2020-02-23 [1] RSPM (R 3.6.0)
dplyr * 0.8.3 2019-07-04 [1] RSPM (R 3.6.0)
DT * 0.13 2020-03-23 [1] RSPM (R 3.6.0)
EBImage * 4.28.1 2019-12-06 [1] Bioconductor
ellipsis 0.3.1 2020-05-15 [1] RSPM (R 3.6.0)
evaluate 0.14 2019-05-28 [1] RSPM (R 3.6.0)
fansi 0.4.1 2020-01-08 [1] RSPM (R 3.6.0)
fastmap 1.0.1 2019-10-08 [1] RSPM (R 3.6.0)
fftwtools 0.9-8 2017-03-25 [1] RSPM (R 3.6.0)
flexdashboard * 0.5.1.1 2018-06-29 [1] RSPM (R 3.6.0)
glue 1.4.1 2020-05-13 [1] RSPM (R 3.6.0)
googleAuthR * 1.3.0 2020-06-16 [1] RSPM (R 3.6.3)
gtable 0.3.0 2019-03-25 [1] RSPM (R 3.6.0)
haven 2.2.0 2019-11-08 [1] RSPM (R 3.6.0)
hms 0.5.3 2020-01-08 [1] RSPM (R 3.6.0)
htmltools 0.5.0 2020-06-16 [1] RSPM (R 3.6.0)
htmlwidgets 1.5.1 2019-10-08 [1] RSPM (R 3.6.0)
httpuv 1.5.2 2019-09-11 [1] RSPM (R 3.6.0)
httr 1.4.1 2019-08-05 [1] RSPM (R 3.6.0)
janitor * 2.0.1 2020-04-12 [1] RSPM (R 3.6.0)
jpeg 0.1-8.1 2019-10-24 [1] RSPM (R 3.6.0)
jsonlite * 1.7.0 2020-06-25 [1] CRAN (R 3.6.3)
leaflet * 2.0.3 2019-11-16 [1] RSPM (R 3.6.3)
lifecycle 0.2.0 2020-03-06 [1] RSPM (R 3.6.0)
locfit 1.5-9.1 2013-04-20 [1] RSPM (R 3.6.0)
lubridate 1.7.4 2018-04-11 [1] RSPM (R 3.6.0)
magick * 2.4.0 2020-06-23 [1] RSPM (R 3.6.3)
magrittr 1.5 2014-11-22 [1] RSPM (R 3.6.0)
memoise 1.1.0 2017-04-21 [1] RSPM (R 3.6.0)
mime 0.9 2020-02-04 [1] RSPM (R 3.6.0)
modelr 0.1.5 2019-08-08 [1] RSPM (R 3.6.0)
munsell 0.5.0 2018-06-12 [1] RSPM (R 3.6.0)
nlme 3.1-144 2020-02-06 [2] CRAN (R 3.6.3)
packrat 0.5.0 2018-11-14 [1] RSPM (R 3.6.0)
pkgbuild 1.0.8 2020-05-07 [1] RSPM (R 3.6.0)
pkgconfig 2.0.3 2019-09-22 [1] RSPM (R 3.6.0)
pkgload 1.1.0 2020-05-29 [1] RSPM (R 3.6.0)
png 0.1-8 2020-01-17 [1] local
prettyunits 1.1.1 2020-01-24 [1] RSPM (R 3.6.0)
processx 3.4.2 2020-02-09 [1] RSPM (R 3.6.0)
promises 1.1.0 2019-10-04 [1] RSPM (R 3.6.0)
ps 1.3.3 2020-05-08 [1] RSPM (R 3.6.0)
purrr * 0.3.3 2019-10-18 [1] RSPM (R 3.6.0)
R6 2.4.1 2019-11-12 [1] RSPM (R 3.6.0)
Rcpp 1.0.3 2019-11-08 [1] RSPM (R 3.6.0)
RCurl 1.98-1.2 2020-04-18 [1] RSPM (R 3.6.3)
readr * 1.3.1 2018-12-21 [1] CRAN (R 3.5.0)
readxl 1.3.1 2019-03-13 [1] RSPM (R 3.6.0)
remotes 2.1.1 2020-02-15 [1] RSPM (R 3.6.0)
reprex 0.3.0 2019-05-16 [1] RSPM (R 3.6.0)
rlang 0.4.6 2020-05-02 [1] RSPM (R 3.6.0)
rmarkdown 2.0 2019-12-12 [1] RSPM (R 3.6.0)
RoogleVision * 0.0.1.1 2020-07-03 [1] Github (shaun-jacks/RoogleVision@6c2909d)
rprojroot 1.3-2 2018-01-03 [1] RSPM (R 3.6.0)
rsconnect 0.8.16 2019-12-13 [1] RSPM (R 3.6.0)
rstudioapi 0.11 2020-02-07 [1] RSPM (R 3.6.0)
sessioninfo 1.1.1 2018-11-05 [1] RSPM (R 3.6.0)
shiny * 1.5.0 2020-06-23 [1] CRAN (R 3.6.3)
shinycssloaders * 0.3 2020-01-16 [1] RSPM (R 3.6.3)
shinydashboard 0.7.1 2018-10-17 [1] RSPM (R 3.6.3)
[1] /home/R/x86_64-pc-linux-gnu-library/3.6
[2] /opt/R/3.6.3/lib/R/library
Warning message:
In system("timedatectl", intern = TRUE) :
running command 'timedatectl' had status 1
I badly need experts' suggestions on this. Kindly help me with this issue.
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.