Customized functional patterns for optical barcodes

By using a customized pattern system and using physical logos as functional patterns, the problem of unsightly patterns in traditional optical barcode viewfinders is solved, a beautiful and unique optical barcode design is achieved, and users' needs for brand experience are met.

CN112183536BActive Publication Date: 2024-10-18SNAP INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202011215718.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2016-01-08
Publication Date
2024-10-18
Estimated Expiration
2036-01-08

AI Technical Summary

Technical Problem

The viewfinder patterns of traditional optical barcodes are often unsightly and lack stylistic elements that fail to meet user needs for branding and a unique experience.

Method used

Employ custom or non-standard functional patterns, use physical logos as viewfinder patterns and alignment patterns, and identify and decode data in optical barcodes with custom pattern systems.

Benefits of technology

Provides beautiful branded barcodes, allowing users to create unique and machine-readable optical barcodes that meet the needs of specific software applications and avoid the open standards limitations of traditional patterns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112183536B_ABST
    Figure CN112183536B_ABST
Patent Text Reader

Abstract

A system and method for a customized functional pattern for an optical barcode is provided. In an example embodiment, image data of an image is received from a user device. A candidate shape feature of the image is extracted from the image data. A determination is made that the shape feature satisfies a shape feature rule. In response to the candidate shape feature satisfying the shape feature rule, a custom graphic in the image is identified by comparing the candidate shape feature with a reference shape feature of the custom graphic. In response to identifying the custom graphic, data encoded in a portion of the image is decoded.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese patent application (201680016324.1), the application date of the original application is (January 8, 2016), the priority date is (January 19, 2015), and the name of the invention is “Customized functional pattern for optical barcode”.

[0002] Related Applications

[0003] This international application claims the benefit of priority to U.S. application No. 14 / 826,301, filed on August 14, 2015, entitled “CUSTOM FUNCTIONAL PATTERNS FOR OPTICAL BARCODES,” and U.S. application No. 14 / 612,409, filed on February 3, 2015, entitled “CUSTOM FUNCTIONAL PATTERNS FOR OPTICAL BARCODES,” and U.S. provisional application No. 62 / 105,141, filed on January 19, 2015, entitled “CUSTOM FUNCTIONAL PATTERNS FOR OPTICAL BARCODES,” each of which is incorporated herein by reference in its entirety. Technical Field

[0004] Embodiments of the present disclosure relate generally to mobile computing technology, and more particularly, but not limited to, customized functional patterns for optical barcodes. Background Art

[0005] Quick response (QR) codes and other optical barcodes are a convenient way to share small pieces of information to users of mobile devices, wearable devices, and other smart devices. Typically, optical barcodes use a viewfinder pattern for optical barcode recognition. Traditional viewfinder patterns typically use multiple generic markings that are clearly placed within the optical barcode. Such obvious and generic markings can be unsightly and are generally not used for purposes other than the viewfinder pattern. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The various figures in the drawings depict only example embodiments of the present disclosure and should not be considered to limit the scope thereof.

[0007] Figure 1 is a block diagram illustrating a networking system according to some example embodiments.

[0008] Figure 2 is a block diagram illustrating an example embodiment of a custom pattern system according to some example embodiments.

[0009] Figure 3A and Figure 3B is a diagram illustrating an example of an optical barcode using a customized functional pattern according to some example embodiments.

[0010] Figure 4 is a diagram illustrating an example of recognizing and decoding an optical barcode using a customized functional pattern according to some example embodiments.

[0011] Figure 5 is a flow chart illustrating an example method of recognizing and decoding an optical barcode using a custom functional pattern according to some example embodiments.

[0012] Figure 6 is a flow chart illustrating further example operations for recognizing an optical barcode using a custom functional pattern according to some example embodiments.

[0013] Figure 7 is a diagram illustrating an example of recognizing an optical barcode using a customized functional pattern according to some example embodiments.

[0014] Figure 8 is a flow chart illustrating further example operations for recognizing an optical barcode using a custom functional pattern, according to some example embodiments.

[0015] Fig. 9 is a diagram illustrating an example of recognizing an optical barcode using a customized functional pattern according to some example embodiments.

[0016] Fig.10 is a flow chart illustrating further example operations for decoding an optical barcode using a custom functional pattern, according to some example embodiments.

[0017] Fig.11 is a diagram illustrating an example of decoding an optical barcode using a customized functional pattern according to some example embodiments.

[0018] Fig. 12A , Fig. 12B and Fig. 12C is a diagram illustrating various image transformations for facilitating decoding of optical barcodes using custom functional patterns, according to some example embodiments.

[0019] Fig.13 is a flow chart illustrating further example operations for decoding an optical barcode using a custom functional pattern, according to some example embodiments.

[0020] Fig.14 is a diagram illustrating an example of decoding an optical barcode using a customized functional pattern according to some example embodiments.

[0021] Fig.15 is a user interface diagram depicting an example user interface for recognizing optical bar codes according to some example embodiments.

[0022] Fig.16 is a user interface diagram depicting an example user interface for performing actions associated with optical barcodes according to some example embodiments.

[0023] Fig.17 is a flow chart illustrating further example operations for generating an optical barcode using a custom functional pattern, according to some example embodiments.

[0024] Fig.18 is a user interface diagram depicting an example user interface for generating an optical barcode using a custom functional pattern according to some example embodiments.

[0025] Fig.19 is a user interface diagram depicting an example mobile device and mobile operating system interface in accordance with some exemplary embodiments.

[0026] Fig. 20 is a block diagram illustrating an example of a software architecture that may be installed on a machine according to some example embodiments.

[0027] Fig.21 is a block diagram presenting a pictorial representation of a machine in the form of a computer system within which a set of instructions may be executed to cause the machine to perform any of the methodologies discussed herein, according to an example embodiment. DETAILED DESCRIPTION

[0028] The following description includes systems, methods, techniques, instruction sequences, and computer program products that embody the illustrative embodiments of the present disclosure. In the following description, for the purpose of explanation, many specific details are set forth to provide an understanding of the various embodiments of the subject matter of the present invention. However, it will be apparent to those skilled in the art that embodiments of the subject matter of the present invention can be practiced without these specific details. Typically, well-known instruction instances, protocols, structures, and techniques are not necessarily shown in detail.

[0029] QR codes and other optical barcodes (e.g., Universal Product Code (UPC) barcodes, Aztec codes, Data Matrix, Dataglyph, MaxiCode, PDF417, Supercode) are a convenient way to share small pieces of information with mobile devices, wearable devices, and other smart devices. For example, a QR code is a two-dimensional optical barcode that encodes information that is readable by a device (e.g., a smart phone) equipped with a camera sensor. Typically, a QR code includes one or more functional patterns, such as a viewfinder pattern for identification and recognition of the QR code or an alignment pattern for assisting decoding. Traditional viewfinder patterns include multiple marks that are common in the design, such as square marks placed in all corners except the lower right corner (as in the case of a QR code). These viewfinder patterns do not have aesthetic elements such as curves, non-uniformity, and other stylistic elements, and generally conform to specific standards to promote the open use of optical barcodes.

[0030] In various example embodiments, optical barcodes using custom or non-standard functional patterns provide users with aesthetically pleasing branded barcodes that allow for an exclusive experience associated with the optical barcode. For example, an entity logo (e.g., a company, organization, or individual's logo) can be used as a viewfinder pattern, and in some cases as an alignment pattern, to create a machine-readable brand and unique optical barcode using software provided by the entity. In a specific example, a "snapcode" is a barcode that is created using a custom or non-standard functional pattern. The logo is an optical barcode as a functional pattern.

[0031] In an example embodiment, the custom pattern system receives image data representing an image from a user device. For example, the custom pattern system receives image data from an optical sensor (e.g., a camera sensor) of a user's smart phone. In various embodiments, in response to image acquisition initiated by a user, periodic monitoring of image data detected by an optical sensor of the user device, access to stored image data, or a combination thereof, image data is received from the user device. A portion of the image data may include data representing an optical barcode that utilizes a custom graphic for a specific functional pattern (e.g., a viewfinder pattern). In some cases, the image data includes extraneous or irrelevant data (e.g., an image of an optical barcode includes a background that is irrelevant to decoding the optical barcode) and data related to the optical barcode. In a specific example, the optical sensor of the user device acquires an image of a promotional poster including a specific optical barcode. The image of the promotional poster may include a specific optical barcode and irrelevant portions of the promotional poster or background surrounding the specific optical barcode.

[0032] After the custom pattern system receives the image data, the custom pattern system searches for the custom graphics in the image data of the image to determine whether the image includes an optical barcode. That is, the custom graphics are used as a viewfinder pattern for the recognition, identification or detection of the optical barcode within the image. In an example embodiment, the custom pattern system searches for the custom graphics by extracting a candidate shape feature or multiple candidate shape features from the image data. For example, the custom pattern system performs an edge detection technique or another image processing technique to identify candidate shape features such as the contour line of the image. The custom pattern system then determines whether the candidate shape features meet the shape feature rules or standards. For example, if a particular candidate shape feature is a contour line, the custom pattern system can determine whether the contour line is a closed line that surrounds a portion of the image. Consistent with some embodiments, the shape feature rules filter out irrelevant or unrelated candidate shape features or candidate shape features with a low probability of becoming custom graphics.

[0033] In response to the candidate shape feature satisfying the shape feature rule, the customized pattern system identifies the customized graphic by comparing the candidate shape feature with a reference shape feature of the customized graphic. For example, the customized pattern system can compare the area or size of the candidate shape feature with a reference area or size of the reference shape feature. In this example, the customized pattern system identifies the customized graphic based on a match or approximate match (e.g., a percentage match above a threshold) between the candidate shape feature and the reference shape feature. In this way, the customized pattern system uses the customized graphic as a viewfinder pattern to identify the presence of an optical barcode within a portion of the image.

[0034] In another example embodiment, the custom graphic is used as an alignment pattern to facilitate the custom pattern system to decode the data encoded in the optical barcode. In an example embodiment, the custom pattern system extracts the spatial attributes of the custom graphic in the image from the image data. For example, the custom pattern system extracts the position, scale, or orientation of the custom graphic from the image data. The custom pattern system uses the spatial attributes of the custom graphic in the image to decode the data encoded in the image from the image data. For example, the custom pattern system can use the spatial attributes (e.g., de-skew, rotation, scaling, or another type of image transformation) to perform an image transformation to improve the detectability / readability of the data encoded in a portion of the image. In this way, the custom pattern system uses the custom graphic as an alignment pattern to help decode the barcode.

[0035] Therefore, the custom pattern system uses a custom graphic as the functional pattern of the optical barcode instead of a conventional functional pattern. Using a custom graphic as the functional pattern allows for aesthetically pleasing designs and can provide exclusivity for specific software applications because the functional pattern does not necessarily conform to an open standard and can therefore be read exclusively by a specific software application.

[0036] Figure 1 1 is a network diagram depicting a network system 100 having a client-server architecture configured to exchange data over a network according to one embodiment. For example, the network system 100 may be a messaging system in which clients communicate and exchange data within the network system 100. The data may relate to various functions (e.g., sending and receiving text and media communications, determining geographic location, etc.) and aspects associated with the network system 100 and its users. Although shown herein as a client-server architecture, other embodiments may include other network architectures such as a peer-to-peer or distributed network environment.

[0037] like Figure 1 As shown, the network system 100 includes a social messaging system 130. The social messaging system 130 is generally based on a three-layer architecture consisting of an interface layer 124, an application logic layer 126, and a data layer 128. As will be understood by those skilled in the art of computers and the Internet, Figure 1 Each module or engine shown represents a set of executable software instructions and corresponding hardware (e.g., memory and processor) for executing the instructions. In order to avoid obscuring the subject matter of the present invention with unnecessary details, Figure 1 Various functional modules and engines that are not closely related to conveying an understanding of the subject matter of the present invention are omitted. Of course, additional functional modules and engines can be used with, for example, Figure 1 The social messaging system shown can be used together to facilitate additional functions not specifically described herein. Figure 1 The various functional modules and engines depicted in the can reside on a single server computer, or can be distributed across several server computers in various arrangements. Figure 1 1 depicts the social messaging system 130 as a three-tier architecture, but the subject matter of the present invention is by no means limited to such an architecture.

[0038] like Figure 1 As shown, the interface layer 124 is composed of an interface module (e.g., a Web server) 140 that receives requests from various client computing devices and servers, such as a client device 110 executing a client application 112 and a third-party server 120 executing a third-party application 122. In response to the received request, the interface module 140 transmits an appropriate response to the requesting device via the network 104. For example, the interface module 140 can receive a request such as a Hypertext Transfer Protocol (HTTP) request or other Web-based application programming interface (API) request.

[0039] Client device 110 may execute a conventional web browser application or an application that has been developed for a specific platform (also referred to as an "application software (app)") to include any of a wide variety of mobile computing devices and mobile-specific operating systems (e.g., iOS 110, iOS 110, and iOS 110). TM ANDROID TM , PHONE). In the example, the client device 110 is executing the client application 112. The client application 112 can provide the functionality of presenting information to the user 106, and communicate via the network 104 to exchange information with the social messaging system 130. Each of the client devices 110 may include a computing device that includes at least a display and the ability to communicate with the network 104 to access the social messaging system 130. The client devices 110 include, but are not limited to, remote devices, workstations, computers, general-purpose computers, Internet appliances, handheld devices, wireless devices, portable devices, wearable computers, cellular or mobile phones, personal digital assistants (PDAs), smart phones, tablet computers, ultrabooks, netbooks, notebook computers, desktop computers, multiprocessor systems, microprocessor-based or programmable consumer electronics, game consoles, set-top boxes, network PCs, minicomputers, etc. The user 106 may include a person, a machine, or other component that interacts with the client device 110. In some embodiments, the user 106 interacts with the social messaging system 130 via the client device 110.

[0040] like Figure 1 As shown, data layer 128 has one or more database servers 132 that facilitate access to information repositories or databases 134. Databases 134 are storage devices that store data such as member profile data, social graph data (e.g., relationships between members of social messaging system 130), and other user data.

[0041] Individuals can register with the social messaging system 130 to become members of the social messaging system 130. Once registered, members can form social network relationships (e.g., friends, followers, or contacts) on the social messaging system 130 and interact with a wide range of applications provided by the social messaging system 130.

[0042] The application logic layer 126 includes various application logic modules 150 that, in conjunction with the interface modules 140, generate various user interfaces with data retrieved from various data sources or data services in the data layer 128. The various application logic modules 150 can be used to implement functions associated with various applications, services, and features of the social messaging system 130. For example, a social messaging application can be implemented in one or more application logic modules 150. The social messaging application provides a messaging mechanism for users of the client device 110 to send and receive messages including text and media content such as pictures and videos. The client device 110 can access and view messages from the social messaging application within a (e.g., limited or unlimited) specified time period. In an example, a message recipient can access a specific message for a predetermined duration (e.g., specified by the message sender) starting from the first access to the specific message. After the predefined duration has passed, the message is deleted and the message recipient can no longer access the message. Of course, other applications and services can be embodied in their own application logic modules 150.

[0043] like Figure 1 As shown, the social messaging system 130 or the client application 112 includes a customized pattern system 160 that provides functionality for recognizing and decoding optical barcodes utilizing customized functional patterns. In various embodiments, the customized pattern system 160 may be implemented as an independent system and need not be included in the social messaging system 130. In some embodiments, the client device 110 includes a portion of the customized pattern system 160 (e.g., a portion of the customized pattern system 160 may be included independently or included in the client application 112). In embodiments where the client device 110 includes a portion of the customized pattern system 160, the client device 110 may work alone or together with a portion of the customized pattern system 160 that is included in a specific application server or in the social messaging system 130.

[0044] Figure 2 2 is a block diagram 200 of a custom pattern system 160. The custom pattern system 160 is shown to include a communication module 210, a rendering module 220, a viewfinder module 230, an alignment module 240, a decoder module 250, an action module 260, and an encoder module 270. All or some of the modules 210-270 communicate with each other, for example, via a network coupling, a shared memory, etc. Each module in the modules 210-270 can be implemented as a single module, combined into other modules, or further subdivided into multiple modules. Other modules not related to the exemplary embodiment may also be included, but they are not shown.

[0045] The communication module 210 provides various communication functions. For example, the communication module 210 receives, accesses, or otherwise obtains image data of an image from a user device. In a specific example, the communication module 210 receives substantially real-time image data from a camera sensor of a smart phone (e.g., a single frame of image data or a continuous stream of frames collected by a camera sensor of a smart phone). The communication module 210 exchanges network communications with the database server 132, the client device 110, and the third-party server 120. The information retrieved by the communication module 210 includes data associated with the user (e.g., member profile data from an online account or social networking service data) or other data that facilitates the functions described herein.

[0046] The presentation module 220 provides various presentation and user interface functions that can be operated to interactively present and receive information from the user to the user. For example, the presentation module 220 can be used to present a user interface generated in response to decoding an optical barcode. In other cases, the presentation module 220 generates a user interface including an optical barcode. In various embodiments, the presentation module 220 presents or causes the presentation of information (e.g., visually displaying information on a screen, sound output, haptic feedback). The process of interactively presenting information is intended to include information exchange between a specific device and a user. The user can provide input that interacts with the user interface in many possible ways, such as alphanumeric input, point-based input (e.g., cursor), tactile input or other input (e.g., touch screen, tactile sensor, light sensor, infrared sensor, biometric sensor, microphone, gyroscope, accelerometer or other sensor). The presentation module 220 provides many other user interfaces that facilitate the functions described herein. The term "presentation" used herein is intended to include transmitting information or instructions to a specific device, which can be operated to perform presentation based on the transmitted information or instructions.

[0047] The viewfinder module 230 provides image processing functionality to recognize, identify, or detect custom graphics used as viewfinder patterns in optical barcodes. For example, the viewfinder module 230 extracts and analyzes candidate shape features or candidate contour characteristics based on image data of an image received from a user device (e.g., client device 110). The viewfinder module 230 determines the satisfaction of various rules or criteria associated with the extracted candidate shape features. The viewfinder module 230 compares the extracted candidate shape features with the custom graphics or reference shape features of another reference image to identify the custom graphics included in the image. The viewfinder module 230 can utilize a variety of schemes and techniques to extract candidate shape features from the image data of the image, and then identify the custom graphics based on the analysis of the candidate shape features. Examples of these techniques are described later with respect to Figure 5-14 To explain.

[0048] The alignment module 240 provides image processing functions to determine the alignment of the optical barcode using a custom graphic. The custom pattern system 160 can use alignment to help decode the data encoded in the optical barcode. In this way, the custom graphic is used as an alignment pattern for the optical barcode. For example, the alignment module 240 extracts the spatial properties of the custom graphic in the image from the image data. In various embodiments, the spatial properties include at least one of the position, orientation, scaling, or another spatial aspect of the optical barcode. The alignment module 240 determines the alignment of the optical barcode based on the spatial properties (e.g., the specific orientation of the optical barcode). In an example, the alignment module 240 can determine the alignment including the position and orientation based on the spatial properties, and generate a transformed image based on the alignment. Then, the custom pattern system 160 can use the transformed image to decode the data encoded in a portion of the transformed image.

[0049] The decoder module 250 provides the functionality of decoding the data encoded in the image using the spatial properties of the custom graphics in the image or the determined alignment. For example, the decoder module 250 can decode the data encoded in the image from the image transformed according to the spatial properties of the custom graphics extracted from the image data. In an embodiment, the decoder module 250 detects a mark representing the data encoded in a portion of the image from the image data (e.g., a high contrast point, square or other mark in the image). In a specific example, the decoder module 250 uses the Reed-Solomon error correction scheme to decode the data encoded in the image. Even when a certain percentage of the data cannot be decoded from the optical barcode (e.g., damaged bits or incorrectly decoded bits), the Reed-Solomon error correction scheme allows successful or effective decoding. In some embodiments, the user or administrator of the custom pattern system 160 configures a tolerance value for the amount of acceptable damaged or incorrectly decoded data when decoding the optical barcode. In some embodiments, the decoder module 250 also provides image processing functions to improve the decoding of the optical barcode. For example, the decoder module 250 and the alignment module 240 may perform image transformation of the image (eg, perform image sharpening, denoising, other digital filtering, or other image processing techniques to improve decoding accuracy).

[0050] Action module 260 provides functionality for performing various actions based on decoding data encoded in an image. For example, data encoded in a portion of an image may indicate a particular action or include information to be used in conjunction with a particular action. In a specific example, the data encoded in a portion of an image may include a username or other user identification of a member of a social networking service, and based on decoding the username, action module 260 may perform an action on the social networking service corresponding to the username (e.g., sending a message to the member associated with the username). In some embodiments, action module 260 performs actions specific to a particular application for scanning an image (e.g., functionality available to users of the application but otherwise unavailable). In some cases, action module 260 performs actions without communicating with an external server (e.g., actions performed locally on a user device that scans a snapcode).

[0051] The encoder module 270 provides the functionality of generating and encoding data into an optical barcode that utilizes a custom graphic as one or more functional patterns (e.g., to generate a snap code). As discussed above in conjunction with the decoder module 250, in a specific example, the encoder module 270 can utilize a technique such as Reed-Solomon error correction to encode the data. In an example embodiment, the encoder module 270 presents a machine-readable mark arrangement representing the data to be encoded. The encoder module 270 can then generate a machine-readable optical barcode using the presented mark arrangement and the custom graphic to be used as the functional pattern.

[0052] Figure 3A and Figure 3B 300 is a diagram showing an example of an optical barcode that utilizes a custom graphic of a viewfinder pattern or alignment pattern (e.g., a snap code). Diagram 300 shows an example optical barcode that includes a custom graphic 310 (e.g., a company logo) and indicia 320 that represents data encoded in the optical barcode. In this example, the custom graphic 310 is such as The company logo of the "ghost" logo. It should be understood that The "ghost" logo is merely an example custom graphic, and other graphics, icons, or symbols may be used as viewfinder patterns or alignment patterns using the techniques described herein. Other example custom graphics used as functional patterns may include designs having multiple paths, multiple polygons, multiple aesthetic elements, or other design features.

[0053] As shown in the diagram 300, the mark 320 is a point arranged in a pattern with a specific interval or positioning that is machine-readable. Although the diagram 300 shows the mark 320 as a point, other shapes and marks (e.g., squares of various geometric shapes or asymmetric shapes) can be used. The mark 320 can be arranged in a consistent pattern or an inconsistent pattern. In some cases, the mark can have different sizes or consistent sizes. In addition, the mark 320 can be a predetermined arrangement or an arrangement that can be dynamically determined when decoding data from the mark. In some embodiments, the custom graphics 310 and the mark 320 can be surrounded by a border shape such as an outer frame 325. Although the outer frame 325 of the diagram 300 is shown as a square with rounded corners, the outer frame 325 can be in the form of various other shapes with various geometric shapes. Figure 3B 330 in FIG. 3 shows another example optical barcode that utilizes a custom graphic for a viewfinder pattern or alignment pattern. Illustration 330 shows an optical barcode that does not include a mark within the custom graphic. In these and other embodiments, space within the custom graphic can be reserved for other uses. For example, a picture, graphic, animation, annotation, or image selected by the user can be inserted.

[0054] Now go to Figure 4 , a diagram 400 illustrating an example of recognizing and decoding an optical barcode using a custom graphic of a finder pattern or alignment pattern is shown. Figure 4 4 is an overview of a specific example embodiment of using custom graphics to identify and decode optical bar codes. Additional details and alternative embodiments are discussed in conjunction with the following figures. In diagram 400, scene 402 shows a poster 404 and a user 410 including an optical bar code 406. It should be understood that the optical bar code 406 can be displayed in various ways, such as on a user device display, a computer display, woven or otherwise fixed to clothing or another product, or included in various printed items. Callout 412 depicts an enlarged view of a portion of scene 402. Callout 412 includes a user device 414 of user 410, which includes an optical sensor (e.g., a camera sensor of a smart phone) that is operable to detect an optical signal 408 of the optical bar code 406.

[0055] In an example embodiment, a user device 414 captures an image of a poster 404 including an optical barcode 406. The custom pattern system 160 receives image data representing the image from the user device 414. In this example embodiment, the custom pattern system 160 is included in the user device 414 (e.g., an application executed on a smartphone of the user 410), but in other example embodiments, the custom pattern system 160 may reside on a server (e.g., a server of the social messaging system 130) that is communicatively coupled to the user device 414. Annotation 416 depicts example image processing performed by the viewfinder module 230 to identify a custom graphic in the image and use the custom graphic as an alignment pattern for decoding data included in the optical barcode 406. In annotation 416, the viewfinder module 230 extracts candidate shape features from the image data of the image. Subsequently, the viewfinder module 230 determines whether the candidate features meet certain rules and criteria to filter out irrelevant shape features or shape features with a low probability of being a custom graphic. The viewfinder module 230 can then compare candidate shape features that meet the shape feature criteria or rules with reference shape features of the custom graphic. In an example, the viewfinder module 230 identifies the custom graphic based on a match (e.g., a match score exceeding a threshold) between the candidate shape features and the reference shape features.

[0056] After the viewfinder module 230 identifies the custom graphics, the custom pattern system 160 can use the custom graphics as an alignment pattern for decoding. For example, the alignment module 240 extracts the spatial properties of the custom graphics in the image and compares the extracted spatial properties with the reference spatial properties to determine the alignment of the custom graphics. The alignment module 240 or the decoder module 250 can then generate a transformed image of the image according to the alignment (e.g., rotation or de-skew), as shown in annotation 418. After generating the transformed image, the decoder module 250 decodes the data encoded in a portion of the transformed image, as shown in annotation 420. In annotation 420, the points of the optical barcode 406 are transformed into data, which is shown as one for the points and zero for non-points, although this is merely an illustrative example and other schemes can be utilized. In this way, the custom pattern system 160 uses the custom graphics included in the optical barcode 406 as one or more functional patterns, such as a viewfinder pattern or an alignment pattern.

