ArctosDB / arctos

Arctos is a museum collections management system
https://arctos.database.museum
60 stars 13 forks source link

Linking to Arctos specimen data from Library Sketchfab #2986

Closed ewommack closed 3 years ago

ewommack commented 4 years ago

The UWYMV is working with the University of Wyoming library to 3D scan skulls in our collection. Eventually we are planning to get the scans onto MorphoSource, but this first push is focusing on providing material for classes and public education. The fastest and easiest method has been to use the University of Wyoming Library's account in Sketchfab to get the material available quickly and easily for people to use: https://skfb.ly/6TQTE

https://skfb.ly/6TQTJ

https://skfb.ly/6TQTL

The library has asked us what type of meta data we would like to include with each image, and while specimen number and species name were easy to do, we were trying to figure out if it would be possible to simply supply a link to the specimen page for each animal that people could click on to take them to Arctos where they could get the rest of the information.

So for the above scans that would be: https://arctos.database.museum/guid/UWYMV:Mamm:5429 https://arctos.database.museum/guid/UWYMV:Mamm:6529

I wanted to double check that those are the easiest links to provide for the objects, and the best way we can go about helping to provide the library with the metadata in an easy to access format.

Jegelewicz commented 4 years ago

Thought I was gonna be cool and just create the media for you, but I cannot pick a relationship.

image

@dustymc can you figure this out?

Jegelewicz commented 4 years ago

I think that creating the media in Arctos with a relationship to the specimen record would be the best metadata on our end. But from their side, yes, I think a link to those urls would be awesome!

ewommack commented 4 years ago

Thanks @Jegelewicz!

So at least we'll have the info right in one direction. It would be great to figure out how to add to them to Arctos, but I just do not know how. They're not images, they're more links to a model that you can download (I think).

Jegelewicz commented 4 years ago

I can show you - but Dusty has to fix that relationship thingee first. This is sooooooooo cooooool!!!!!!

dustymc commented 4 years ago

Yes https://arctos.database.museum/guid/UWYMV:Mamm:5429 is the GUID and suitable for this. They can use it to pull data from the API (or GBIF if they want to go through an exchange standard), but unless they have the resources to maintain that I'd discourage it - it'll get stale and confusing.

@Jegelewicz see

Screen Shot 2020-07-31 at 3 23 15 PM
Jegelewicz commented 4 years ago

I can't create the relationship - when I select the dropdown nothing happens....

Jegelewicz commented 4 years ago

And I can't create it from the record - cause I don't have access to it.

ewommack commented 4 years ago

No worries. I'll figure it out then.

Glad you like it! It was a suggestion that came about this summer, and then the library is helping make it possible.

Apparently teeth are hard to image with 3D camera set-ups, since they are shiny. We're learning about the limits and abilities as we go.

mkoo commented 4 years ago

Hey @ewommack please be sure to update with some example records that have sketchfab associated with them!

ewommack commented 4 years ago

I will. I'm still waiting to get the final images from the library for specimens. The ones I had before were previews.

ewommack commented 4 years ago

/remind me to check on this in a week

reminders[bot] commented 4 years ago

@ewommack set a reminder for Aug 18th 2020

reminders[bot] commented 4 years ago

:wave: @ewommack, check on this

ebraker commented 3 years ago

@ewommack just reading through some past issues on media and whoa!...these are SO cool. Are these models produced using photogrammetry? I'd love to learn more about this project as it is something we might pursue for adapting our teaching collections for online learning (a big push for CU, even pre-COVID). Plus, there are many research specimens that supplement our teaching collection that are "no touch" specimens during lab - this would be a cool way to give students a better look.

dustymc commented 3 years ago

I linked https://arctos.database.museum/guid/UWYMV:Mamm:6529 - here's how.

Screen Shot 2020-12-15 at 8 22 26 AM Screen Shot 2020-12-15 at 8 22 59 AM
jldunnum commented 3 years ago

I have a short tutorial on my home desktop I need to post.


Jonathan L. Dunnum Ph.D. Senior Collection Manager Division of Mammals, Museum of Southwestern Biology University of New Mexico Albuquerque, NM 87131 (505) 277-9262 Fax (505) 277-1351

MSB Mammals website: http://www.msb.unm.edu/mammals/index.html Facebook: http://www.facebook.com/MSBDivisionofMammals

Shipping Address: Museum of Southwestern Biology Division of Mammals University of New Mexico CERIA Bldg 83, Room 204 Albuquerque, NM 87131


