SlideShare a Scribd company logo
1 of 31
d.tour: Style-based
      Exploration of
 Design Example Galleries
Author: Daniel Ritchie, Ankita Arvind
Kejriwal, Scott R. Klemmer
Stanford University HCI Group
Department of Computer Science
Stanford, CA, USA
Source: UIST’11, October 1619,
2011, Santa Barbara, CA, USA. ACM
Advisor: Geeng Neng You
Speaker: Ching Jung Chang
http://www.youtube.com/watch?v=g4ggoccLOyI&featur
e=related
                                              1
INTRODUCTION
• An interface and interaction techniques for style-
  based gallery exploration.
• Introduce exploratory techniques for finding
  relevant and inspiring design examples.
• A curated database of Web pages .
• Methods for extracting and analyzing design
  features from a curated corpus of Web pages.
• A recommender system that processes queries
  and returns relevant pages from the database.
• It decreases the gulfs of execution and evaluation
  for design example-finding.
                                                 2
Web interface : (a) Search Results, (b) Search box,
(c) Current Query, (d) Ambient Style Display, (e) Bookmarks
                                                        3
USER INTERFACE

• (a) Search Results: Presents search
  results as interactive thumbnails.
• query interface by providing ‘Show more
  like’     Show less like’    clicking a page
  thumbnail to expand the page to full size
  bookmark and add notes to the page.
• (b) Search box: Supports query by text
  string, color keywords, style terms, or any
  combination of the three. (colorful image-
  heavy)
                                             4
Searching for ‘colorful image heavy’ retrieves
colorful pages that make heavy use of images.    5
• (c) Current Query: This right-hand
  pane displays the keyword and page
  queries that specify the current state
  of the design gallery.
• Building simple interfaces for users to
  convey rationale is an important open
  issue in recommender systems.
• (d) Ambient Style Display: When a
  user hovers over a page, the display
  provides instant feedback by showing
  stylistic attributes .
• (e) Bookmarks: allows the user to
  maintain a collection of interesting
  pages across several search sessions.
                                            6
The Ambient Style Display shows bar chart visualizes the
aggregate style attributes of the current example queries.
When the user mouse over a page thumbnail, it instead
                                                         7
shows that page’s stylistic attributes.
IMPLEMENTATION
• Database
• The current prototype includes around
  300 Web pages listed on sites such as
  webbyawards.com, designmeltdown.co
  m, ilovetypography.com, sixrevisions.co
  m, and the Alexa Top 100.
• The complete contents of the database:
  bricolage.stanford.edu/database.



                                            8
• System Architecture:
• All utilities for processing pages and
  extracting features are implemented in:
• C++ with the Qt framework.
• QtWebKit API to interface with the
  WebKit browser engine.
• Search interface : HTML, JavaScript, CSS.
• Supports HTML5-compliant browsers :
  Firefox, Safari, and Chrome.
• Web server: JavaScript using node.js

                                          9
FEATURE EXTRACTION
• Focuse on global pages features that
  describe a design’s use of
  space, color, text, and images.
• These features compose to predict
  higher-level stylistic attributes.
• Many of these features are derived from
  the page’s Document Object Model
  (DOM) tree.

                                        10
http://www.w3schools.com/
htmldom/dom_nodetree.asp




                            Parents




           Children            Siblings



        • The HTML DOM views an HTML document as a tree
          structure. The tree structure is called a node-tree.
        • The tree starts at the root node and branches out to the
          text nodes at the lowest level of the tree.
        • Node Parents, Children, and Siblings. The nodes in the
          node tree have a hierarchical relationship to each other.
                                                                11
<html>
                                       <head>
                                        <title>Hello DOM </title>
                                       </head>
                                       <body>
                                        <h1>DOM Lesson
                                      one</h1>
                                        <p>Hello world!</p>
                                       </body>
                                      </html>

The <html> node has no parent node; it is the root node.
The <html> node has two child nodes; <head> and <body>
The <head> node has one child node; the <title> node
The <title> node also has one child node; the text node “Hello DOM "
The <h1> and <p> nodes are siblings, and both child nodes of <body>



                                                                 12
Principles from the design literature
Use of   DOM tree depth (min, max, mean, stddev), # of
Space    DOM leaf nodes, document width/height, amount
         of separation between content blocks,
         foreground/background ratio, overlapping element
         area, connected components in rendered image (#,
         minarea, maxarea, meanarea)
