Open jwijffels opened 2 years ago
widget labels do not work on firefox, but do seem to work in Chrome, Microsoft Edge and RStudio browser.
library(shiny) library(recogito) url <- paste("https://upload.wikimedia.org/", "wikipedia/commons/a/a0/Pamphlet_dutch_tulipomania_1637.jpg", sep = "") ui <- fluidPage(annotoriousOutput(outputId = "anno", height = "600px"), tags$hr(), tags$h3("Results"), verbatimTextOutput(outputId = "annotation_result")) server <- function(input, output) { output$anno <- renderAnnotorious({ annotorious("annotations", tags = c("IMAGE", "TEXT"), src = url) }) output$annotation_result <- renderPrint({ read_annotorious(input$annotations) }) } shinyApp(ui, server)
widget labels do not work on firefox, but do seem to work in Chrome, Microsoft Edge and RStudio browser.