GithubHelp home page GithubHelp logo

alt-text-backend's People

Contributors

tylerklane avatar xxmistacruzxx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

alt-text-backend's Issues

the list of images

- name: srcQ
in: query
description: String to match the title to.
required: false
explode: true
schema:
type: string
- name: limit
in: query
description: Max number of images to return.
required: false
explode: true
schema:
type: integer
- name: skip
in: query
description: Number of images to skip.
required: false
explode: true
schema:
type: integer
default: 0

I think the list of images is enough.

push or pull?

description: Zip file of the book.

you assume a "push" with a zip file. Why??? It's more efficient to send a URL and have the server pull in the file. This is because
the html is much smaller than most images, and you want to process images one by one. You don't need to get sound files, or css files or font files.

API user stories

When building software applications, I have found that it is useful to have user stories to guide the application design to help me focus on the important functions of the application.

User stories for alt-text AI API

  1. As a client system, I have a document with images. I would like to get suggested alt-text descriptions for each of the images.

  2. As a client system, I have received alt-text descriptions from you for a document with images . I would like a way to improve your suggestions.

Why would we reanalyse?

description: Re-analyze an entire book and overwrite current image data by its id.

We might add to context data to improve the result, or we might want to see the results of a newer model. In that case, wouldn't I want to compare the results? I think you need to keep track of sessions.

maybe separate image from a session

Image:
type: object
properties:
src:
type: string
example: "images/cover.png"
hash:
type: string
example: ""
size:
type: string
example: "24KB"
alt:
type: string
example: ""
originalAlt:
type: string
example: ""
genAlt:
type: string
example: ""
genImageCaption:
type: string
example: ""
ocr:
type: string
example: ""
beforeContext:
type: string
example: ""
afterContext:
type: string
example: ""

it seems to me you'll want the results of an analysis session separate from the image, espesially if you imagine re-running the model. you can store processing times (and dates) on the session object.

same question about title

titles can come from the doumnet, from the PUT or from an API. Which takes precedence.

Titles can have multiple uses, display, (mostly for human users) context, for the AI, and retrieval.

Maybe add a field for a user-generated document identifier to facilitate retrieval.

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.