Use of   Color (mean, stddev), saturation (min, max, mean,
Color    stddev), value (min, max, mean, stddev), # of
         colors (in DOM, in rendered page), most dominant
         color, most dominant text color, # of dominant
         colors, text-to-background contrast (min, max,
         mean, stddev), histogram
Use of   # of words in page, # of words per block (min,
Text     max, mean, stddev), # of fonts, font size (min, max,
         mode, mean)
Use of   # of images, aspectRatio (min, max, mean,
Images   stddev), area (min, max, mean, stddev), complexity
         (min, max, mean, stddev)                         13
• Other features require Segmentation
• Apply the Bento page segmentation algorithm
  to ensure that the DOM tree accurately
  reflects the page’s visual layout.
• Bento: data collection study, the mapping
  algorithm, and the machine learning method.
• The system also computes a color histogram of
  the rendered page, quantizing the image into
  256 colors that evenly sample the RGB color
  cube.
• Additional features for the local structure web
  pages.
• Bricolage algorithm transfers the contents of a
  source page into the style of a target page by
  computing a mapping between the two pages’
  DOM trees.
                                               14
Left: The colored boxes illustrate Bento’s
segmentation.
Right: Bento’s output tree and associated
DOM nodes for this page.
                                         15
Red
                                                     128-     192-
                                      0-63   64-127
                                                      191     255
Original
                              0-63   43        78     18       0
                             64-127  45        67     33       2
                       Blue   128-
                                    127        58      25       8
                              191
                              192-
                                    140        47      47      13
256 colors     •   Color histogram in the
                              255            RGB color space
               • A Red–Blue chromaticity histogram can be formed by
                 first normalizing color pixel values by dividing RGB
                 values by R+G+B.
               • Quantizing the normalized R and B coordinates into N
                 bins each.
               • A two-dimensional histogram of Red-Blue
                 chromaticity divide in to four bins (N=4) might yield a
                 histogram that looks like this table:
                                                                     16
             Reference: Wiki
Bricolage
computes
coherent
mappings
between Web
pages by
matching
visually and
semantically
similar page
elements.




         17
QUERY PROCESSING
• Use the text contents of its pages and the
  combined feature vectors described above to
  respond to different types of queries.
• 1. Show More/Less Like’
• q weighted average of all feature vectors for pages
  rated via ‘show more/less like.’
• M be the set of feature vectors for all ‘show more
  like’ pages
• L be the set of vectors for all ‘show less like’ pages.




                                                        18
• 2. Text Keyword Search
• System computes a TF-IDF score for each word in the
  page’s document text .
• It returns a ranked list of the pages whose combined
  scores for the query terms are greater than zero.
• TF-IDF : Term Frequency–Inverse Document Frequency.
• Consider a document containing 100 words where in the
  word colorful appears 3 times.
• Term frequency (TF) for colorful (3 / 100) = 0.03.
• Assume 10 million documents and colorful appears in
  1,000 of these. DF=(10, 000 ,000 / 1, 000)
• Inverse document frequency is calculated as log(10, 000
  ,000 / 1, 000) =10,000= 4.
• tf–idf score : 0.03 × 4 = 0.12.

                                                      19
• 3. Color Keyword Search
• The system converts each color keyword into
  an RGB color c* for that word using a hard-
  coded lookup table. / Six-digit hexadecimal
• The current prototype supports twelve
  common color words.
• To determine how well a page matches the
  query color.
• It computes a score s based on the page’s
  histogram h. h is a set of pairs (ci; fi),
• ci - RGB color and fi - fraction of pixels in the
  page whose nearest histogram color is ci.


                       S=S1+S2+S3……..+Sh
                                                 20
• frequently-occurring colors that are close to
  query color should have a high score
  contribution si.
• use a value of    one-third the diagonal
  length of the RGB color cube for the threshold.
• The system returns as search results only the
  pages with s greater than a heuristically
  determined threshold.
                                        fraction of pixels




    RGB color

                each histogram pair (ci; fi)
                                                             21
Diagonal length




                                    22
Reference: Wiki
4. Style
Keyword
Search
The current
prototype
invokes these
rules when the
user searches for
the bold terms.
35 terms—
including
synonyms—map
to 14 unique
rules.

All the features
in any single rule
are weighted
equally.         23
• EVALUATION
• Method
• An online study instructed participants to find
  a set of inspirational design examples.
• Participants were randomly assigned to use
  either d.tour or a Web search engine to find
  examples.
• Provide feedback about their search strategies
  and experience.




                                               24
• Participants
• 40 participants: 20 through student email lists
  at university and 20 more via Amazon
  Mechanical Turk.
• Participants searched for design examples.
• Finishing search, responded to a
  questionnaire.
• Provided four inspirational design examples
  URLs and explanations for their chosen
  examples.



                                                25
• Results
• Mainly reported querying with keywords such
  as ‘science,’ ‘kids,’ and ‘education.’
• Retrieved pages from their own mental search
  history, recalling well-designed, potentially
  relevant sites they had seen recently.
• Lack of style-based search or the insufficiency
  of searching by page content as serious
  roadblocks.
• Search function “rated sites by mood or feel.”
• “Google is only really useful for searching for
  actual page content, not page style.
                                               26
• d.tour as a “really good tool
  to find quick examples.”
• Specific interface features as
  useful.
• Current Query as reminder
  of search history.
• ‘Ambient Style Display’
  received mixed feedback,
  difficulty interpreting and
  operationalizing the
  information it provided.
• Low corpus size as a
  limitation for d.tour.
                                   27
• Participants
  using d.tour
  focused on
  the style
  and
  present-
  ction of
  their
  chosen
  designs.




           28
• Many
  participants
  using
  search
  engines
  chose
  pages on a
  topic
  relevant to
  the design
  task.


            29
• CONCLUSION AND FUTURE WORK
• 1. d.tour currently standardizes all page
  features, effectively giving them all the same
  weight.
• 2. Expanding the stylistic vocabulary. Apply
  machine learning techniques to a large corpus of
  stylistically-tagged Web pages.
• 3. Many of d.tour’s features rely on the HTML
  DOM, which simplifies a page to a hierarchy of
  rectangles.
• 4. d.tour does not attempt to capture non-static
  aspects of design such as animation or
  interaction.
• 5. A full-fledged system should scale to much
  large page databases—perhaps even the entire 30
3. The wine bottles and the type on this page overlap and span
multiple DOM nodes (outlined in blue). Breaking the strong grid lines
specified by the DOM. d.tour’s current feature set cannot support
                                                                    31
queries about ‘organic’ page layouts such as this.

More Related Content

Viewers also liked

The Entrepreneur's Guide to Hospital Partnerships by @Rock_Health
The Entrepreneur's Guide to Hospital Partnerships by @Rock_HealthThe Entrepreneur's Guide to Hospital Partnerships by @Rock_Health
The Entrepreneur's Guide to Hospital Partnerships by @Rock_HealthRock Health
 
Smart Remarketing for Maximum Returns-Tim Mayer
Smart Remarketing for Maximum Returns-Tim MayerSmart Remarketing for Maximum Returns-Tim Mayer
Smart Remarketing for Maximum Returns-Tim MayerAffiliate Summit
 
Live Performance Effects
Live Performance EffectsLive Performance Effects
Live Performance EffectsTom Chen
 
Mobile Average Revenues per Subscriber
Mobile Average Revenues per SubscriberMobile Average Revenues per Subscriber
Mobile Average Revenues per SubscriberAriel Seidman
 
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...Moscow.pm
 
The Money Event Agenda
The Money Event Agenda The Money Event Agenda
The Money Event Agenda themoneyevent
 
Social Mobile Data Revolution
Social Mobile Data RevolutionSocial Mobile Data Revolution
Social Mobile Data RevolutionTed Shelton
 
NewsGator Collective 2013 - Keynote Daniel Kraft
NewsGator Collective 2013 - Keynote Daniel KraftNewsGator Collective 2013 - Keynote Daniel Kraft
NewsGator Collective 2013 - Keynote Daniel KraftDaniel Kraft
 
Promotion Opportunities
Promotion OpportunitiesPromotion Opportunities
Promotion OpportunitiesWAN-IFRA
 
The 20 best pieces of advice recruiters have received
The 20 best pieces of advice recruiters have receivedThe 20 best pieces of advice recruiters have received
The 20 best pieces of advice recruiters have received40hrsvn
 
Telefonul mobil, viitorul card de credit
Telefonul mobil, viitorul card de creditTelefonul mobil, viitorul card de credit
Telefonul mobil, viitorul card de creditAntonio Eram
 
What can i do with conga presentation
What can i do with conga presentationWhat can i do with conga presentation
What can i do with conga presentationDeepa Patel
 

Viewers also liked (20)

The Entrepreneur's Guide to Hospital Partnerships by @Rock_Health
The Entrepreneur's Guide to Hospital Partnerships by @Rock_HealthThe Entrepreneur's Guide to Hospital Partnerships by @Rock_Health
The Entrepreneur's Guide to Hospital Partnerships by @Rock_Health
 
Smart Remarketing for Maximum Returns-Tim Mayer
Smart Remarketing for Maximum Returns-Tim MayerSmart Remarketing for Maximum Returns-Tim Mayer
Smart Remarketing for Maximum Returns-Tim Mayer
 
Identidad Profesional y Ética
Identidad Profesional y ÉticaIdentidad Profesional y Ética
Identidad Profesional y Ética
 
Live Performance Effects
Live Performance EffectsLive Performance Effects
Live Performance Effects
 
Mobile Average Revenues per Subscriber
Mobile Average Revenues per SubscriberMobile Average Revenues per Subscriber
Mobile Average Revenues per Subscriber
 
LBS is all about you
LBS is all about youLBS is all about you
LBS is all about you
 
new resume
new resumenew resume
new resume
 
Question 7
Question 7Question 7
Question 7
 
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...
Особенности создания XS-модулей на языке C++. Владимир Тимофеев. Moscow.pm 4 ...
 
The Money Event Agenda
The Money Event Agenda The Money Event Agenda
The Money Event Agenda
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
Social Mobile Data Revolution
Social Mobile Data RevolutionSocial Mobile Data Revolution
Social Mobile Data Revolution
 
NewsGator Collective 2013 - Keynote Daniel Kraft
NewsGator Collective 2013 - Keynote Daniel KraftNewsGator Collective 2013 - Keynote Daniel Kraft
NewsGator Collective 2013 - Keynote Daniel Kraft
 
Promotion Opportunities
Promotion OpportunitiesPromotion Opportunities
Promotion Opportunities
 
The 20 best pieces of advice recruiters have received
The 20 best pieces of advice recruiters have receivedThe 20 best pieces of advice recruiters have received
The 20 best pieces of advice recruiters have received
 
Nanyi catalogue
Nanyi catalogueNanyi catalogue
Nanyi catalogue
 
Ak finaacial
Ak finaacialAk finaacial
Ak finaacial
 
Telefonul mobil, viitorul card de credit
Telefonul mobil, viitorul card de creditTelefonul mobil, viitorul card de credit
Telefonul mobil, viitorul card de credit
 
Empreendedorismo em Silicon Valley
Empreendedorismo em Silicon ValleyEmpreendedorismo em Silicon Valley
Empreendedorismo em Silicon Valley
 
What can i do with conga presentation
What can i do with conga presentationWhat can i do with conga presentation
What can i do with conga presentation
 

Similar to Style based

Cis363 week 3 i lab 3
Cis363 week 3 i lab 3Cis363 week 3 i lab 3
Cis363 week 3 i lab 3CIS363A
 
Cis363 a week 3 ilab 3
Cis363 a week 3 ilab 3Cis363 a week 3 ilab 3
Cis363 a week 3 ilab 3CIS363A
 
Cis363 week 3 i lab 3
Cis363 week 3 i lab 3Cis363 week 3 i lab 3
Cis363 week 3 i lab 3jkkjhdy798iyi
 
WEB TECHNOLOGY Unit-2.pptx
WEB TECHNOLOGY Unit-2.pptxWEB TECHNOLOGY Unit-2.pptx
WEB TECHNOLOGY Unit-2.pptxkarthiksmart21
 
Browsers. Magic is inside.
Browsers. Magic is inside.Browsers. Magic is inside.
Browsers. Magic is inside.Devexperts
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Mediacurrent
 
Making Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceMaking Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceAdrian Roselli
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersMelvin John
 
CSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondCSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondDenise Jacobs
 
MongoDB.local Dallas 2019: Advanced Schema Design Patterns
MongoDB.local Dallas 2019: Advanced Schema Design PatternsMongoDB.local Dallas 2019: Advanced Schema Design Patterns
MongoDB.local Dallas 2019: Advanced Schema Design PatternsMongoDB
 
Advanced Schema Design Patterns
Advanced Schema Design PatternsAdvanced Schema Design Patterns
Advanced Schema Design PatternsMongoDB
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflowPeter Kaizer
 
MongoDB, E-commerce and Transactions
MongoDB, E-commerce and TransactionsMongoDB, E-commerce and Transactions
MongoDB, E-commerce and TransactionsSteven Francia
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfelayelily
 
Dev tools rendering & memory profiling
Dev tools rendering & memory profilingDev tools rendering & memory profiling
Dev tools rendering & memory profilingOpen Academy
 
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Máté Nádasdi
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 

Similar to Style based (20)

Cis363 week 3 i lab 3
Cis363 week 3 i lab 3Cis363 week 3 i lab 3
Cis363 week 3 i lab 3
 
Cis363 a week 3 ilab 3
Cis363 a week 3 ilab 3Cis363 a week 3 ilab 3
Cis363 a week 3 ilab 3
 
Cis363 week 3 i lab 3
Cis363 week 3 i lab 3Cis363 week 3 i lab 3
Cis363 week 3 i lab 3
 
Html
HtmlHtml
Html
 
WEB TECHNOLOGY Unit-2.pptx
WEB TECHNOLOGY Unit-2.pptxWEB TECHNOLOGY Unit-2.pptx
WEB TECHNOLOGY Unit-2.pptx
 
Browsers. Magic is inside.
Browsers. Magic is inside.Browsers. Magic is inside.
Browsers. Magic is inside.
 
Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG) Atlanta Drupal User Group (ADUG)
Atlanta Drupal User Group (ADUG)
 
Making Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceMaking Your Site Printable: Booster Conference
Making Your Site Printable: Booster Conference
 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
 
CSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to RespondCSS3: Ripe and Ready to Respond
CSS3: Ripe and Ready to Respond
 
CSS
CSSCSS
CSS
 
MongoDB.local Dallas 2019: Advanced Schema Design Patterns
MongoDB.local Dallas 2019: Advanced Schema Design PatternsMongoDB.local Dallas 2019: Advanced Schema Design Patterns
MongoDB.local Dallas 2019: Advanced Schema Design Patterns
 
Advanced Schema Design Patterns
Advanced Schema Design PatternsAdvanced Schema Design Patterns
Advanced Schema Design Patterns
 
Css3
Css3Css3
Css3
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
MongoDB, E-commerce and Transactions
MongoDB, E-commerce and TransactionsMongoDB, E-commerce and Transactions
MongoDB, E-commerce and Transactions
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
 
