Message Boards Message Boards

[WSS22] Generating thumbnails with machine learning

Posted 2 years ago

enter image description here

POSTED BY: Matteo Child
2 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD

What does it mean to make a fairly accurate thumbnail?

deck = URLExecute[
   "http://deckofcardsapi.com/api/deck/new/shuffle/", {"deck_count" ->
      1}];

cards = URLExecute[
   URLBuild@{"http://deckofcardsapi.com/api/deck", 
     Lookup[deck, "deck_id"], "draw/"}, {"count" -> 4}];

exampleNb = 
 Thumbnail /@ 
  URLExecute@Cases[cards, Rule["png", url_] -> url, Infinity]

cards

This is my favorite part of creating thumbnails, it's the compression after upload and replacing of the original image for which we need to watch for storage upload to trigger our functions and create the thumbnail, agreed? Making thumbnails accessible through the cells in a Wolfram Notebook.

POSTED BY: Dean Gladish
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract