annotationsatharvard / catcha

Catch-A - Catching Annotation: An annotation backend and API.
http://catcha.readthedocs.io
20 stars 9 forks source link

Image server version #80

Closed xcompass closed 8 years ago

xcompass commented 8 years ago

Hi @jmiranda,

we are trying to deploy this tool and using it with edX Edge. It seems the JS code on the edx side is using IIIF API 1.1. Does it support API 2.0? We are also trying to deploy Loris to server the images. The latest version is using API 2.0. If this doesn't support API 2.0, we have to deploy Loris 1.x. Is it the case for Harvard?

Also how do you convert an image to IIIF format to be served with Loris? It seems Loris doesn't have any way to convert an image. Do I need another tool to do that? thanks.

jmiranda commented 8 years ago

Hey @xcompass - The CATCH API doesn't actually have anything to do with the image server. The API is just responsible for storing annotations that are created on top of the various media types (e.g. text, image, video).

jmiranda commented 8 years ago

@lduarte1991 Do you have any input on this?

xcompass commented 8 years ago

Thanks @jmiranda. I understand CATCH API has nothing to do with image server. I thought you guys developed the code in edX to communicate with CATCH API. If it is not you guys, do you know who did it? Thanks.

jmiranda commented 8 years ago

I'm hoping Luis can answer that for you. I'll follow up with him tomorrow.

lduarte1991 commented 8 years ago

Hi @xcompass,

It's a network of people working on different projects being developed at Harvard and HarvardX. The CATCH developer is different from the Annotation tools developer who is different from the IIIF person. I'm assuming you're talking about the Image Annotation Tool in edX which interacts with a CATCH backend in order to store the annotations?

If so, just realize a few things: 1) HarvardX has halted any updating/upgrading/support of the Image annotation tool xmodule currently in the edx-platform repository. Because there are a few groups using it we probably will not deprecate entirely, but support will definitely be (and has been for a while) nonexistent. We are currently working on an LTI version of the tool instead of the xmodule version. 2) The IIIF API has nothing to do with CATCH at all. The Image annotation tool uses openseadragon which talks to a IIIF backend in order to serve the images. We then use a layer over the openseadragon and their coordinate system to overlay annotations over said images. There is no current plan to updating this code to the latest version of openseadragon or IIIF API because of what I mentioned in (1) above. 3) Like I said above, we have a network of people working on different projects and you should definitely be looking for and talking to the Mirador team. They are the ones that set up and serve our images. In fact, the LTI version of the image annotation tool will actually be a wrapper around Mirador's image annotations. I believe they're in the process of upgrading to handle IIIF API v2.0, they are better equipped to answer your question (in particular the Loris one).

Hope that's helpful in any way!

xcompass commented 8 years ago

Thanks @lduarte1991 for the info.

I finally got it working now. I have to use Loris 1.x since xmodule is using openseadragon 0.9.131, which only supports IIIF API 1.1. In case someone is on the same boat. Here is the docker image: https://hub.docker.com/r/ubcctlt/loris-docker/