Dev tools rendering & memory profiling
Dev tools rendering & memory profilingDev tools rendering & memory profiling
Dev tools rendering & memory profiling
 
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Style based

  • 1. d.tour: Style-based Exploration of Design Example Galleries Author: Daniel Ritchie, Ankita Arvind Kejriwal, Scott R. Klemmer Stanford University HCI Group Department of Computer Science Stanford, CA, USA Source: UIST’11, October 1619, 2011, Santa Barbara, CA, USA. ACM Advisor: Geeng Neng You Speaker: Ching Jung Chang http://www.youtube.com/watch?v=g4ggoccLOyI&featur e=related 1
  • 2. INTRODUCTION • An interface and interaction techniques for style- based gallery exploration. • Introduce exploratory techniques for finding relevant and inspiring design examples. • A curated database of Web pages . • Methods for extracting and analyzing design features from a curated corpus of Web pages. • A recommender system that processes queries and returns relevant pages from the database. • It decreases the gulfs of execution and evaluation for design example-finding. 2
  • 3. Web interface : (a) Search Results, (b) Search box, (c) Current Query, (d) Ambient Style Display, (e) Bookmarks 3
  • 4. USER INTERFACE • (a) Search Results: Presents search results as interactive thumbnails. • query interface by providing ‘Show more like’ Show less like’ clicking a page thumbnail to expand the page to full size bookmark and add notes to the page. • (b) Search box: Supports query by text string, color keywords, style terms, or any combination of the three. (colorful image- heavy) 4
  • 5. Searching for ‘colorful image heavy’ retrieves colorful pages that make heavy use of images. 5
  • 6. • (c) Current Query: This right-hand pane displays the keyword and page queries that specify the current state of the design gallery. • Building simple interfaces for users to convey rationale is an important open issue in recommender systems. • (d) Ambient Style Display: When a user hovers over a page, the display provides instant feedback by showing stylistic attributes . • (e) Bookmarks: allows the user to maintain a collection of interesting pages across several search sessions. 6
  • 7. The Ambient Style Display shows bar chart visualizes the aggregate style attributes of the current example queries. When the user mouse over a page thumbnail, it instead 7 shows that page’s stylistic attributes.
  • 8. IMPLEMENTATION • Database • The current prototype includes around 300 Web pages listed on sites such as webbyawards.com, designmeltdown.co m, ilovetypography.com, sixrevisions.co m, and the Alexa Top 100. • The complete contents of the database: bricolage.stanford.edu/database. 8
  • 9. • System Architecture: • All utilities for processing pages and extracting features are implemented in: • C++ with the Qt framework. • QtWebKit API to interface with the WebKit browser engine. • Search interface : HTML, JavaScript, CSS. • Supports HTML5-compliant browsers : Firefox, Safari, and Chrome. • Web server: JavaScript using node.js 9
  • 10. FEATURE EXTRACTION • Focuse on global pages features that describe a design’s use of space, color, text, and images. • These features compose to predict higher-level stylistic attributes. • Many of these features are derived from the page’s Document Object Model (DOM) tree. 10
  • 11. http://www.w3schools.com/ htmldom/dom_nodetree.asp Parents Children Siblings • The HTML DOM views an HTML document as a tree structure. The tree structure is called a node-tree. • The tree starts at the root node and branches out to the text nodes at the lowest level of the tree. • Node Parents, Children, and Siblings. The nodes in the node tree have a hierarchical relationship to each other. 11
  • 12. <html> <head> <title>Hello DOM </title> </head> <body> <h1>DOM Lesson one</h1> <p>Hello world!</p> </body> </html> The <html> node has no parent node; it is the root node. The <html> node has two child nodes; <head> and <body> The <head> node has one child node; the <title> node The <title> node also has one child node; the text node “Hello DOM " The <h1> and <p> nodes are siblings, and both child nodes of <body> 12
  • 13. Principles from the design literature Use of DOM tree depth (min, max, mean, stddev), # of Space DOM leaf nodes, document width/height, amount of separation between content blocks, foreground/background ratio, overlapping element area, connected components in rendered image (#, minarea, maxarea, meanarea) Use of Color (mean, stddev), saturation (min, max, mean, Color stddev), value (min, max, mean, stddev), # of colors (in DOM, in rendered page), most dominant color, most dominant text color, # of dominant colors, text-to-background contrast (min, max, mean, stddev), histogram Use of # of words in page, # of words per block (min, Text max, mean, stddev), # of fonts, font size (min, max, mode, mean) Use of # of images, aspectRatio (min, max, mean, Images stddev), area (min, max, mean, stddev), complexity (min, max, mean, stddev) 13
  • 14. • Other features require Segmentation • Apply the Bento page segmentation algorithm to ensure that the DOM tree accurately reflects the page’s visual layout. • Bento: data collection study, the mapping algorithm, and the machine learning method. • The system also computes a color histogram of the rendered page, quantizing the image into 256 colors that evenly sample the RGB color cube. • Additional features for the local structure web pages. • Bricolage algorithm transfers the contents of a source page into the style of a target page by computing a mapping between the two pages’ DOM trees. 14
  • 15. Left: The colored boxes illustrate Bento’s segmentation. Right: Bento’s output tree and associated DOM nodes for this page. 15
  • 16. Red 128- 192- 0-63 64-127 191 255 Original 0-63 43 78 18 0 64-127 45 67 33 2 Blue 128- 127 58 25 8 191 192- 140 47 47 13 256 colors • Color histogram in the 255 RGB color space • A Red–Blue chromaticity histogram can be formed by first normalizing color pixel values by dividing RGB values by R+G+B. • Quantizing the normalized R and B coordinates into N bins each. • A two-dimensional histogram of Red-Blue chromaticity divide in to four bins (N=4) might yield a histogram that looks like this table: 16 Reference: Wiki
  • 18. QUERY PROCESSING • Use the text contents of its pages and the combined feature vectors described above to respond to different types of queries. • 1. Show More/Less Like’ • q weighted average of all feature vectors for pages rated via ‘show more/less like.’ • M be the set of feature vectors for all ‘show more like’ pages • L be the set of vectors for all ‘show less like’ pages. 18
  • 19. • 2. Text Keyword Search • System computes a TF-IDF score for each word in the page’s document text . • It returns a ranked list of the pages whose combined scores for the query terms are greater than zero. • TF-IDF : Term Frequency–Inverse Document Frequency. • Consider a document containing 100 words where in the word colorful appears 3 times. • Term frequency (TF) for colorful (3 / 100) = 0.03. • Assume 10 million documents and colorful appears in 1,000 of these. DF=(10, 000 ,000 / 1, 000) • Inverse document frequency is calculated as log(10, 000 ,000 / 1, 000) =10,000= 4. • tf–idf score : 0.03 × 4 = 0.12. 19
  • 20. • 3. Color Keyword Search • The system converts each color keyword into an RGB color c* for that word using a hard- coded lookup table. / Six-digit hexadecimal • The current prototype supports twelve common color words. • To determine how well a page matches the query color. • It computes a score s based on the page’s histogram h. h is a set of pairs (ci; fi), • ci - RGB color and fi - fraction of pixels in the page whose nearest histogram color is ci. S=S1+S2+S3……..+Sh 20
  • 21. • frequently-occurring colors that are close to query color should have a high score contribution si. • use a value of one-third the diagonal length of the RGB color cube for the threshold. • The system returns as search results only the pages with s greater than a heuristically determined threshold. fraction of pixels RGB color each histogram pair (ci; fi) 21
  • 22. Diagonal length 22 Reference: Wiki
  • 23. 4. Style Keyword Search The current prototype invokes these rules when the user searches for the bold terms. 35 terms— including synonyms—map to 14 unique rules. All the features in any single rule are weighted equally. 23
  • 24. • EVALUATION • Method • An online study instructed participants to find a set of inspirational design examples. • Participants were randomly assigned to use either d.tour or a Web search engine to find examples. • Provide feedback about their search strategies and experience. 24
  • 25. • Participants • 40 participants: 20 through student email lists at university and 20 more via Amazon Mechanical Turk. • Participants searched for design examples. • Finishing search, responded to a questionnaire. • Provided four inspirational design examples URLs and explanations for their chosen examples. 25
  • 26. • Results • Mainly reported querying with keywords such as ‘science,’ ‘kids,’ and ‘education.’ • Retrieved pages from their own mental search history, recalling well-designed, potentially relevant sites they had seen recently. • Lack of style-based search or the insufficiency of searching by page content as serious roadblocks. • Search function “rated sites by mood or feel.” • “Google is only really useful for searching for actual page content, not page style. 26
  • 27. • d.tour as a “really good tool to find quick examples.” • Specific interface features as useful. • Current Query as reminder of search history. • ‘Ambient Style Display’ received mixed feedback, difficulty interpreting and operationalizing the information it provided. • Low corpus size as a limitation for d.tour. 27
  • 28. • Participants using d.tour focused on the style and present- ction of their chosen designs. 28
  • 29. • Many participants using search engines chose pages on a topic relevant to the design task. 29
  • 30. • CONCLUSION AND FUTURE WORK • 1. d.tour currently standardizes all page features, effectively giving them all the same weight. • 2. Expanding the stylistic vocabulary. Apply machine learning techniques to a large corpus of stylistically-tagged Web pages. • 3. Many of d.tour’s features rely on the HTML DOM, which simplifies a page to a hierarchy of rectangles. • 4. d.tour does not attempt to capture non-static aspects of design such as animation or interaction. • 5. A full-fledged system should scale to much large page databases—perhaps even the entire 30
  • 31. 3. The wine bottles and the type on this page overlap and span multiple DOM nodes (outlined in blue). Breaking the strong grid lines specified by the DOM. d.tour’s current feature set cannot support 31 queries about ‘organic’ page layouts such as this.