[0057] Figure 5 is an illustration of an optical barcode for utilizing a customized functional pattern (e.g., Figure 4 4. The operations of method 500 may be performed by components of custom pattern system 160 and are described below for purposes of illustration.

[0058] At operation 510, the communication module 210 receives image data of an image from a user device. For example, the communication module 210 receives image data from an optical sensor (e.g., a camera sensor) of a user's smart phone. In various embodiments, the image data from the user device is received in response to image acquisition initiated by the user, periodic monitoring of image data is detected by the optical sensor of the user device, or a combination thereof. In some embodiments, the image data represents an image or video acquired by the user device in substantially real time (e.g., a live image fed from a camera sensor of a smart phone). In other embodiments, the image data represents an image acquired by a user device or another device from a past time and stored on the user device (e.g., a static image or video stored on the user device or downloaded from a social networking service). In an embodiment where the image data includes video image data, the custom pattern system 160 may analyze individual frames of the video or a combination of multiple frames of the video to detect and decode an optical barcode. A portion of the image data may include data representing an optical barcode that utilizes a custom graphic, a custom symbol, or a specific graphic for a specific functional pattern (e.g., a viewfinder pattern or an alignment pattern).

[0059] In some cases, the image data includes extraneous or irrelevant data as well as data related to the optical barcode (e.g., the image of the optical barcode includes background that is irrelevant to decoding the optical barcode). In a specific example, an optical sensor of a user device captures an image of a movie poster that includes a particular optical barcode. The image of the movie poster may include the particular optical barcode and irrelevant portions or background of the movie poster surrounding the particular optical barcode.

[0060] At operation 520, the viewfinder module 230 extracts candidate shape features or candidate qualities of the image from the image data. The candidate shape features may indicate an identification of the custom graphic (e.g., including certain characteristics or qualities indicating the custom graphic). For example, the viewfinder module 230 performs an edge detection technique or another image processing technique to identify shape features, such as contours or local concentrations of color or shading of the image. In some embodiments, the viewfinder module 230 extracts a plurality of candidate shape features from the image data. In some embodiments, the candidate shape features include various shape feature data, such as the position of the candidate shape feature relative to the boundary of the image, the brightness of the candidate shape feature relative to the image, the average color of the candidate shape feature, etc.

[0061] In another example embodiment, the viewfinder module 230 generates a low-resolution copy of the image. The viewfinder module 230 may perform various image processing, such as blurring (e.g., a Gaussian blur function or another blur function) and thresholding, on the low-resolution copy of the image to generate a modified low-resolution image. The thresholding image processing may include adjusting lighter colors (e.g., determined by a threshold value or a threshold range) of the low-resolution copy of the image to white and adjusting darker colors (e.g., determined by a threshold value or a threshold range) of the low-resolution copy of the image to black. The viewfinder module 230 may then extract candidate shape features from the modified low-resolution image to improve detection of custom graphics in the image and improve computational efficiency in identifying custom graphics in the image.

[0062] In another example embodiment, the viewfinder module 230 generates a high-resolution copy of a portion of the image. For example, the viewfinder module 230 can generate a high-resolution copy of a specific portion of the image corresponding to the extracted candidate shape features. As described below, the viewfinder module 230, the alignment module 240, or the decoder module 250 can use the high-resolution copy for subsequent analysis to improve detection, alignment, and decoding results.

[0063] At operation 530, the viewfinder module 230 determines that the candidate shape feature meets one or more shape feature standards or rules. For example, if the specific shape feature is a contour line, the viewfinder module 230 can determine whether the contour line is a closed line that surrounds a portion of the image. Consistent with some embodiments, the shape feature rule filters out irrelevant or unrelated features. Specific shape feature rules can be targeted at or used for various purposes. For example, a specific shape feature rule can be used to filter out candidate shape features with a low probability of having a custom graphic. In this example, the specific shape feature rule can be specific to the custom graphic. In other examples, some shape feature rules can be used to filter out candidate shape features that are unlikely to be associated with an optical barcode. In these examples, the shape feature rule is not necessarily specific to the custom graphic.

[0064] At operation 540, in response to the candidate shape feature satisfying the shape feature rule, the viewfinder module 230 identifies the custom graphic or custom symbol in the image by comparing the candidate shape feature with the reference shape feature of the custom graphic or custom symbol. For example, the viewfinder module 230 can compare the area or size of the candidate shape feature with the reference area or size of the reference shape feature. In this example, the viewfinder module 230 identifies the custom graphic based on a match or approximate match (e.g., a percentage match above a threshold) between the candidate shape feature and the reference shape feature. In this way, the viewfinder module 230 uses the custom graphic or at least a portion of the custom graphic as a viewfinder pattern to identify the presence of an optical barcode within a portion of the image.

[0065] In some embodiments, the viewfinder module 230 extracts multiple candidate shape features from the image data. In these embodiments, the viewfinder module 230 scores each candidate shape feature and ranks the multiple candidate shape features according to the corresponding scores. For example, the viewfinder module 230 determines the shape feature score of the corresponding candidate shape feature based on the count or weighted count of the shape feature rules satisfied by the corresponding candidate shape feature. The viewfinder module 230 can iterate through the candidate shape features ranked starting from the candidate shape feature with the highest score and perform further analysis (e.g., comparing the candidate shape feature with the reference shape feature) to determine whether the candidate shape feature is a custom graphic.

[0066] In some embodiments, the reference shape feature is predetermined, and in other embodiments, the reference shape feature is dynamically determined. For example, the viewfinder module 230 can dynamically determine the reference shape feature by analyzing a reference image of the custom graphic. For example, the viewfinder module 230 can perform an analysis technique similar to the analysis technique used to analyze image data on the reference image, such as calculating a reference area value for a specific feature or trait of the reference image. In these embodiments, the viewfinder module 230 dynamically determines that the reference shape feature allows the dynamic use of a specific custom graphic as a functional pattern in an optical barcode. For example, when executing method 500, data representing a reference image or data representing a reference feature can be provided to the custom pattern system 160 (e.g., received at the communication module 210). In this way, the custom functional pattern does not necessarily have to be fixed before executing method 500.

[0067] In another example embodiment, the viewfinder module 230 searches for multiple custom graphics in the image data of the image (e.g., where multiple versions or different custom graphics are utilized as the functional pattern). In a specific example, the custom graphics may include a first company logo, and the company may change the logo to a second company logo. The custom pattern system 160 may be operated to use the first company logo as a viewfinder pattern and the second company logo as a viewfinder pattern, and when executing the method 500, the custom pattern system 160 may search for each logo.

[0068] In further example embodiments, the viewfinder module 230 identifies a custom graphic in an image in conjunction with other candidate shape features extracted from the image data. For example, the viewfinder module 230 may search for both a custom graphic (e.g., a logo) and an outer frame (e.g., outer frame 325) surrounding the custom graphic. In these embodiments, the viewfinder module 230 identifies a combination of a custom graphic and one or more additional candidate shape features extracted from the image data.

[0069] At operation 550, in response to identifying the custom graphic, the alignment module 240 extracts spatial attributes, geometric attributes, or spatial properties of the custom graphic or custom symbol in the image from the image data. For example, the alignment module 240 extracts the position, scale, or orientation of the custom graphic from the image data. In various example embodiments, the spatial attribute indicates the orientation of the custom graphic in the image. The alignment module 240 or the decoder module 250 can use the spatial attribute to help decode the optical barcode.

[0070] In another embodiment, the alignment module 240 extracts a spatial attribute, a geometric attribute, or a spatial property of another candidate shape feature extracted from the image data of the image. For example, the alignment module 240 extracts a frame (e.g., Figure 3A It will be noted that throughout the following discussion, the alignment module 240 and the decoder module 250 can use the spatial properties of the outer frame in the same or similar manner as the spatial properties of the custom graphic to determine the alignment of the optical bar code used to assist in decoding. For example, the alignment module 240 or the decoder module 250 can use the spatial properties of the outer frame to generate a transformed image of the image used to decode the data encoded in the image.

[0071] At operation 560, the decoder module 250 decodes the data encoded in a portion of the image from the image data using the spatial properties of the custom graphic in the image. For example, the decoder module 250 may perform an image transformation using the spatial properties (e.g., de-skewing, rotation, scaling, or another type of image transformation) to improve the detectability or readability of the data encoded in a portion of the image. In an example embodiment, the decoder module 250 decodes the data encoded in a portion of the image by detecting a mark (e.g., a dot, a square, or another mark) indicating the data included in the image. In this way, the decoder module 250 uses the custom graphic or at least a portion of the custom graphic as an alignment pattern to help decode the optical barcode. In various embodiments, the decoder module 250 utilizes a Reed-Solomon error correction scheme to decode the data encoded in the image. The Reed-Solomon error correction scheme allows for successful decoding of the data encoded in the image when a certain percentage of the data encoded in the image is corrupted, damaged, or incorrectly decoded. In further embodiments, the decoder module 250 uses a small checksum to verify that the value decoded from the image data is a value that includes actual data and not just random data (eg, random bits).

[0072] In further example embodiments, the decoder module 250 rejects certain results of the decoded data (e.g., results of data decoded from image data that is known to be designated as invalid by an administrator of the custom pattern system 160). For example, the decoder module 250 may reject decoded data that includes all zeros, all ones, or another designated result, even if the decoded data passes other data integrity tests (e.g., error correction and checksums). This may occur, for example, when the custom pattern system 160 scans a custom graphic that does not have any associated indicia indicative of data (e.g., where the custom graphic is a logo, simply scanning the logo may produce all zeros in the decoded data and may be rejected by the decoder module 250). In a specific example, if the decoded data passes other data integrity tests (e.g., error correction and checksums), the decoder module 250 may reject the decoded data. Fig.19 As shown, scanning the icon associated with the social messaging application 1908 may produce all zero data, and the decoder module 250 will reject the scan.

[0073] Figure 6 is a flow chart illustrating additional example operations for identifying an optical barcode (e.g., optical barcode 406) using a custom functional pattern. At operation 530, the viewfinder module 230 determines that the candidate shape feature satisfies the shape feature rule. In some embodiments, operation 530 includes Figure 6 operation.

[0074] At operation 610, the viewfinder module 230 determines that the candidate shape feature includes a closed line from the image data. That is, the shape feature rule includes a path rule, and the viewfinder module 230 determines that the candidate shape feature satisfies the path rule. The viewfinder module 230 can use various techniques to determine that the candidate shape feature satisfies the path rule.

[0075] At operation 630, the viewfinder module 230 determines whether the candidate shape feature is a closed line by determining that the candidate shape feature encloses a portion of the image by having a path starting from a specific point and returning to the same specific point. In an example embodiment, if the candidate shape feature does not satisfy the path rule (in Figure 6 ), no further analysis of the candidate shape feature is performed, and the viewfinder module 230 analyzes another candidate shape feature or performs no further operations. Alternatively, at operation 640, if the viewfinder module 230 determines that the candidate shape feature satisfies the path rule (in Figure 6 If the result is indicated by “yes” in the flowchart, the subsequent operations of method 500 are executed.

[0076] To illustrate Figure 6 The conception, Figure 7700 is an illustration showing an example of using a custom functional pattern to identify an optical barcode. In illustration 700, image 710 is an example image received or accessed from a user device. Image 720 is an example image depicting an example candidate shape feature 730. For example, viewfinder module 230 performs edge detection image processing on image 710 to derive image 720. Viewfinder module 230 identifies candidate shape feature 730 from image 720.

[0077] Callout 740 illustrates a particular candidate shape feature of candidate shape features 730. Callout 740 illustrates a contour line 750 (shown as a dashed line) of the particular candidate shape feature, a path 760, and a point 770 of the particular candidate shape feature. In callout 740, if a path 760 starting at point 770 can follow the contour line 750 and return to point 770, then the viewfinder module 230 determines that the path rule is satisfied. In illustration 700, the particular candidate shape feature shown in callout 740 does satisfy the path rule because the path 760 can follow the contour line 750 and return to point 770.

[0078] Figure 8 is a flow chart illustrating additional example operations for recognizing an optical barcode using a custom functional pattern. At operation 530, the viewfinder module 230 determines that a candidate shape feature satisfies a shape feature rule. In some embodiments, operation 530 includes Figure 8 operation.

[0079] At operation 810, the viewfinder module 230 calculates an area value or an approximation of the size of the candidate shape feature. For example, the viewfinder module 230 uses a proxy shape such as a polygon (e.g., a square, rectangle, or quadrilateral) or a non-polygonal shape (e.g., an ellipse) to roughly estimate the shape of the candidate shape feature. The viewfinder module 230 fits or approximately fits the proxy shape to the outer edge or perimeter of the candidate shape feature so that the proxy shape represents the area of ​​the candidate shape feature. Subsequently, the viewfinder module 230 calculates the area value of the proxy shape to determine the area value or size approximation of the candidate shape feature. In some embodiments, the viewfinder module 230 utilizes this technique (e.g., polygonal area approximation) to avoid computationally expensive area calculations of candidate shape features when the candidate shape feature may be complex in shape (e.g., area calculations for non-uniform or irregular shape features are generally more computationally expensive). In some embodiments, other techniques such as pixel-based counting may be utilized to determine the area value.

[0080] At operation 820, the viewfinder module 230 determines an area fraction or size fraction of the candidate shape feature. The viewfinder module 230 determines the area fraction by comparing the area value of the candidate shape feature with a reference area value. In some embodiments, the reference area value includes an area value of a corresponding proxy shape of a reference image that fits the custom graphic (e.g., an area value of a proxy shape that fits the ghost logo from a front view perspective). In other embodiments, the reference area value includes an area value of the custom graphic (e.g., an area value of the ghost logo). The viewfinder module 230 calculates the area fraction, for example, by determining a percentage of match between the candidate shape feature area value and the reference area value. The viewfinder module 230 can calculate the area fraction using a variety of other schemes and techniques.

[0081] At operation 830, the viewfinder module 230 determines whether the area fraction exceeds a threshold. The threshold may be predefined or dynamically determined (eg, statistically determined based on a rolling historical average of scans).

[0082] At operation 840, based on the area fraction exceeding the threshold (given by Figure 8 In another example embodiment, the viewfinder module 230 compares the area score with the area range to satisfy the area rule (e.g., greater than a specific value and less than a specific value). According to an example embodiment, if the area score does not exceed the threshold (in Figure 8 In some example embodiments, viewfinder module 230 uses the determination of whether a candidate shape feature satisfies shape feature rules as a filter (e.g., removing or skipping candidate shape features that are unlikely to be custom graphics) to identify candidate shape features to be further analyzed in the process of identifying custom graphics in an image.

[0083] To further explain Figure 8 The conception, Fig. 9 900 is an illustration showing an example of using a custom functional pattern to identify an optical barcode. In illustration 900, image 902 is an example image received from a user device. Annotation 904 shows the spatial orientation of image 902. In this example, image 902 is depicted and viewed from a front right angle. Image 902 includes optical barcode 906. In this example, optical barcode 906 uses a custom graphic as a functional pattern.

[0084] Label 908 shows an enlarged portion of image 902 that includes a candidate shape feature analyzed by viewfinder module 230 to identify a custom graphic. In label 908, a polygon 910 (e.g., a quadrilateral) is shown as being fitted to the perimeter of the candidate shape feature. Area value 912 is the area of ​​polygon 910.

[0085] Label 914 shows a reference image of the custom graphic. Label 916 shows the spatial orientation of the reference image. In this example, the reference image is shown from a front view perspective. Polygon 918 is shown as fitting around the perimeter of the reference image. Reference area value 920 is the area of ​​polygon 918. Although Fig. 9 Polygons 910 and 918 are shown as quadrilaterals, but viewfinder module 230 may utilize other shapes, such as squares or shapes that follow or trace the outline of the candidate shape feature (eg, n-sided polygons or smoothly fitting shapes that follow the contour points of the candidate shape feature).

[0086] The viewfinder module 230 compares the area value 912 with the reference area value 920 to determine that the candidate shape feature satisfies the area rule. Another candidate shape feature of the image 902, such as one of the musical notes in the image 902, will not have an area value similar to the reference area value and therefore cannot satisfy the area rule. In this way, the viewfinder module 230 can quickly remove or skip certain candidate shape features that are unlikely to be recognized as custom graphics.

[0087] Fig.10 is a flow chart illustrating additional example operations for decoding an optical barcode using a custom functional pattern. At operation 540, the viewfinder module 230 identifies a custom graphic in the image by comparing the candidate shape features with reference shape features of the custom graphic. After operation 540, in some exemplary embodiments, Fig.10 operation.

[0088] At operation 1010, where the distinctive features indicate an alignment of the custom graphic, the alignment module 240 extracts the distinctive features for the custom graphic from the image data (e.g., a specific asymmetry of the custom graphic that can be used to determine the orientation of the custom graphic). For example, the distinctive features may include a distinctive point, a distinctive curve, a specific asymmetry, a specific non-uniformity, or another quality of the custom graphic.

[0089] At operation 1020, the alignment module 240 determines the orientation of the custom graphic in the image by comparing the distinctive features to the reference distinctive features of the custom graphic. For example, the alignment module 240 maps the extracted distinctive features of the custom graphic to the reference distinctive features to determine the spatial difference between the distinctive features. In this way, the alignment module 240 can determine the alignment of the custom graphic compared to the reference image of the custom graphic based on the determined spatial difference.

[0090] At operation 1030, the alignment module 240 generates a transformed image by transforming the image according to the orientation of the custom graphic. For example, the alignment module 240 may rotate, de-skew, scale, or otherwise spatially transform the image to allow for more accurate decoding of data in the image.

[0091] At operation 1040, the decoder module 250 uses the orientation and position of the custom graphic in the image to decode the data encoded in the image. For example, the decoder module 250 decodes the date encoded in the image from the transformed image. In certain cases, the image is transformed to a front view to increase the visibility and uniformity of the markings in the image representing the data encoded in the image.

[0092] To help understand Fig.10 Public content of Fig.11 FIG. 1100 is a diagram illustrating an example of using a custom functional pattern to decode an optical barcode. In FIG. 1100 , similar to the example described above, Fig. 9 , image 1102 is an example image received from a user device. In this example, image 1102 is depicted and viewed from the front right side. Image 1102 includes optical barcode 1106. In this example, optical barcode 1106 utilizes a custom graphic as a functional pattern.

[0093] Callout 1108 shows an enlarged portion of image 1102 that includes a candidate shape feature analyzed by alignment module 240. Callout 1110 shows an enlarged portion of callout 1108 that shows distinctive features of the candidate shape feature.

[0094] Callout 1112 shows a reference image of the custom graphic. Callout 1114 shows the spatial orientation of the reference image. In this example, the reference image is shown from a front view perspective. Callout 1116 shows an enlarged portion of callout 1112 showing reference distinctive features of the reference image.

[0095] The alignment module 240 compares the distinctive features to the reference distinctive features to determine alignment including orientation, scale, or position. For example, if an image including a custom graphic is shown from a front perspective, the distinctive features of the custom graphic in the image should match the reference distinctive features. The alignment module 240 can determine a perspective change based on a mismatch between the distinctive features and the reference distinctive features. The alignment module 240 uses the mismatch to infer or determine the perspective of the image or other spatial properties of the image that can be utilized by the decoder module 250 to more accurately decode data from the image.

[0096] Fig. 12A , Fig. 12B and Fig. 12C is a diagram illustrating various image transformations used to assist in decoding an optical barcode using a custom functional pattern. In an example embodiment, the alignment module 240 or the decoder module 250 performs an image transformation, such as a rotation as shown by the transition between the example optical barcodes 1200 and 1202. In other embodiments, the alignment module 240 or the decoder module 250 performs a de-skew, a scaling transformation, or another type of image transformation. In further example embodiments, the alignment module 240 or the decoder module 250 performs other image transformations, such as a color inversion as shown by the transition between the example optical barcodes 1204 and 1206. The alignment module 240 or the decoder module 250 may perform other image transformations not shown, such as image sharpening, noise reduction, or other image processing.

[0097] Fig. 12C An example of a technique for determining the alignment of a custom graphic is shown. An example optical barcode 1208 is slightly rotated from zero degrees. An ellipse 1210 can be fitted to a custom graphic to determine the alignment of a rotation value such as the optical barcode 1208. The major axis 1212 of the ellipse provides an indication of a rotation value 1214 from zero degrees (of course, the minor axis or another axis can be similarly used to determine the rotation value). The alignment module 240 or the decoder module 250 can perform an image transformation to adjust the rotation value 1214, as shown by the example optical barcode 1216 being rotated from the original orientation 1218. In this way, the alignment module 240 or the decoder module 250 can use the custom graphic to determine the alignment of the optical barcode included in the image to help decode the data encoded in the image.

[0098] Fig.13 is a flow chart illustrating additional example operations for decoding an optical barcode using a custom functional pattern. At operation 1040, the decoder module 250 decodes data encoded in a portion of the image from the image data. After operation 1040, in some example embodiments, Fig.13 operation.

[0099] At operation 1310, the decoder module 250 determines a failure to decode data encoded in a portion of an image using the transformed image. For example, if the data decoded from the image is corrupted, incomplete, or chaotic, the decoder module 250 determines a failure to decode the data. In another example, a portion of the data encoded in the image can be used for data verification. That is, a known or determinable value can be encoded into the data so that if the value is decoded from the image, the data is valid. The decoder module 250 can utilize various other schemes and techniques to determine a failure to decode data encoded in a portion of an image.

[0100] At operation 1320, the alignment module 240 generates another transformed image by transforming the image according to a different orientation of the custom graphic. For example, the alignment module 240 generates a transformed image that is rotated 180 degrees, and the decoder module 250 attempts to decode the data a second time. The alignment module 240 can perform a common transformation that can resolve a failure to decode, such as a 90 degree rotation, or another transformation that often resolves a decoding failure in a past scan. In some embodiments, the alignment module 240 performs another analysis of the image data of the image to determine another alignment to use when generating another transformed image. The alignment module 240 can perform other types of transformed images by applying different types of filters (e.g., orientation, color reduction, brightness manipulation, etc.) to the custom graphic.

[0101] At operation 1330, the decoder module 250 decodes the data encoded in a portion of the image using another transformed image. The alignment module 240 and the decoder module 250 may attempt any number of iterations of alignment (e.g., a set number of attempts or an unlimited number of attempts) until the data is successfully decoded from the image. In this manner, the custom pattern system 160 may use the markings for self-alignment.

[0102] To further combine Fig.13 To explain the discussion, Fig.14 14 is a diagram showing an example of decoding an optical barcode using a custom functional pattern. Example optical barcode 1410 shows the location of a mark with hollow circles. Each hollow circle of optical barcode 1410 is the location of a mark. Example optical barcode 1420 shows a misalignment between a mark location and a mark. Example optical barcode 1430 shows a matching alignment between a mark and a mark location.

[0103] Now go to Fig.15 and Fig.16 , although the user interfaces described herein (e.g., Fig.15 , 1618) depict specific example user interfaces and user interface elements, but these are merely non-limiting examples, and many other alternative user interfaces and user interface elements can be generated and presented to the user by the presentation module 220. It should be noted that the alternative presentations of the display described herein include additional information, graphics, options, etc.; other presentations include less information, or provide abridged information for user convenience.

[0104] Fig.15 1 is a user interface illustration 1500 depicting an example user interface 1510 for identifying an optical bar code. In user interface illustration 1500, user interface 1510 shows a substantially real-time image captured from a camera sensor of a user device (e.g., client device 110, user device 414). User interface 1510 can include graphics and user interface elements superimposed or overlaid on the substantially real-time image displayed below. For example, user interface element 1520 is a square bracket indicating the identification of an optical bar code. User interface 1510 can indicate to the user a successful or unsuccessful scan of a particular optical bar code.

[0105] Fig.16 FIG. 1 is a user interface diagram 1600 depicting an example user interface 1610 for performing actions associated with optical barcodes. In an example embodiment, the user interface 1610 is displayed on the Fig.15 The user interface 1610 may include various action options associated with detecting a particular optical barcode, such as user interface element 1620. In some embodiments, in response to detecting and decoding a particular optical barcode, the custom pattern system 160 automatically performs a particular action.

[0106] In another example embodiment, the action is specific to software that provides scanning functionality for optical barcodes that use custom function patterns (e.g., snapcodes). In some embodiments, software that scans optical barcodes can perform certain dedicated actions without communicating with a server. This is due to the proprietary brand nature of custom function patterns, which are not necessarily publicly decodable by other third-party software applications. The snapcode can specify such an action because it appears that the software (e.g., mobile computing software such as an application) that scans the brand optical barcode is associated with the brand optical barcode.

[0107] Fig.17 is a flow chart illustrating example operations for generating an optical barcode using a custom functional pattern. The operations of method 1700 may be performed by components of custom pattern system 160 and are described below for purposes of illustration.

[0108] At operation 1710, the communication module 210 receives a request to generate a machine-readable image, such as an optical barcode using a custom functional pattern. In some embodiments, the request includes user-specified data encoded in the image.

[0109] At operation 1720, the encoder module 270 presents a machine-readable arrangement of marks encoding user-specified data. For example, the marks may include dots, squares, or other marks arranged in a predetermined pattern. In an example embodiment, the presence of a mark at a particular position in the arrangement indicates data.

[0110] At operation 1730, the encoder module 270 generates a machine-readable image by positioning the arrangement of machine-readable indicia in the machine-readable image with respect to the location of the custom graphic included in the machine-readable image. For example, the custom graphic may be centered in the optical barcode or located at another location (e.g., Figure 3A and Figure 3B Example of an optical barcode).

[0111] At operation 1740, the communication module 210 stores or sends the machine-readable image. For example, the communication module 210 can store the machine-readable image on a user device, a server, or another repository (stored locally or remotely). In other cases, the communication module 210 sends the machine-readable image to a user device, a server, or one or more other devices.

[0112] Fig.18 1 is a user interface illustration 1800 depicting an example user interface 1810 for generating an optical barcode 1820 using a custom graphic. User interface element 1830 provides the user with options for generating, sharing, or saving a machine-readable image. In some embodiments, user interface illustration 1800 includes a user interface configured to receive user-specified data (e.g., a social networking service member identifier, a website address, or another piece of information) encoded into a machine-readable image.

[0113] Fig.19 Execution of a mobile operating system (e.g., IOS TM ANDROID TM , PHONE or other mobile operating system). In one embodiment, the mobile device 1900 includes a touch screen that can be operated to receive tactile data from a user 1902. For example, the user 1902 can physically touch 1904 the mobile device 1900, and in response to the touch 1904, the mobile device 1900 can determine tactile data such as a touch location, a touch force, or a gesture motion. In various example embodiments, the mobile device 1900 displays a home screen 1906 that can be operated to launch applications or otherwise manage various aspects of the mobile device 1900 (e.g., in IOS TM In some example embodiments, home screen 1906 provides status information such as battery life, connection, or other hardware status. User 1902 can activate user interface elements by touching the area occupied by the corresponding user interface element. In this way, user 1902 interacts with applications of mobile device 1900. For example, touching the area occupied by a particular icon included in home screen 1906 causes the launch of the application corresponding to the particular icon.

[0114] Many types of applications (also referred to as "application software") can be executed on mobile device 1900, such as native applications (e.g., written in Objective-C, Swift, or on iOS). TM An application written in another suitable language that runs on Android TM The mobile device 1900 may include a messaging application, an audio recording application, a camera application, a book reader application, a media application, a fitness application, a file management application, a location application, a browser application, a settings application, a contact application, a phone call application, or other application (e.g., a game application, a social networking application, a biometric monitoring application). In another example, the mobile device 1900 may include a web application such as a web browser. Social messaging application 1908, consistent with some embodiments, the Allow users to exchange ephemeral messages including media content. In this example, social messaging application 1908 can be incorporated into aspects of the embodiments described herein.

[0115] Certain embodiments are described herein as including a logic or multiple components, modules, or mechanisms. A module may constitute a software module (e.g., code implemented on a machine-readable medium) or a hardware module. A "hardware module" is a tangible unit that is capable of performing certain operations and that can be configured or arranged in some physical manner. In various example embodiments, one or more computer systems (e.g., a stand-alone computer system, a client computer system, or a server computer system) or one or more hardware modules of a computer system (e.g., a processor or a group of processors) may be configured by software (e.g., an application or application portion) as a hardware module that operates to perform certain operations as described herein.

[0116] In some embodiments, the hardware module can be implemented mechanically, electronically, or in any suitable combination thereof. For example, the hardware module may include a dedicated circuit or logic that is permanently configured to perform certain operations. For example, the hardware module may be a dedicated processor, such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). The hardware module may also include a programmable logic or circuit that is temporarily configured by software to perform certain operations. For example, the hardware module may include software executed by a general-purpose processor or other programmable processor. Once configured by such software, the hardware module becomes a specific machine (or a specific component of a machine) that is uniquely customized to perform the configured function, and is no longer a general-purpose processor. It should be understood that the decision to mechanically implement the hardware module in a dedicated and permanently configured circuit or in a temporarily configured circuit (e.g., configured by software) may be driven by cost and time considerations.

[0117] Thus, the phrase "hardware module" should be understood to include a tangible entity, i.e., an entity that is physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in some manner or perform certain operations described herein. As used herein, a "hardware-implemented module" refers to a hardware module. Considering embodiments in which hardware modules are temporarily configured (e.g., programmed), each of the hardware modules need not be configured or instantiated at any one time. For example, in the case where the hardware module includes a general-purpose processor that is configured by software to be a special-purpose processor, the general-purpose processor can be configured as different special-purpose processors (e.g., including different hardware modules) at different times. Thus, the software configures a specific processor or processors accordingly, for example, to constitute a specific hardware module at one time, and to constitute different hardware modules at different times.

[0118] Hardware modules can provide information to other hardware modules and receive information from other hardware modules. Therefore, the described hardware modules can be considered to be communication coupled. In the case of multiple hardware modules at the same time, communication can be achieved by signal transmission (for example, by appropriate circuits and buses) between two or more hardware modules. In the embodiment where multiple hardware modules are configured or instantiated at different times, the communication between such hardware modules can be achieved, for example, by storing and retrieving information in a memory structure that multiple hardware modules can access. For example, a hardware module can perform an operation and store the output of the operation in a memory device that is communication coupled with it. Then, other hardware modules can access the memory device at a later time to retrieve and process the output of the storage. The hardware module can also start communication with an input or output device, and can operate on a resource (for example, a collection of information).

[0119] Various operations of the example methods described herein are performed, at least in part, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors constitute processor-implemented modules that operate to perform one or more operations or functions described herein. As used herein, "processor-implemented module" refers to a hardware module implemented using one or more processors.

[0120] Similarly, the methods described herein may be at least partially processor-implemented, wherein a particular processor or processors are examples of hardware. For example, at least some of the operations of the method may be performed by one or more processors or processor-implemented modules. In addition, one or more processors may also operate to support the performance of related operations in a "cloud computing" environment or as a "software as a service" (SaaS). For example, at least some of the operations may be performed by a group of computers (as an example of a machine including a processor), wherein the operations may be accessed via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., an application program interface (API)).

[0121] The performance of certain operations can be distributed among processors, not only residing in a single machine, but also deployed across multiple machines. In some example embodiments, the processor or the module implemented by the processor can be located in a single geographical location (e.g., in a home environment, an office environment, or a server farm). In other example embodiments, the processor or the module implemented by the processor is distributed across multiple geographical locations.

[0122] The modules, methods, applications, etc. described in conjunction with the above figures are implemented in the context of a machine and associated software architecture in some embodiments. The following section describes a representative software architecture and machine (eg, hardware) architecture suitable for the disclosed embodiments.

[0123] Software architectures are used together with hardware architectures to create devices and machines that are customized for specific purposes. For example, a specific hardware architecture combined with a specific software architecture will create a mobile device, such as a mobile phone, a tablet device, etc. A slightly different hardware and software architecture may produce smart devices for the "Internet of Things." Yet another combination produces a server computer used within a cloud computing architecture. Not all combinations of such software and hardware architectures are presented here, as those skilled in the art can readily understand how to implement the present invention in a context other than the disclosure contained herein.

[0124] Fig. 20 is a block diagram 2000 illustrating a representative software architecture 2002 that may be used in conjunction with the various hardware architectures described herein. Fig. 20 This is merely a non-limiting example of a software architecture, and it should be understood that many other architectures may be implemented to facilitate the functionality described herein. The software architecture 2002 may be implemented in a system such as Fig.21 2100, which includes, among other things, a processor 2110, a memory / storage device 2130, and an I / O component 2150. A representative hardware layer 2004 is shown and may represent, for example, Fig.21 The machine 2100 of the embodiment of the present invention is shown in Figure 2100. The representative hardware layer 2004 includes one or more processing units 2006 with associated executable instructions 2008. The executable instructions 2008 represent executable instructions of the software architecture 2002, including implementations of the methods, modules, etc. in the above figures and descriptions. The hardware layer 2004 also includes a memory and storage module 2010 also having executable instructions 2008. The hardware layer 2004 may also include other hardware indicated by 2012, which represents any other hardware of the hardware layer 2004, such as other hardware shown as part of the machine 2100.

[0125] exist Fig. 20In the example architecture of , software 2002 can be conceptualized as a pile of layers where each layer provides specific functions. For example, software 2002 may include layers such as operating system 2014, library 2016, framework / middleware 2018, application 2020, and presentation layer 2022. Operably, application 2020 or other components within a layer may call application programming interface (API) call 2024 through a software stack, and receive responses, return values, etc. shown as messages 2026 in response to API call 2024. The layers shown are representative in nature, and not all software architectures have all layers. For example, some mobile or dedicated operating systems may not provide framework / middleware layer 2018, while others may provide such layers. Other software architectures may include additional layers or different layers.

[0126] The operating system 2014 can manage hardware resources and provide public services. The operating system 2014 can include, for example, a kernel 2028, services 2030, and drivers 2032. The kernel 2028 can act as an abstraction layer between the hardware and other software layers. For example, the kernel 2028 can be responsible for memory management, processor management (e.g., scheduling), component management, networking, security settings, etc. Services 2030 can provide other public services to other software layers. Drivers 2032 can be responsible for controlling or interfacing with the underlying hardware. For example, drivers 2032 can include display drivers, camera drivers, drivers, flash drives, serial communication drivers (e.g., Universal Serial Bus (USB) drivers), WI- Drivers, audio drivers, power management drivers, etc., depending on the hardware configuration. In an example embodiment, operating system 2014 includes imaging services 2033, which can provide image processing services such as hardware accelerated image processing or image acquisition services such as low-level access to optical sensors or optical sensor data.

[0127] The library 2016 may provide a common infrastructure that may be used by the application 2020 or other components or layers. The library 2016 generally provides functions that allow other software modules to perform tasks in a simpler manner than directly interfacing with the underlying operating system 2014 functions (e.g., kernel 2028, service 2030, or driver 2032). The library 2016 may include a system 2034 library (e.g., a C standard library), which may provide functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the library 2016 may include an API library 2036 such as a media library (e.g., a library that supports the presentation and manipulation of various media formats such as MPREG4, H.264, MP3, AAC, AMR, JPG, or PNG), a graphics library (e.g., an OpenGL framework that can be used to present 2D and 3D in graphics content on a display), a database library (e.g., SQLite that can provide various relational database functions), a Web library (e.g., WebKit that can provide Web browsing functions), etc. The library 2016 may also include a variety of other libraries 2038 to provide many other APIs to the application 2020 and other software components / modules. In an exemplary embodiment, the library 2016 includes an imaging library 2039 that provides image processing or image acquisition functions that can be used by the custom pattern system 160.

[0128] The framework 2018 (sometimes also referred to as middleware) can provide a higher level common infrastructure that can be used by the application 2020 or other software components / modules. For example, the framework 2018 can provide various graphical user interface (GUI) functions, advanced resource management, advanced location services, etc. The framework 2018 can provide a wide range of other APIs that can be used by the application 2020 or other software components / modules, some of which may be specific to a particular operating system or platform. In an example embodiment, the framework 2018 includes an image processing framework 2022 and an image acquisition framework 2023. The image processing framework 2022 can provide high-level support for image processing functions that can be used in various aspects of the custom pattern system 160. Similarly, the image acquisition framework 2023 can provide high-level support for acquiring images and interfacing with optical sensors.

[0129] Applications 2020 include built-in applications 2040 or third-party applications 2042. Examples of representative built-in applications 2040 may include, but are not limited to, contact applications, browser applications, book reader applications, location applications, media applications, messaging applications, or game applications. Third-party applications 2042 may include any built-in applications as well as a variety of other applications. In a specific example, third-party applications 2042 (e.g., applications created by entities other than the vendor of a particular platform using ANDROID TM or IOS TM Software Development Kit (SDK) can be used to develop applications on platforms such as IOS TM ANDROID TM , The third party application 2042 may be a mobile software running on a mobile operating system such as the mobile phone or other mobile operating system. In this example, the third party application 2042 may call an API call 2024 provided by a mobile operating system such as the operating system 2014 to facilitate the functionality described herein. In an example embodiment, the application 220 includes a messaging application 2043 that includes the custom pattern system 160 as part of the application. In another embodiment, the application 220 includes a standalone application 2045 that includes the custom pattern system 160.

[0130] Applications 2020 may utilize built-in operating system functionality (e.g., kernel 2028, services 2030, or drivers 2032), libraries (e.g., system 2034, API 2036, and other libraries 2038), framework / middleware 2018 to create a user interface that interacts with a user of the system. Alternatively or in addition, in some systems, interaction with the user may occur through a presentation layer such as presentation layer 2044. In these systems, the application / module "logic" may be separated from aspects of the application / module that interact with the user.

[0131] Some software architectures make use of virtual machines. Fig. 20 In the example of , this is illustrated by virtual machine 2048. A virtual machine creates a software environment where applications / modules can be run as if on a hardware machine (e.g., such as a Fig.21 The virtual machine is run by the host operating system ( Fig.21The virtual machine 2048 is hosted by an operating system 2014 in the host computer and typically (although not always) has a virtual machine monitor 2046 that manages the operation of the virtual machine and interfaces with the host operating system (i.e., operating system 2014). Software architectures are executed within a virtual machine such as an operating system 2050, libraries 2052, frameworks / middleware 2054, applications 2056, or a presentation layer 2058. The layers of these software architectures executed within the virtual machine 2048 may be the same as the corresponding layers previously described or may be different.

[0132] Fig.21 21 is a block diagram illustrating components of a machine 2100 that is capable of reading instructions from a machine-readable medium (e.g., a machine-readable storage medium) and executing any one or more of the methodologies discussed herein, according to some example embodiments. Specifically, Fig.21 A diagrammatic representation of a machine 2100 in the example form of a computer system is shown within which instructions 2116 (e.g., software, programs, applications, applet, application software, or other executable code) for causing the machine 2100 to perform any one or more of the methodologies discussed herein may be executed. For example, the instructions may cause the machine to perform Figure 5 , 6 , 8, 10, 13 and 17. Additionally or alternatively, the instructions may implement Figure 2The instructions transform a general non-programmed machine into a specific machine that is programmed to perform the functions described and shown in the described manner. In alternative embodiments, the machine 2100 operates as a standalone device or can be coupled (e.g., networked) to other machines. In a networked deployment, the machine 2100 can operate in the capacity of a server machine or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine 2100 may include, but is not limited to, a server computer, a client computer, a personal computer (PC), a tablet computer, a laptop computer, a netbook, a set-top box (STB), a personal digital assistant (PDA), an entertainment media system, a cellular phone, a smart phone, a mobile device, a wearable device (e.g., a smart watch), a smart home device (e.g., a smart appliance), other smart devices, a network device, a network router, a network switch, a network bridge, or any machine capable of executing instructions 2116 that sequentially or otherwise specify actions to be taken by the machine 2100. In addition, while only a single machine 2100 is shown, the term "machine" should also be construed to include a collection of machines 2100 that individually or collectively execute instructions 2116 to perform any one or more of the methodologies discussed herein.

[0133] The machine 2100 may include a processor 2110, memory / storage 2130, and I / O components 2150 that may be configured to communicate with each other, such as via a bus 2102. In an example embodiment, the processor 2110 (e.g., a central processing unit (CPU), a reduced instruction set computing (RISC) processor, a complex instruction set computing (CISC) processor, a graphics processing unit (GPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a radio frequency integrated circuit (RFIC), another processor, or any suitable combination thereof) may include, for example, a processor 2112 and a processor 2114 that may execute instructions 2116. The term "processor" is intended to include a multi-core processor that may include two or more independent processors (sometimes referred to as "cores") that may execute instructions simultaneously. Although Fig.21 Multiple processors are shown, but the machine 2100 may include a single processor with a single core, a single processor with multiple cores (e.g., a multi-core processor), multiple processors with a single core, multiple processors with multiple cores, or any combination thereof.

[0134] The memory / storage 2130 may include a memory 2132 (such as a main memory or other memory storage) and a storage unit 2136, both of which may be accessible to the processor 2110 via the bus 2102. The storage unit 2136 and the memory 2132 store instructions 2116 embodying any one or more of the methodologies or functionality described herein. The instructions 2116 may also reside, in whole or in part, within the memory 2132, within the storage unit 2136, within at least one of the processors 2110 (e.g., within a cache memory of the processor), or any suitable combination thereof during execution thereof by the machine 2100. Thus, the memory 2132, the storage unit 2136, and the memory of the processor 2110 are examples of machine-readable media.

[0135] As used herein, the term "machine-readable medium" refers to a device capable of temporarily or permanently storing instructions and data, and may include, but is not limited to, random access memory (RAM), read-only memory (ROM), buffer memory, flash memory, optical media, magnetic media, cache memory, other types of storage devices (e.g., erasable programmable read-only memory (EEPROM)), or any suitable combination thereof. The term "machine-readable medium" should be deemed to include a single medium or multiple media (e.g., a centralized or distributed database, or associated caches and servers) capable of storing instructions 2116. The term "machine-readable medium" should also be deemed to include any medium or combination of multiple media capable of storing instructions (e.g., instructions 2116) executed by a machine (e.g., machine 2100), such that when the instructions are executed by one or more processors (e.g., processor 2110) of machine 2100, machine 2100 performs any one or more of the methodologies described herein. Thus, "machine-readable medium" refers to a single storage device or device, as well as a "cloud-based" storage system or storage network including multiple storage devices or devices.

[0136] I / O components 2150 may include a variety of components for receiving input, providing output, generating output, sending information, exchanging information, collecting measurements, etc. The specific I / O components 2150 included in a particular machine will depend on the type of machine. For example, a portable machine such as a mobile phone will likely include a touch input device or other such input mechanism, while a headless server machine will likely not include such a touch input device. It should be understood that I / O components 2150 may include Fig.21Many other components are not shown in the figure. The I / O components 2150 are grouped according to function only to simplify the following discussion, and the grouping is by no means limiting. In various example embodiments, the I / O components 2150 may include output components 2152 and input components 2154. The output components 2152 may include visual components (e.g., displays such as plasma display panels (PDPs), light emitting diode (LED) displays, liquid crystal displays (LCDs), projectors, or cathode ray tubes (CRTs)), acoustic components (e.g., speakers), tactile components (e.g., vibration motors, resistor mechanisms), other signal generators, etc. The input components 2154 may include alphanumeric input components (e.g., keyboards, touch screens configured to receive alphanumeric input, photo-optical keyboards, or other alphanumeric input components), point-based input components (e.g., mice, touch pads, trackballs, joysticks, motion sensors, or other pointing instruments), tactile input components (e.g., physical buttons, touch screens or other tactile input components that provide the location and force of touch or touch gestures), audio input components (e.g., microphones), etc.

[0137] In further example embodiments, the I / O component 2150 may include, among a plurality of other components, a biometric component 2156, a motion component 2158, an environment component 2160, or a position component 2162. For example, the biometric component 2156 may include a component for detecting expressions (e.g., hand expressions, facial expressions, voice expressions, body postures, or eye tracking), measuring biosignals (e.g., blood pressure, heart rate, body temperature, sweating, or brain waves), identifying a person (e.g., voice recognition, retinal recognition, facial recognition, fingerprint recognition, or EEG-based recognition), etc. The motion component 2158 may include an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, a rotation sensor component (e.g., a gyroscope), etc. The environment component 2160 may include, for example, an illumination sensor component (e.g., a photometer), a temperature sensor component (e.g., one or more thermometers that detect ambient temperature), a humidity sensor component, a pressure sensor component (e.g., a barometer), an acoustic sensor component (e.g., one or more microphones that detect background noise), a proximity sensor component (e.g., an infrared sensor that detects nearby objects), a gas sensor component (e.g., a machine olfactory detection sensor, a gas detection sensor used to detect hazardous gas concentrations or measure pollutants in the atmosphere for safety purposes), or other components that may provide indications, measurements, or signals corresponding to the surrounding physical environment. The position component 2162 may include a position sensor component (e.g., a global positioning system (GPS) receiver component), an altitude sensor component (e.g., an altimeter or barometer that detects air pressure, from which altitude can be derived), an orientation sensor component (e.g., a magnetometer), and the like.

[0138] A variety of technologies may be used to implement communications. The I / O components 2150 may include a communication component 2164 that is operable to couple the machine 2100 to a network 2180 or a device 2170 via coupling 2182 and coupling 2172, respectively. For example, the communication component 2164 includes a network interface component or other suitable device that interfaces with the network 2180. In other examples, the communication component 2164 includes a wired communication component, a wireless communication component, a cellular communication component, a near field communication (NFC) component, Components (e.g. Low energy consumption), WI- Components, and other communication components that provide communication via other modalities. Device 2170 can be another machine or any of a variety of peripheral devices (eg, a peripheral device coupled via a universal serial bus (USB)).

[0139] In addition, the communication component 2164 can detect an identifier or include a component that can be operated to detect an identifier. For example, the communication component 2164 can include a radio frequency identification (RFID) tag reader component, an NFC smart tag detection component, an optical reader component (e.g., an optical sensor that detects a one-dimensional barcode such as a universal product code (UPC) barcode; a multi-dimensional barcode such as a Quick Response (QR) code, an Aztec code, a data matrix, a data map, a MaxiCode, a PDF417, a Supercode, a Uniform Commercial Code Reduced Space Symbol (UCC RSS)-2D barcode, and other optical codes), an acoustic detection component (e.g., a microphone for identifying an audio signal of a tag), or any suitable combination thereof. In addition, various information can be obtained via the communication component 2164, such as positioning via Internet Protocol (IP) geolocation, location via WI- Signal triangulation positioning, which can indicate a specific location through detection Or positioning of NFC beacon signals, etc.

[0140] In various example embodiments, one or more portions of network 2180 may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), the Internet, a portion of the Internet, a portion of a public switched telephone network (PSTN), a plain old telephone service (POTS) network, a cellular telephone network, a wireless network, a WI-FI network, or a wireless network. 2180, or a portion of network 2180, may include a wireless or cellular network, and coupling 2182 may be a code division multiple access (CDMA) connection, a global system for mobile communications (GSM) connection, or other types of cellular or wireless couplings. In this example, coupling 2182 may implement any of various types of data transmission technologies, such as single carrier radio transmission technology (1xRTT), evolution data optimized (EVDO) technology, general packet radio service (GPRS) technology, enhanced data rates for GSM evolution (EDGE) technology, third generation partnership project (3GPP) including 3G, fourth generation wireless (4G) networks, universal mobile telecommunications system (UMTS), high speed packet access (HSPA), world wide interoperability for microwave access (WiMAX), long term evolution (LTE) standards, other standards defined by various standards setting organizations, other remote protocols, or other data transmission technologies.

[0141] Instructions 2116 may be sent or received over network 2180 using a transmission medium via a network interface device (e.g., a network interface component included in communication component 2164), and utilizing any of a number of well-known transmission protocols (e.g., Hypertext Transfer Protocol (HTTP)). Similarly, instructions 2116 may be sent or received to device 2170 using a transmission medium via coupling 2172 (e.g., a point-to-point coupling). The term "transmission medium" should be taken to include any intangible medium capable of storing, encoding, or carrying instructions 2116 for execution by machine 2100, and includes digital or analog communication signals or other intangible media to facilitate communication of such software. Transmission media is an embodiment of a machine-readable medium.

[0142] The following numbered examples are embodiments.

[0143] 1. A system comprising:

[0144] a communication module for receiving reference image data of a reference image for a customized graphic;

[0145] a viewfinder module for determining a reference shape feature of the custom graphic from the reference image data, the reference shape feature indicating an identity of the custom graphic;

[0146] a memory configured to store shape feature rules and reference shape features of a custom graphic; and

[0147] a hardware processor coupled to the memory, the hardware processor comprising a communication module,

[0148] The communication module is further configured to receive image data of the image from the client device;

[0149] The viewfinder module is further configured as follows:

[0150] Extracting candidate shape features of the image from the image data;

[0151] Determining that the candidate shape features satisfy the shape feature rule;

[0152] In response to the candidate shape feature satisfying the shape feature rule, identifying the custom graphic in the image based on a comparison of the candidate shape feature and a reference shape feature of the custom graphic; and

[0153] In response to the viewfinder module identifying the custom graphic, the decoder module is configured to decode data encoded in a portion of the image from the image data by detecting a marker indicative of the data included in the image.

[0154] 2. The system of example 1, wherein the viewfinder module is further configured to:

[0155] Calculate an area value of a candidate shape feature from the image data, and combine the calculated area value with another candidate shape feature to scale the area value;

[0156] determining an area score of the candidate shape feature by comparing the area value to a reference area value of the custom pattern; and

[0157] The candidate shape feature is determined to satisfy an area rule based on the area score exceeding a threshold, wherein the shape feature rule includes an area rule.

[0158] 3. A computer-implemented method comprising:

[0159] receiving reference image data for a reference image of a customized symbol;

[0160] determining a reference shape feature of the reference image from the reference image data, the reference shape feature indicating a characteristic of the custom symbol;

[0161] receiving image data of an image from a user device;

[0162] Extracting candidate shape features of the image from the image data;

[0163] determining that the candidate shape feature satisfies a shape feature criterion;

[0164] In response to the candidate shape feature satisfying the shape feature criteria, identifying the custom symbol in the image by comparing the candidate shape feature to a reference shape feature of the custom symbol;

[0165] In response to identifying the custom symbol, extracting geometric attributes of the custom symbol in the image from the image data; and

[0166] Data encoded in a portion of the image is decoded from the image data using geometric properties of a custom symbol in the image.

[0167] 4. The method according to example 3 further comprises:

[0168] calculating a size approximation for a candidate shape feature from the image data, calculating the size approximation in combination with another candidate shape feature to scale the size approximation;

[0169] determining a size score for the candidate shape feature by comparing the size approximation to a reference size of the custom symbol; and

[0170] The candidate shape feature is determined to satisfy a size criterion based on the size score exceeding the threshold, wherein the shape feature criterion includes the size criterion.

[0171] 5. The method according to example 3 or example 4, further comprising:

[0172] determining from the image data that the candidate shape features include a closed line, wherein the closed line encloses a portion of the image by having a path starting from a particular point and returning to the particular point; and

[0173] The candidate shape feature is determined to satisfy a path criterion based on the candidate shape feature including a closed line, wherein the shape feature criterion includes a path criterion.

[0174] 6. A method according to any one of Examples 3 to 5, wherein the geometric attributes include at least one of a position, scale, or orientation of the custom symbol in the image.

[0175] 7. The method according to any one of Examples 3 to 6, further comprising:

[0176] extracting a distinctive feature of the custom symbol from the image data, the distinctive feature indicating an identity of the custom symbol;

[0177] determining an orientation of the custom symbol in the image by comparing the distinctive feature to a reference distinctive feature of the custom symbol; and

[0178] The orientation and location of the custom symbol in the image is used to decode data encoded in the image.

[0179] 8. The method according to example 7, further comprising:

[0180] identifying distinctive points of the custom symbol in the image, wherein the distinctive features include the distinctive points; and

[0181] The orientation of the custom symbol in the image is determined by comparing the position of the distinctive point relative to the custom symbol in the image with the position of the reference point of the custom symbol.

[0182] 9. The method according to example 7 or example 8, further comprising: generating a transformed image by transforming the image according to an orientation of the custom symbol; and

[0183] Data encoded in a portion of an image is decoded using the transform image.

[0184] 10. The method according to example 9, further comprising:

[0185] determining a failure to decode data encoded in a portion of an image using a transform image;

[0186] generating another transformed image by transforming the image according to a different orientation of the custom symbol; and

[0187] Data encoded in a portion of an image is decoded using another transformed image.

[0188] 11. A method according to any one of Examples 3 to 10, wherein data encoded in a portion of an image is encoded using multiple markers positioned relative to a custom symbol in the image, wherein corresponding markers of the multiple markers represent a piece of data.

[0189] 12. A method according to any one of Examples 3 to 11, wherein the customized symbol includes at least one of a logo, an icon, or a trademark.

[0190] 13. The method according to any one of Examples 3 to 12, further comprising:

[0191] Image data is received in real time from an image sensor of a user device.

[0192] 14. A method according to any one of Examples 3 to 13, wherein the shape of the customized symbol includes at least one asymmetry.

[0193] 15. The method according to any one of Examples 3 to 14, further comprising:

[0194] In response to decoding the data encoded in the image, an action is performed on the user device using the data decoded from the image.

[0195] 16. The method of example 15, wherein the action comprises an action specified by data decoded from the image.

[0196] 17. The method of example 15 or 16, wherein the action is performed without communicating with a server.

[0197] 18. A method according to any of Examples 15 to 17, wherein the action is dedicated to a mobile computing application that decodes data encoded in a portion of the image.

[0198] 19. A machine-readable medium carrying instructions that, when executed by at least one processor of the machine, cause the machine to perform operations comprising:

[0199] receiving reference image data for a reference image of a particular design;

[0200] determining a reference shape feature of the reference image from the reference image data, the reference shape feature being indicative of a characteristic of the particular design;

[0201] receiving image data of an image from a client system;

[0202] Extracting candidate shape features of the image from the image data;

[0203] Determining that the candidate shape features satisfy the shape feature rule;

[0204] In response to the candidate shape feature satisfying the shape feature rule, identifying the specific design in the image by comparing the candidate shape feature to a reference shape feature of the specific design;

[0205] In response to identifying the specific design, extracting spatial properties of the specific design in the image from the image data; and

[0206] Data encoded in a portion of an image is decoded from the image data using specially designed spatial properties in the image.

[0207] 20. The machine-readable medium of example 19, wherein the operations further comprise:

[0208] calculating a size approximation for a candidate shape feature from the image data, combining the calculated size approximation with another candidate shape feature to scale the size approximation;

[0209] determining a size score for a candidate shape feature by comparing the size approximation to a reference size for a particular design; and

[0210] The candidate shape feature is determined to satisfy a size rule based on the size score exceeding a threshold, wherein the shape feature rule includes a size rule.

[0211] 21. A machine-readable medium carrying instructions which, when executed by at least one processor of a computer, cause the computer to perform the method of any one of Examples 3 to 18.

[0212] In this manual, multiple entities (instance) can realize the component, operation or structure described as a single entity. Although the individual operation of one or more methods is shown and described as an individual operation, one or more of the individual operations can be performed in parallel, and the operation does not need to be performed in the order shown. The structure and function that exist as the separated component in the example configuration can be implemented as a combined structure or component. Similarly, the structure and function that exist as a single component can be implemented as a separated component. These and other changes, modifications, additions and improvements fall within the scope of this paper theme.

[0213] Although an overview of the inventive subject matter has been described with reference to specific example embodiments, various modifications and changes may be made to these embodiments without departing from the broader scope of the embodiments of the present disclosure. For convenience only, these embodiments of the inventive subject matter may be referred to herein, individually or collectively, by the term "invention," without intending to limit the scope of the present application to any single disclosure or inventive concept, if in fact more than one is disclosed.

[0214] The embodiments described herein are described in sufficient detail to enable those skilled in the art to practice the disclosed teachings. Other embodiments may be used and derived therefrom, so that structural and logical substitutions and changes may be made without departing from the scope of the present disclosure. Therefore, the specific embodiments should not be considered restrictive, and the scope of the various embodiments is limited only by the appended claims and the full scope of equivalents to which these claims are assigned.

[0215] As used herein, the term "or" may be interpreted in an inclusive or exclusive manner. In addition, multiple entities may be provided for resources, operations, or structures described herein as single entities. In addition, the boundaries between various resources, operations, modules, engines, and data stores are somewhat arbitrary, and specific operations are shown in the context of specific illustrative configurations. Other allocations of functions may be envisioned and may fall within the scope of various embodiments of the present disclosure. Typically, structures and functions that exist as separate resources in an example configuration may be implemented as combined structures or resources. Similarly, structures and functions that exist as single resources may be implemented as separate resources. These and other changes, modifications, additions, and improvements fall within the scope of the embodiments of the present disclosure as represented by the appended claims. Therefore, the specification and drawings are considered to be illustrative rather than restrictive.

Claims

1. A method for customizing a functional pattern for an optical barcode, comprising: storing, by a user device of a user, reference shape features of a reference image for a customized symbol; generating a scannable image including a data marker encoding data for detection, the data marker being located outside a functional shape in the scannable image such that the functional shape does not contain the data marker, and the data encoded by the data marker being located outside the functional shape in the scannable image includes a user identification; identifying the custom symbol in the scannable image by determining that the functional shape exceeds a matching threshold of features of the reference shape; as well as In response to identifying the custom symbol, the user identification is generated by decoding the data indicia outside of the functional shape in the scannable image.

2. The method according to claim 1, wherein: The user identification is a user name of a member of the social networking service.

3. The method according to claim 2, further comprising: A message is sent to the member associated with the username on the social networking service.

4. The method according to claim 1, wherein: The functional shape includes an outline that delineates an area of ​​the scannable image.

5. The method according to claim 4, wherein: The contour line delineates an area of ​​the scannable image by having a path starting from a particular point and returning to the particular point.

6. The method according to claim 1, wherein: Determining that the functional shape exceeds the matching threshold of the reference shape feature includes: determining a match value describing the amount by which an attribute of the functional shape matches a feature of the reference shape; and It is determined that the matching value exceeds a preconfigured threshold for the attribute.

7. The method according to claim 6, wherein: The attribute is an image region, and the matching value is an image region threshold.

8. The method according to claim 1, further comprising: generating, on the user device, a video sequence comprising a plurality of images, wherein the image is one of the plurality of images; and The functional shape of the plurality of images is monitored by performing edge detection on one or more of the plurality of images.

9. The method according to claim 1, further comprising: extracting a distinctive feature of the customized symbol from the scannable image, the distinctive feature indicating an identity of the customized symbol; determining an orientation of the customized symbol in the scannable image by comparing the distinctive feature to a reference distinctive feature of the customized symbol; as well as Data indicia in the scannable image are decoded using the aligned orientation for the custom symbol.

10. The method according to claim 9, further comprising: generating a transformed image by transforming the scannable image according to the orientation of the custom symbol; as well as The data markers are decoded using the transformed image.

11. The method according to claim 1, wherein: The customized symbol includes at least one of the following: a logo, an icon, or a trademark.

12. The method according to claim 11, wherein: The data marker is adjacent to the functional shape, and the data marker and the functional shape are included in a boundary shape in the scannable image.

13. A system for customizing functional patterns of optical barcodes, comprising: one or more processors of the machine; Display screen; Image sensor; as well as A memory storing instructions that, when executed by one or more processors, cause the machine to: storing reference shape features of a reference image for a custom symbol; generating a scannable image using the image sensor, the scannable image including a data marker encoding data for detection, the data marker being located outside a functional shape in the scannable image such that the functional shape does not contain the data marker, and the data encoded by the data marker located outside the functional shape in the scannable image includes a user identification; identifying the custom symbol in the scannable image by determining that the functional shape exceeds a matching threshold of features of the reference shape; as well as In response to identifying the custom symbol, the user identification is generated by decoding the data indicia outside of the functional shape in the scannable image.

14. The system according to claim 13, wherein: The user identification is a user name of a member of the social networking service.

15. The system of claim 14, wherein the operations further comprise: A message is sent to the member associated with the username on the social networking service.

16. The system of claim 13, wherein: Determining that the functional shape exceeds the matching threshold of the reference shape feature includes: determining a match value describing the amount by which an attribute of the functional shape matches a feature of the reference shape; and It is determined that the matching value exceeds a preconfigured threshold for the attribute.

17. The system of claim 16, wherein: The attribute is an image region, and the matching value is an image region threshold.

18. A machine-readable storage device embodying instructions which, when executed by a machine, cause the machine to: storing reference shape features of a reference image for a custom symbol; generating a scannable image using an image sensor, the scannable image comprising a data marker encoding data for detection, the data marker being located outside a functional shape in the scannable image such that the functional shape does not contain the data marker, and the data encoded by the data marker located outside the functional shape in the scannable image comprising a user identification; identifying the custom symbol in the scannable image by determining that the functional shape exceeds a matching threshold of features of the reference shape; as well as In response to identifying the custom symbol, the user identification is generated by decoding the data indicia outside of the functional shape in the scannable image.

Citation Information

Patent Citations

  • Custom functional patterns for optical barcodes

    US20160210545A1

  • Method for generating quick response (QR) codes in rendering mode

    CN102622628A

  • Four dimensional (4d) color barcode for high capacity data encoding and decoding

    CN103177279A

  • Custom functional patterns for optical barcodes

    CN107430697B

  • Techniques for decoding images of barcodes

    US20090078772A1