{"id":21108,"date":"2023-03-19T07:46:13","date_gmt":"2023-03-19T06:46:13","guid":{"rendered":"https:\/\/inlab.fib.upc.edu\/news\/this-sant-jordi-we-generate-unique-and-digital-roses-with-creativity-and-artificial-intelligence\/2023\/"},"modified":"2023-10-19T11:18:43","modified_gmt":"2023-10-19T09:18:43","slug":"this-sant-jordi-we-generate-unique-and-digital-roses-with-creativity-and-artificial-intelligence","status":"publish","type":"post","link":"https:\/\/inlab.fib.upc.edu\/en\/noticies\/this-sant-jordi-we-generate-unique-and-digital-roses-with-creativity-and-artificial-intelligence","title":{"rendered":"This Sant Jordi we genererate unique and digital roses with AI"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\n          <strong>#RosaUPC23 is presented on April 19, where the UPC offers this Sant Jordi the possibility to choose a digital rose or generate one of your own, from a drawing and an associated text. <\/strong>\n        <\/p>\n\n<p class=\"wp-block-paragraph\">On April 19, on the occasion of the day of Sant Jordi, the <strong>Polytechnic University of Catalonia &#8211; BarcelonaTech (UPC)<\/strong> offers with the initiative <a href=\"https:\/\/roses-inlab.fib.upc.edu\/\" target=\"_blank\" rel=\"noreferrer noopener\">Roses UPC<\/a>(#RosaUPC23), the possibility to create, share and send the image of a unique and digital rose formed by the union of computer science, creativity and artificial intelligence.<\/p>\n\n<p class=\"wp-block-paragraph\">Each rose is initiated from a descriptive text and a drawing entered by the user, using the computer cursor or through the screen if done from the cell phone. It does not need to be a very elaborate drawing, it can be just a sketch or a trace of the figure.<\/p>\n\n<p class=\"wp-block-paragraph\">In addition, you can change the width of the drawing or erase what has been done, before seeing an animation of the strokes that have been drawn and pressing the \u2018<strong>create rose<\/strong>\u2019, button, which begins the process of generating the rose with artificial intelligence.<\/p>\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_dibujo.png\" alt=\"\" class=\"wp-image-19641\" width=\"515\" height=\"425\" srcset=\"https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_dibujo.png 823w, https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_dibujo-300x248.png 300w, https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_dibujo-768x634.png 768w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n<p class=\"wp-block-paragraph\">The result of this process is formed from a generative <em>deep learning<\/em> model called <strong>ControlNet<\/strong>, which consists of neural networks and is based on the text-to-image model called <strong>Stable Diffusion<\/strong>. This model is designed to create images from text and a simple drawing (<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/lllyasviel\/ControlNet\" target=\"_blank\">Model and Original Code on GitHub<\/a>), that is, by giving it an input text, it generates an image that matches the description of this text<\/p>\n\n<p class=\"wp-block-paragraph\">Finally, an image is generated, with one or several roses, which follows the shape of the sketch and tries to reflect the descriptive text. Once generated, a link is sent to the user&#8217;s email address to view the finished rose, so that it can be shared and a dedication can be written to the person who wants to give it as a gift.<\/p>\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_articulo.png\" alt=\"\" class=\"wp-image-19644\" width=\"534\" height=\"451\" srcset=\"https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_articulo.png 789w, https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_articulo-300x253.png 300w, https:\/\/inlab.fib.upc.edu\/wp-content\/uploads\/2023\/04\/rosa_articulo-768x648.png 768w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n<p class=\"wp-block-paragraph\">Each rose created becomes part of the UPC Roses <a rel=\"noreferrer noopener\" href=\"https:\/\/roses-inlab.fib.upc.edu\/galeria\" target=\"_blank\">gallery,<\/a> which can be shared via link, WhatsApp or Twitter, as well as downloaded and distributed freely, without commercial use, under the Creative Commons CC BY-NC-ND 4.0 license.<\/p>\n\n<p class=\"wp-block-paragraph\">Following last year&#8217;s success (more than <strong>7,000 artistic roses<\/strong> generated with AI), the <strong>InLab FIB<\/strong> has promoted the UPC Roses initiative with the <strong><a href=\"https:\/\/upcarts.upc.edu\/ca\" target=\"_blank\" rel=\"noreferrer noopener\">UPCArts<\/a><\/strong> program and with the collaboration of the UPC Communication Service. On April 19, the program will be presented as part of <a href=\"https:\/\/www.upc.edu\/ca\/sala-de-premsa\/noticies\/sant-jordi-digital-upc\" target=\"_blank\" rel=\"noreferrer noopener\">Sant Jordi Digital at the 2023 UPC<\/a>.<\/p>\n\n<p class=\"wp-block-paragraph\">You can follow the best images that are being created through the Instagram profile <a href=\"https:\/\/www.instagram.com\/rosesupc\/\" target=\"_blank\" rel=\"noreferrer noopener\">RosesUPC<\/a> and with the hashtag <strong>#RosaUPC23.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>#RosaUPC23 is presented on April 19, where the UPC offers this Sant Jordi the possibility to choose a digital rose or generate one of your own, from a drawing and an associated text. On April 19, on the occasion of the day of Sant Jordi, the Polytechnic University of Catalonia &#8211; BarcelonaTech (UPC) offers with [&hellip;]<\/p>\n","protected":false},"author":594,"featured_media":19623,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[458],"tags":[],"experteses":[],"class_list":["post-21108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-noticies"],"acf":[],"_links":{"self":[{"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/posts\/21108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/users\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/comments?post=21108"}],"version-history":[{"count":2,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/posts\/21108\/revisions"}],"predecessor-version":[{"id":22464,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/posts\/21108\/revisions\/22464"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/media\/19623"}],"wp:attachment":[{"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/media?parent=21108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/categories?post=21108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/tags?post=21108"},{"taxonomy":"experteses","embeddable":true,"href":"https:\/\/inlab.fib.upc.edu\/en\/wp-json\/wp\/v2\/experteses?post=21108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}