From: dustymc notifications@github.com Sent: Tuesday, December 15, 2020 9:25 AM To: ArctosDB/arctos arctos@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [ArctosDB/arctos] Linking to Arctos specimen data from Library Sketchfab (#2986)

[EXTERNAL]

I linked https://arctos.database.museum/guid/UWYMV:Mamm:6529 - here's how.

[Screen Shot 2020-12-15 at 8 22 26 AM]https://user-images.githubusercontent.com/5720791/102242373-d5f88e00-3eae-11eb-96b4-da5fd47a1f95.png

[Screen Shot 2020-12-15 at 8 22 59 AM]https://user-images.githubusercontent.com/5720791/102242395-da24ab80-3eae-11eb-8c93-fdc8212228d2.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ArctosDB/arctos/issues/2986#issuecomment-745403035, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AED2PAZVRENE3HJTS6V2HRDSU6EX7ANCNFSM4PQ45C2Q.

ewommack commented 3 years ago

Thanks @dustymc and @jldunnum!

One of the nifty things about this project is that it has been a collaboration between the UWYMV and the UWY Library. I can get you in touch with our library's digital department @ebraker if you want the nitty gritty. My understanding is it is not a scan, but photogrammetry. However with the pandemic I haven't been able to observe the process. It has also limited us by size (muskrat size and larger), and also fiddly things do not work so well. We just got our pelican skull model up , but were only able to do the individual upper mandible, as the lower kept contorting when not attached to another surface.

ewommack commented 3 years ago

@dustymc, I find the URL to use by going to the sketchfab model and clicking the share arrow correct?

ewommack commented 3 years ago

Alright, I think I figured it out. Check out: https://arctos.database.museum/guid/UWYMV:Mamm:6529

One last question @dustymc: this may be too complicated, but is there any way to add a thumbnail preview of the model? It looks like you can copy some code from Sketchfab to embed the model....but I'm not sure if that is what we are looking for.

<div class="sketchfab-embed-wrapper">
    <iframe title="A 3D model" width="640" height="480" src="https://sketchfab.com/models/87246c6200dd489398e353ff6c7613ae/embed?autostart=0&amp;ui_controls=0&amp;ui_infos=0&amp;ui_inspector=0&amp;ui_stop=0&amp;ui_watermark=1&amp;ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
    <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;">
        <a href="https://sketchfab.com/3d-models/uwymv-6529-puma-concolor-hippolestes-mandible-87246c6200dd489398e353ff6c7613ae?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">UWYMV 6529, Puma concolor hippolestes - Mandible</a>
        by <a href="https://sketchfab.com/uwlibraries?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">University of Wyoming Libraries</a>
        on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a>
    </p>
</div>
ebraker commented 3 years ago

@ewommack Looks like you may be able to grab a preview image from the Inspect Elements page (right-click on webpage of model you want previewed).

image

Grab any of the static icon links, e.g.: https://media.sketchfab.com/models/87246c6200dd489398e353ff6c7613ae/thumbnails/84cc67ed43814626b67d4b3c4f59c6cc/806fb00c0f0b490d90e7e65b8a5eda28.jpeg

And yes, if you wouldn't mind putting me in touch with your digital libraries people, that would be great!

dustymc commented 3 years ago

@ewommack I just copied from your post above...

I hope we can eventually find the resources to rebuild our thumb-builder so it can handle things like this, but it can't yet - you'll have to make them, ask the library for them, dig them out of source, etc. See also https://handbook.arctosdb.org/documentation/media.html#preview - the link above is 66K, Arctos won't display it as a preview.

ebraker commented 3 years ago

Oops. I think there is a smaller Twitter preview link in there somewhere.

ewommack commented 3 years ago

I've been adding the media to the Arctos specimens, but when I click on the Media Available bear icon I get the following error: There may be a problem with the linked resource. Status: 403 An unknown error occurred

Click the following link(s) to attempt to load the resource manually.

Please Contact Us if you experience additional problems with the link.

Link as provided: https://skfb.ly/6WPPU

When I click the link it takes me straight to the Sketchfab model. @dustymc did I enter the media wrong?

ewommack commented 3 years ago

Sorry - example: https://arctos.database.museum/media/10619052?open https://arctos.database.museum/guid/UWYMV:Mamm:6529

dustymc commented 3 years ago

Arctos pre-fetches external resources (lest we get blamed for random things breaking!), this one seems to be blocking Arctos but letting people in.

ewommack commented 3 years ago

@dustymc would it help if I contacted Sketchfab to see if they are the ones blocking us?

dustymc commented 3 years ago

Maybe. I'm making a HEAD request, here's the full result.

Screen Shot 2021-02-04 at 9 27 28 AM
ewommack commented 3 years ago

For personal education, what is a HEAD request?

dustymc commented 3 years ago

what is a HEAD request?

"Poke it with a stick, see if it's alive." I use it as a way to check a resource without requiring much data transmission from either of us.

https://tools.ietf.org/html/rfc7231#section-4.3.2

ewommack commented 3 years ago

Cool! Thanks for the info. Did the HEAD Request come back with any info.

Let me know if you need me to contact sketchfab.