The subject matter of this application is generally related to formatting content for presentation on a display area.
Information technology has provided new ways of publishing books, newspapers, magazines and periodicals. Electronic books (“e-books”) can be purchased and downloaded from e-bookstores online and read on various devices, such as personal computers, personal digital assistants (PDAs), pocket-PCs, mobile phones, media player/recorders, dedicated e-book readers, etc. An e-book is typically a collection of digital objects or documents, which are packaged and formatted with the intention of being displayed on a device or read by a speech generating application. E-books can be distributed over a network as a sequence of images, for example, one image for each page. E-books that are distributed over a network (e.g., the Internet, wireless network) using Hypertext Mark-up Language (HTML) can be read using a standard browser (e.g., Microsoft® Internet Explorer).
Conventional e-book technology suffers several drawbacks. For example, exploring an e-book typically requires horizontal motion (flipping through pages) and vertical motion (scrolling within every page), which makes regular sequential reading of book pages frustrating. Another drawback is the poor use of free space on large display screens and limited space on small display screens.
A user interface (e.g., a browser window) includes a display area for displaying an image (e.g., a book page image). The image can be rescaled based on the dimensions of the display area, one or more attributes of the image and other factors. In some implementations, a sequence of images are searched for a table of contents. If a table of contents does not exist, one is created by searching the images for white space and/or other attributes that can be used to determined entries in the table of contents. The entries in the table of contents can be hypertext links.
In some implementations, a method includes: receiving images of content; searching the images for a table of contents; and if the table of contents exists, tagging the table of contents to facilitate subsequent retrieval. If the table of contents does not exist, creating the table of contents.
Other implementations are disclosed, including implementations directed to systems, methods, apparatuses, computer-readable mediums and user interfaces.
The viewport 102 can be provided by a server (e.g., a web server) over a network (e.g., the Internet, wireless network). In the example shown, the viewport 102 can be presented on a web page interface for a book search engine. A user can enter a search term (e.g., the title of a book) in a search box 112, and click a button 114 to begin or otherwise activate the search process. An example of a book search engine is Google™ Book Search, developed by Google Inc. (Mountain View, Calif.).
The search results can be presented to the user with other information (e.g., a summary, image) and a link to allow the user to view one or more pages of the book. For example, when the user clicks the link corresponding to a book the user wants to review, a book page image 104 can be presented in a display area 108 of the viewport 102. The book page image 104 typically includes book page content 106 (e.g., text, images), which can be set-off by margins. In some implementations, the book page image is a digital image of an actual book page. In some implementations, a single page layout or a two page layout (pages displayed side by side) can be displayed in the display area 108 of the viewport 102.
In addition to the viewport 102, a panel 110 can be displayed (e.g., side panel as shown) for presenting information related to the book. Such information can include, but is not limited to: title, author, summary or forward, title page link, copyright link, table of contents (TOC) link, index link, links to book retailers, library search link, a book search engine for searching for particular terms inside the book, etc. For example, if the user clicks the TOC link, then an image of the book's TOC will be displayed in the viewport 102, as shown in
The user can navigate (e.g., flip) through book pages using the controls 116 (e.g., arrow buttons). By clicking the controls 116, the book page images can be displayed in two directions. The controls 116 can change according to the image that is displayed in the viewport 102. In some implementations where an entire book is viewable, the user can enter a page number into a search box and go directly to that page without incrementing through other pages. An example of a search box is the search box 608 shown in
In some implementations, the viewport 102 (and the book page image contained therein) rescales with the user interface 100. For example, the user interface 100 may be manually resized for display using an input device (e.g., a mouse), or the viewport 102 may be automatically resized for display by an application or operating system of a device that may have a limited screen space (e.g., a portable computer, mobile phone, media player/recorder, PDA). To create a more comfortable user experience for extended reading, it is desirable to manage the screen space for displaying the book pages. This can be accomplished by filling the viewport 102 with a book page image 104 that has been rescaled to a size determined by the available display area 108 in the viewport 102 (i.e., the viewport dimensions) and other factors, which are described in reference to
If the user clicks a control to select a different book page, the selected book page image can be retrieved from an image repository (204) or other suitable data structure for storing images (e.g., cache memory). In some implementations, the image is scaled to fit in the viewport given the current dimensions of the viewport and other factors (206). In other implementations, the user is provided with zoom controls with predetermined zoom “stops”. The zoom stops can be set as a function of viewport size (e.g., height, width). The zoom stops fit the image to the height and/or width of the viewport. The zoom stops can have absolute bounds to prevent the image from being made arbitrarily large or small.
The scaled image is displayed in the viewport (208). If the user interface (e.g., browser window) is resized (210), then the viewport can be re-sized based on the current dimensions of the user interface (212) and the process 200 returns to step 206. Alternatively, the viewport can be maintained based on user settings or preferences. For example, a user may want the size of the viewport to remain fixed when the user interface is resized.
In some implementations, the dimensions of the viewport 102 are provided by a window manager service, which is commonly included as part of an operating system (e.g., Windows XP). Other factors that can be used to scale an image for display in the viewport can include, but are not limited to:
In some implementations, scaling can be determined empirically using some principles (e.g., rules, guidelines, options, etc.). Some exemplary principles for determining a scaled size include, but are not limited to:
In some implementations, a bounding box of the text on the page can be padded. If the padded bounding box is “close” to fitting in the display area 108 of the viewport 102, then the image is scaled to fit the display area 108. In some implementations, the scaling is performed provided the text does not drop below a minimum x-height. In some implementations, the bounding box is “close” to fitting in the viewport if a certain portion (e.g., a percentage) of the bounding box fits within the viewport. Otherwise, more than one “viewportful” of vertical space may be needed to display the page.
Although any given book page image can have a fixed aspect ratio, the viewport 102 containing the book page image does not have to have a fixed aspect ratio. The image could be long and narrow if the whole page is being displayed or short and wide if the top half of the page is displayed. Thus, there can be at least two options:
In some implementations, the page image can be scaled to a size so that a predetermined percentage of the page image fits in the viewport 102 (e.g., the top 55% of the page). When the user clicks the controls 116, the remaining portion of the page image can be displayed in the viewport 102 (e.g., the bottom 55% of the page), rather than a new page. Alternatively, a separate control (e.g., a toggle button) can be provided for handling the scenario described above.
In some implementations, a scaled image is displayed by default. A zoom feature can be included that allows the user to zoom between a scaled image and the image with its original dimensions. Alternatively, software can be used to implement a multi-stage zoom. For example, a zoom dropdown menu can be presented to the user with options such as 50%, 75%, default (the scaled size), zoom to fit, or actual size. Once a size is set, the size can persist from image to image. In some implementations, images (e.g., the next book page image of the sequence) can be aggressively preloaded, pre-scaled and potentially pre-rendered at the selected size.
In some implementations, the user is presented with zoom controls upon display of a default page. The zoom controls allow users to zoom-in or zoom-out the book page images. The zoom controls can include zoom “stops” which can be customized using, for example, information about the image that was previously determined during a scanning process (e.g., image dimensions). The zoom “stops” can be zoom percentages (e.g., 10%, 38%) that have been customized to provide a better user experience for the particular image being zoomed and the particular viewport size.
In some implementations, the process 300 begins by retrieving an image including content and margins from an image repository (302). The process 300 determines whether margins exist, and if margins exist, also determines the dimensions of the margins (304). For example, the process 300 can look for white space in the outer portion of a page image to determine if page margins exist. If page margins exist, then a difference between page dimensions and a text bounding box can be calculated to determine page margin dimensions. Once the margin dimensions are known, standard image cropping or magnifying techniques can be used to adjust (e.g., trim or increase) the margins based on the margin dimensions to provide appropriate (e.g., additional or less) space for the content (306). The image content (e.g., text) can be rescaled to fill the space provided by the margin adjusting (308). In some implementations, the book page images with adjusted margins can be stored in an image repository (e.g., image repository 504) for future retrieval when a user requests a book page having a particular scale (310).
In some implementations, cropping rules are used to provide a uniform presentation of images in the viewport. For example, each book page image in a sequence of book page images can have a designated anchor point, such as the top left-hand corner of the book page image, which can be used to anchor the text in substantially the same location of the image. When the user navigates through a book page image sequence the presentation of the content in the viewport 102 will appear uniform. In some implementations, a template can be used to scale each image in a uniform manner. The template can be a page bounding box with standard dimensions (height, width). The dimensions of the template bounding box can be determined by processing an entire image sequence and determining a typical height and width of the text in the image sequence (e.g., a median height and width). If a given text is close to the template bounding box, than the template is used. Otherwise, the text is processed, as described in reference to
The process 400 begins by retrieving a book page sequence for an image repository (402). The book page sequence is searched using, for example, an OCR engine, to identify which images, contain a TOC. Various clues, attributes or heuristics can be used to determine whether an image includes a TOC. For example, an image can be determined to be a TOC if the image contains white space, text with large fonts (e.g., a large title), ellipses, roman numerals, italicized text, or any other attributes associated with TOCs. Some or all of these clues, attributes or heuristics can be combined into a score, which can be compared to a reference to determine whether a TOC has been found.
If a TOC is found (406), then the image is tagged (408) and hypertext links are created for one or more (e.g., each) of the TOC entries (410) and embedded in the TOC image. The TOC image, including the links, can then be presented in the viewport 102.
If the TOC is not found (406), the various clues, attributes and heuristics can be used to determine breaks in the book page sequence (412). For example, the first page of each chapter or section in a book can be identified as a break in the book page sequence. The breaks in content can then be used to create a TOC (414). For example, the first page of each chapter or section of a book can be the entries of the TOC. Chapter and/or section title names used in the book can be used for naming entry points in the created TOC, if available. Otherwise, names can be created for the TOC entry points, for example, “Section 1”, “Section 2”, . . . , “Section N”.
Once the TOC is determined, links can be created for the TOC entries, and the TOC, including the links, can be presented in the viewport 102, as described in reference to
The term “computer-readable medium” refers to any medium that participates in providing instructions to a processor 502 for execution, including without limitation, non-volatile media (e.g., optical or magnetic disks), and volatile media (e.g., memory).
The computer-readable medium 510 further includes an operating system 514 (e.g., Mac OS® server, Windows® NT server), a network communication module 516 and viewport system 518. The operating system 514 can be multi-user, multiprocessing, multitasking, multithreading, real time, etc. The operating system 514 performs basic tasks, including but not limited to: recognizing input from and providing output to the administrator computer 508; keeping track and managing files and directories on computer-readable mediums 510 (e.g., memory or a storage device); controlling peripheral devices (e.g., repositories 504); and managing traffic on the one or more communication channels 512. The network communications module 516 includes various components for establishing and maintaining network connections (e.g., software for implementing communication protocols, such as TCP/IP, HTTP, etc.).
The viewport system 518 includes a web server 520, a scaling process 522, a margin adjusting process 524, a TOC creation process 526, a reference page creation process 528 and an OCR engine 530. These components are described in reference to
The architecture 500 is one example of a suitable architecture for hosting a viewport system. Other architectures are possible, which can include more or fewer components. For example, the image repository 504 and computer-readable medium 510 can be the same storage device or separate storage devices. The components of architecture 500 can be located in the same facility or distributed among several facilities. The architecture 500 can be implemented in a parallel processing or peer-to-peer infrastructure or on a single device with one or more processors. The viewport system 518 can include multiple software components or it can be a single body of code. Some or all of the functionality of the viewport system 518 can be provided as a service to clients over a network. In such a case, these entities may need to install client applications. Some or all of the functionality of the viewport system 518 can be provided as part of a search engine application.
In the example shown, the user search for the book “Huckleberry Finn” using the book search engine. After clicking on a link associated with Huckleberry Finn, a default book page image is displayed (e.g., a title page). Referring to
The summary section 701 includes a thumbnail image of the book's cover and basic information, such as, for example, title, author, publisher, number of pages, ISBN number, language, physical dimensions, format (i.e., paperback, hardback, e-book), etc.
The contents section 702 includes links to various chapters or sections of the book, and can list keywords that can be found in those chapters or sections. When the user clicks a link, a viewport is presented which allows the user to navigate pages of the chapter or section of the book corresponding to the link using navigation controls (e.g., controls 116).
The review section 704 includes links to book reviews and other information about the book, including reviewer ratings.
The pages with images section 706 displays thumbnails of pages of the book that includes images. If the user clicks on the image, the page with the image corresponding to the clicked thumbnail will be displayed in a viewport. If the viewport is not already presented, the viewport will be invoked in response to the click on the thumbnail image.
The key words section 708 includes categories of keywords contained in the book. The keywords can be links that when clicked cause the book page or pages containing the keyword to be displayed a viewport. If the viewport is not already presented, the viewport will be invoked in, response to the click on the keyword link.
The various information contained on the book reference page 700 can be gathered from the book, the World Wide Web and any other online resources.
Various modifications may be made to the disclosed implementations and still be within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4484826 | Horn et al. | Nov 1984 | A |
5434964 | Moss et al. | Jul 1995 | A |
5463725 | Henckel et al. | Oct 1995 | A |
5729673 | Cooper et al. | Mar 1998 | A |
5748931 | Jones et al. | May 1998 | A |
5751283 | Smith et al. | May 1998 | A |
5761686 | Bloomberg | Jun 1998 | A |
5778381 | Sandifer | Jul 1998 | A |
5794257 | Liu et al. | Aug 1998 | A |
5848184 | Taylor et al. | Dec 1998 | A |
5957697 | Iggulden et al. | Sep 1999 | A |
6091930 | Mortimer et al. | Jul 2000 | A |
6240410 | Wical | May 2001 | B1 |
6289512 | Edwards et al. | Sep 2001 | B1 |
6356923 | Yano et al. | Mar 2002 | B1 |
6366933 | Ball et al. | Apr 2002 | B1 |
6486895 | Robertson et al. | Nov 2002 | B1 |
6539387 | Oren et al. | Mar 2003 | B1 |
6728403 | Jang et al. | Apr 2004 | B1 |
6820111 | Rubin et al. | Nov 2004 | B1 |
6907431 | Lin | Jun 2005 | B2 |
6992687 | Baird et al. | Jan 2006 | B1 |
7020663 | Hay et al. | Mar 2006 | B2 |
7047490 | Markovic et al. | May 2006 | B1 |
7071915 | Liang et al. | Jul 2006 | B2 |
7259753 | Keely et al. | Aug 2007 | B2 |
7401286 | Hendricks et al. | Jul 2008 | B1 |
7404147 | Bell et al. | Jul 2008 | B2 |
7447771 | Taylor | Nov 2008 | B1 |
7673019 | Chi et al. | Mar 2010 | B2 |
20010007980 | Ishibashi et al. | Jul 2001 | A1 |
20020059334 | Jelbert | May 2002 | A1 |
20020075504 | Fernandez et al. | Jun 2002 | A1 |
20020083096 | Hsu et al. | Jun 2002 | A1 |
20020118230 | Card et al. | Aug 2002 | A1 |
20020184189 | Hay et al. | Dec 2002 | A1 |
20030042319 | Moore | Mar 2003 | A1 |
20040006742 | Slocombe | Jan 2004 | A1 |
20040162853 | Brodersen et al. | Aug 2004 | A1 |
20040177323 | Kaasila et al. | Sep 2004 | A1 |
20040225658 | Horber | Nov 2004 | A1 |
20050010865 | Kuppusamy et al. | Jan 2005 | A1 |
20050034068 | Jaeger | Feb 2005 | A1 |
20050039138 | Urbina | Feb 2005 | A1 |
20050071743 | Harrington et al. | Mar 2005 | A1 |
20050094207 | Lo et al. | May 2005 | A1 |
20050183030 | Bertram et al. | Aug 2005 | A1 |
20050193330 | Peters | Sep 2005 | A1 |
20050216449 | Stevenson | Sep 2005 | A1 |
20050229110 | Gegner et al. | Oct 2005 | A1 |
20050237321 | Young et al. | Oct 2005 | A1 |
20050246643 | Gusmorino et al. | Nov 2005 | A1 |
20060015821 | Jacques Parker et al. | Jan 2006 | A1 |
20060026536 | Hotelling et al. | Feb 2006 | A1 |
20060047682 | Black et al. | Mar 2006 | A1 |
20060155703 | Dejean et al. | Jul 2006 | A1 |
20060179405 | Chao et al. | Aug 2006 | A1 |
20060214953 | Crew et al. | Sep 2006 | A1 |
20070116359 | Ohk | May 2007 | A1 |
20070117079 | Budlow et al. | May 2007 | A1 |
20070196015 | Meunier et al. | Aug 2007 | A1 |
20080082911 | Sorotokin et al. | Apr 2008 | A1 |