1. Field of the Invention
The present invention relates generally to an improved data processing system and in particular to a method and apparatus for generating cohorts. More particularly, the present invention is directed to a computer implemented method, apparatus, and computer usable program code for processing digital video input to generate video based cohorts.
2. Description of the Related Art
A cohort is a group of objects that share a common attribute or experience. For example, a group of people born in 1980 may form a birth cohort. The information that is needed or wanted to identify attributes of potential members of a cohort may be voluminous, dynamically changing, unavailable, difficult to collect, and/or unknown to the member of the cohort and/or the user selecting members of a cohort. Moreover, it may be difficult, time consuming, or impractical for an individual to access all the information necessary to accurately generate cohorts. Thus, unique cohorts may be sub-optimal because individuals lack the skills, time, knowledge, and/or expertise needed to gather cohort attribute information from available sources.
Moreover, information distinguishing different colors of objects is frequently useful in a variety of fields. For example, it may be important to distinguish between a red warning light and a green warning light to determine the severity of a potential problem. A human using the sense of sight to identify different colors may perform color identification. However, this method is limited by the human ability to perceive and identify different color hues. In another method, some color identification software tools may be used to identify colors in digital images.
According to one embodiment of the present invention, a computer implemented method, apparatus, and computer program product for generating video based cohorts is provided. A digital video analysis engine processes digital video data to identify a set of color and texture based attributes associated with the set of objects. The digital video data comprises metadata describing the set of objects. A cohort generation engine analyzes the set of color and texture based attributes using cohort criteria to form a result. The cohort criteria specify attributes that are associated with members of a given cohort. The cohort generation engine generates a set of cohorts based on the result. Each cohort in the set of cohorts comprises a subset of objects from the set of objects that share at least one color and texture based attribute in common.
As will be appreciated by one skilled in the art, the present invention may be embodied as a system, method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, the present invention may take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium.
Any combination of one or more computer usable or computer readable medium(s) may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CDROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code may be transmitted using any appropriate medium, including, but not limited to wireless, wire line, optical fiber cable, RF, etc.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
The present invention is described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions.
These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
With reference now to the figures and in particular with reference to
In the depicted example, server 104 and server 106 connect to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 connect to network 102. Clients 110, 112, and 114 may be, for example, personal computers or network computers. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in this example. Network data processing system 100 may include additional servers, clients, and other devices not shown.
Program code located in network data processing system 100 may be stored on a computer recordable storage medium and downloaded to a data processing system or other device for use. For example, program code may be stored on a computer recordable storage medium on server 104 and downloaded to client 110 over network 102 for use on client 110.
In the depicted example, network data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational, and other computer systems that route data and messages. Of course, network data processing system 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
With reference now to
Processor unit 204 serves to execute instructions for software that may be loaded into memory 206. Processor unit 204 may be a set of one or more processors or may be a multi-processor core, depending on the particular implementation. Further, processor unit 204 may be implemented using one or more heterogeneous processor systems in which a main processor is present with secondary processors on a single chip. As another illustrative example, processor unit 204 may be a symmetric multi-processor system containing multiple processors of the same type.
Memory 206 and persistent storage 208 are examples of storage devices. A storage device is any piece of hardware that is capable of storing information either on a temporary basis and/or a permanent basis. Memory 206, in these examples, may be, for example, a random access memory or any other suitable volatile or non-volatile storage device. Persistent storage 208 may take various forms depending on the particular implementation. For example, persistent storage 208 may contain one or more components or devices. For example, persistent storage 208 may be a hard drive, a flash memory, a rewritable optical disk, a rewritable magnetic tape, or some combination of the above. The media used by persistent storage 208 also may be removable. For example, a removable hard drive may be used for persistent storage 208.
Communications unit 210, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 210 is a network interface card. Communications unit 210 may provide communications through the use of either or both physical and wireless communications links.
Input/output unit 212 allows for input and output of data with other devices that may be connected to data processing system 200. For example, input/output unit 212 may provide a connection for user input through a keyboard and mouse. Further, input/output unit 212 may send output to a printer. Display 214 provides a mechanism to display information to a user.
Instructions for the operating system and applications or programs are located on persistent storage 208. These instructions may be loaded into memory 206 for execution by processor unit 204. The processes of the different embodiments may be performed by processor unit 204 using computer implemented instructions, which may be located in a memory, such as memory 206. These instructions are referred to as program code, computer usable program code, or computer readable program code that may be read and executed by a processor in processor unit 204. The program code in the different embodiments may be embodied on different physical or tangible computer readable media, such as memory 206 or persistent storage 208.
Program code 216 is located in a functional form on computer readable media 218 that is selectively removable and may be loaded onto or transferred to data processing system 200 for execution by processor unit 204. Program code 216 and computer readable media 218 form computer program product 220 in these examples. In one example, computer readable media 218 may be in a tangible form, such as, for example, an optical or magnetic disc that is inserted or placed into a drive or other device that is part of persistent storage 208 for transfer onto a storage device, such as a hard drive that is part of persistent storage 208. In a tangible form, computer readable media 218 also may take the form of a persistent storage, such as a hard drive, a thumb drive, or a flash memory that is connected to data processing system 200. The tangible form of computer readable media 218 is also referred to as computer recordable storage media. In some instances, computer recordable media 218 may not be removable.
Alternatively, program code 216 may be transferred to data processing system 200 from computer readable media 218 through a communications link to communications unit 210 and/or through a connection to input/output unit 212. The communications link and/or the connection may be physical or wireless in the illustrative examples. The computer readable media also may take the form of non-tangible media, such as communications links or wireless transmissions containing the program code.
In some illustrative embodiments, program code 216 may be downloaded over a network to persistent storage 208 from another device or data processing system for use within data processing system 200. For instance, program code stored in a computer readable storage medium in a server data processing system may be downloaded over a network from the server to data processing system 200. The data processing system providing program code 216 may be a server computer, a client computer, or some other device capable of storing and transmitting program code 216.
The different components illustrated for data processing system 200 are not meant to provide architectural limitations to the manner in which different embodiments may be implemented. The different illustrative embodiments may be implemented in a data processing system including components in addition to or in place of those illustrated for data processing system 200. Other components shown in
As one example, a storage device in data processing system 200 is any hardware apparatus that may store data. Memory 206, persistent storage 208, and computer readable media 218 are examples of storage devices in a tangible form.
In another example, a bus system may be used to implement communications fabric 202 and may be comprised of one or more buses, such as a system bus or an input/output bus. Of course, the bus system may be implemented using any suitable type of architecture that provides for a transfer of data between different components or devices attached to the bus system. Additionally, a communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. Further, a memory may be, for example, memory 206 or a cache such as found in an interface and memory controller hub that may be present in communications fabric 202.
A cohort is a group of people, animals, plants, places, or objects that share a common attribute or experience. For example, a group of people born in 1980 may form a birth cohort. A cohort may include one or more sub-cohorts. For example, the birth cohort of people born in 1980 may include a sub-cohort of people born in 1980 in Salt Lake City, Utah. A sub-subcohort may include people born in 1980 in Salt Lake City, Utah to low income, single parent households.
A cohort is generated based on one or more attributes that members of the cohort share in common. The information used to identify the attributes of members of the cohort groups are typically provided by the members of the cohort groups. However, this information describing attributes and attributes of members of cohort groups may be voluminous, dynamically changing, unavailable, and/or unknown to the member of the cohort group and/or the user selecting members of a cohort group. Moreover, it may be difficult, time consuming, or impractical for an individual to access all the information necessary to accurately generate cohort groups. Moreover, unique cohort groups are typically sub-optimal because individuals lack the skills, time, knowledge, and/or expertise needed to gather cohort attribute information from available sources.
The illustrative embodiments recognize that there are many industries and professions, such as, without limitation, chemistry, research, and medicine, in which it may be desirable to be able to distinguish different colors, textures, and surface markings on objects in images generated by a camera. As used herein, an object may be a person, place, thing, animal, plant, place, or location. Color and texture identification may be performed manually by an individual using natural human sight and touch senses to distinguish colors, textures, and identifying markings. However, this technique is limited by the range of ability to “see” visible light and to distinguish different hues and shades of colors, due to the natural limitations of the human senses.
Currently, there are some color identification software tools available that may be used to identify colors in a digital image, such as, but without limitation, Pantone® Color Cue and the Pantone Matching System®. The illustrative embodiments recognize that information generated by these color identification software tools may be used to automatically identify colors associated with objects in an image to identify attributes of those objects. The embodiments also recognize that it would be beneficial to identify, automatically, the texture and surface markings associated with an object for utilization in generating cohorts. Cohort groups may be used in research, marketing, safety studies, and many other various uses.
Therefore, in one embodiment of the present invention, a computer implemented method, apparatus, and computer program product for generating video based cohorts using color and texture attributes is provided. In one embodiment, cohorts are generated and/or members of cohorts are selected based on information describing colors, textures, and surface markings associated with one or more objects in camera image(s).
A video based cohort is a group of objects that share one or more attributes, such as, without limitation, color and/or texture attributes, identified using images of one or more objects. In one embodiment, images are received from a set of cameras. As used herein, the term “set” refers to one or more, unless specifically defined otherwise. Thus, the set of cameras is a set of one or more cameras. A camera may be implemented using a still image camera, a video camera, a stationary camera, a mobile camera, such as a camera mounted on a mobile robot, a camera phone, a panoramic (wide-angle) camera, a Polaroid, a digital camera, a web camera, or any other device capable of capturing an image of an object.
A digital video analysis engine receives the video data from the set of cameras. The video data comprises a set of images of one or more objects. The images are generated by the set of cameras. The images may be static images or a stream of moving images. The digital video analysis engine utilizes video analysis software tools to convert the images into digital video data that is compatible with the cohort generation engine. The digital video data comprises metadata, which describes objects in the camera images captured by the set of cameras.
The digital video analysis engine analyzes the digital video data with the metadata to identify color and texture attributes of objects. A color and texture attribute is a characteristic, feature, or other property of an object associated with a color, color combination, color pattern, color property, texture, surface marking, light, shadow, or other feature of a surface of an object as captured by a camera.
A set of video based cohorts are generated using the attributes described in the metadata in the digital video data. The set of video based cohorts may comprise a single cohort, as well as two or more cohorts. A video based cohort group may have any number of members from a null set to an infinite number of members. In other words, a video based cohort may have no members, a single member, or two or more members that share a common attribute. A member of a video based cohort group may include a human, animal, plant, place, location, or object. In one embodiment, the video based cohort may be used in a system wide monitoring process to quickly and efficiently pass vital information to a real-time computational process. Thus, the embodiments permit a user to create cohort groups based on video based attributes, such as color, texture, surface markings, light and shade, and other surface appearance attributes of one or more objects in a particular area or environment.
For example, and without limitation, a user may wish to identify every customer in a shopping mall that is wearing a pink article of clothing, such as pink hats or pink shirts. In such a case, the digital video analysis engine may analyze digital video data to identify customers that are wearing pink hats. A cohort generation engine may then use the color attribute data for the customers to select customers wearing pink as members of a first cohort of customers wearing pink hats and a second cohort of customers wearing hats that are not pink. Identifying colors worn by customers may be useful for various purposes, such as, without limitation, marketing studies, advertising, planning future production, targeted advertising, and various other industries. These cohort groups provide an effective tool for automatically creating cohort groups based on attributes of objects identified by a software digital video analysis of camera images without the intervention of a human user.
Set of cameras 302 generate camera images 304. Set of cameras 302 is a set of one or more cameras. In other words, images 304 may include only a single camera, as well as two or more cameras. Set of cameras 302 may be implemented as any type of known or available camera(s), including, but not limited to, a video camera for generating moving images, a digital camera capable of generating static (still) pictures and/or a moving images, a stereo camera, a web camera, and/or any other imaging device capable of generating images of objects.
Images 304 comprise one or more images of at least one object. Images 304 may be still camera images or a stream of moving images. Each image in images 304 is composed of picture elements (pixels). A pixel is the smallest discrete component of a camera image. Each pixel in each image includes pixel data. Video analysis engine 306 uses the pixel data in each camera image to identify size and shape attributes of objects in images 304. Video analysis engine 306 comprises software architecture for analyzing images 304 to form digital video data 312. Video analysis engine 306 comprises a set of video image analysis software tools for analyzing and parsing images 304 and generating digital video data 312 with metadata describing attributes of the objects in images 304.
Video analysis engine 306 may be implemented using any type of known or available color identification software, optical character recognition software, and/or license plate recognition software. In one embodiment, the digital video analysis engine may be implemented, using video analysis software tools such as, without limitation, IBM® smart surveillance system (S3) software. The license plate recognition technology catalogs a license plate of any vehicle within a camera image.
Video analysis engine 306 also comprises texture identification 308. Texture identification is a software component that analyzes images 304 and identifies textures of objects in images 304. Texture refers to the texture of an outer surface of an object, such as, without limitation, smooth, rough, or course. Texture identification 308 identifies a degree to which a surface is shiny or dull. Texture identification 308 analyzes the image of an object to identify a luminescence of the object. Texture identification 308 identifies a portion of an object as smooth texture if the surface of the object in the image is shiny with large variations in luminescence. Texture identification 308 identifies a portion of an object as having a rough texture if the surface of the object in the image is a surface with more uniform variations in luminescence.
Thus, video analysis engine 306 uses color identification software tools to identify the color on the surface of an object, and combinations of colors on the surface of the object by analyzing one or more images of the object. Video analysis engine 306 utilizes license plate recognition technology and optical character recognition to identify numbers, letters, and other markings on the surface of an object, such as, without limitation, words and numbers on clothing, a hat, a label, identification badge, street sign, address sign, bumper sticker, or license plate. Video analysis engine 306 uses texture identification 308 to determine whether the surface of an object is smooth or rough/coarse.
Digital video data 312 comprises metadata describing the color and/or texture attributes of the objects in images 304. Metadata generator 310 is a software component for generating the metadata describing the attributes, such as color, texture, surface markings, and patterns of colors on the surface of an object.
In one non-limiting example, digital video data 312 may be transmitted to cohort generation engine 314 as a digital wave file with the metadata. However, the embodiments are not limited to transmitting digital video data 312 as a digital wave file. Digital video data 312 may be transmitted using any known or available method for transferring or sending data to cohort generation engine 314.
Cohort generation engine 314 receives digital video data 312 from video analysis engine 306. Cohort generation engine 314 may also request digital video data 312 from a data storage device where digital video data 312 is stored until it is needed, such as data storage device 315. Data storage device 315 may be implemented using any type of data storage device, such as, without limitation, storage 108 in
In one embodiment, video analysis engine 306 automatically sends digital video data 312 to cohort generation engine 314 in real time as digital video data 312 is generated. In yet another embodiment, video analysis engine 306 sends digital video data 312 to cohort generation engine 314 upon the occurrence of a predetermined event. A predetermined event may be, without limitation, a given time, completion of processing images 304, occurrence of a timeout event, a user request for generation of set of video cohorts 324 based on color and texture attributes identified using digital video data 312, or any other predetermined event. Thus, the illustrative embodiments may utilize digital video data 312 in real time as digital video data 312 is generated or utilize digital video data that is pre-generated or stored in a data storage device until digital video data 312 is retrieved at some later time.
Cohort generation engine 314 analyzes digital video data 312 using color patterns 316, data models 318, cohort constraints 320, and/or cohort criteria 322 to generate set of video cohorts 324. Cohort generation engine 314 generates set of video cohorts 324 based on video based attributes in digital video data 312, such as color and texture attributes. Set of video cohorts 324 may include one or more video based cohorts. Each cohort group in set of video cohorts 324 may have a null set of members, a single member, as well as two or more members.
Color patterns 316 is an index or lookup table of known color patterns. A color pattern is a pattern of data that describes a color pattern or combination of colors in a particular layout or design. For example, the red and white pattern of a Coca-Cola logo may be one known color pattern in color patterns 316 and the uniform brown color of a United Parcel Service (UPS) truck may be another color pattern in color patterns 316. Cohort generation engine 314 compares metadata describing color and texture attributes of object in images 304 with known color patterns 316 to identify a particular object, source of an object, label, surface markings, and other attributes of an object. A particular color or combination of colors identified with an object in a camera image is compared to known color patterns 316. If a match is found, the matching color pattern may be used to identify color and texture attributes of the object, an identity of the object, a source or manufacturer of the object, or other attributes.
Cohort generation engine 314 may optionally process digital video data 312 in data models 318. Data models 318 comprise a set of one or more data models for processing digital video data 312 and identifying attributes of objects. A data model is a model for structuring, defining, organizing, imposing limitations or constraints, and/or otherwise manipulating data and metadata to produce a result. A data model may be generated using any type of modeling method or simulation including, but not limited to, a statistical method, a data mining method, a causal model, a mathematical model, a marketing model, a behavioral model, a psychological model, a sociological model, or a simulation model.
In one embodiment, digital video data 312 is processed using one or more data models to create one or more video cohorts. For example, a data model may be used to identify customers in a department store that are wearing a particular sports jersey or clothing supporting a particular sports team. This information is used to create a cohort of customers wearing that particular sports related apparel. Another data model may be used to process the same digital video data 312 to create a cohort of customers that are not wearing that particular color.
A cohort may include one or more sub-cohorts. In this example, digital video data 312 may be processed in a data model to identify customers wearing sports related apparel and a sub-cohort of customers wearing sports related apparel for a particular team. This information may be useful, for example and without limitation, marketing research, targeted advertising, future product orders, and various other uses.
In one embodiment, cohort generation engine 314 generates the cohorts and sub-cohorts in set of video cohorts 324 using at least one of color patterns 316, data models 318, cohort constraints 320, and/or cohort criteria 322. The term “at least one” refers to one or more or any combination. Thus, cohorts may be generated using only color patterns 316, using only cohort criteria 322, using cohort constraints 320 and cohort criteria 322, using color patterns 316, data models 318, and cohort criteria 322, using color patterns 316, data models 318, constraints 320, and cohort criteria 322, or any other combination of color patterns 316, data models 318, constraints 320, and/or cohort criteria 322.
Cohort criteria 322 are a set of criteria and/or guidelines for generating set of video cohorts 324. Cohort criteria 322 specify attributes that are present or associated with members of a particular cohort. Cohort constraints 320 specify attributes that are absent or not associated with members of the particular cohort. For example, and without limitation, cohort criteria may specify that a particular cohort group should include all cars that are painted blue and cohort constraints may specify that members of the cohort of cars must not contain cars that are painted more than one color, such as a two tone paint job.
These video based cohorts may be used for a variety of uses, such as, without limitation, industrial, medical, health, safety, marketing, and research-related endeavors. The video cohorts may also be used as a set of methodologies to solve a variety of problems. In one embodiment, cohort generation engine 314 provides set of video cohorts 324 to inference engine 326. Inference engine 326 is a software component, such as a computer program, that derives inferences from a knowledge base. The knowledge base is a body of facts, criteria, factors, and other information used to generate one or more inferences 328. The knowledge base may be stored in one or more local data storage devices on computer 300, such as data storage device 315, and/or stored in one or more remote data storage devices that may be accessed over a network connection. Data storage device 315 is any type of device for storing data, such as, without limitation, storage 108 in
In this example, inference engine 326 derives inferences 328 from set of video cohorts 324 and/or any other data available in the knowledge base. The data in the knowledge base may include data located in a database located locally on computer 300 as well as data located on one or more remote data storage devices that may be accessed using a network connection.
Inferences 328 are conclusions regarding possible future events or future changes in the attributes of cohort groups that are drawn or inferred based on the knowledge base and set of video cohorts 324. For example, and without limitation, set of video cohorts 324 may be analyzed by inference engine 326 to determine whether a particular color of clothing, such as pink hats, will continue to be trendy or popular in a given particular region or area. Inference engine 326 may also, without limitation, analyze set of video cohorts 324 to determine whether the particular color of clothing will become popular or trendy in a different region or area based on data describing people wearing that particular color of clothing in the given region or area. In another example, inference engine 326 may generate inferences regarding which customers are likely to purchase particular products based on cohorts of customers using those products.
In this embodiment, set of cameras 302 is implemented as a separate device than computer 300. However, in another embodiment, set of cameras 302 and video analysis engine 306 in computer 300 may be embodied within a single device.
Turning now to
Various lenses, filters, and other optical devices such as zoom lenses, wide-angle lenses, mirrors, prisms, and the like, may also be used with set of cameras 302 to assist in capturing the desired view. A camera in set of cameras 302 may be fixed in a particular orientation and configuration, or it may, along with any optical devices, be programmable in orientation, light sensitivity level, focus or other parameters. Programming data may be provided via a computing device, such as server 104 in
Cameras 402-406 may be implemented as a stationary camera and/or non-stationary camera. A stationary camera is a camera is a fixed location. A non-stationary camera may be capable of moving from one location to another location. However, a both a stationary and non-stationary camera may be capable of tilting in one or more directions, such as up, down, left, right, and/or rotating about an axis of rotation. Thus, either a stationary or non-stationary camera may be capable of panning or rotating about an axis and/or tilting to follow or track a person, animal, or object in motion or keep a mobile object, such as, without limitation, a person, animal, or vehicle, within a viewing range of the camera lens. Cameras 402-406 may be, either directly or indirectly, coupled to and/or in communication with the video analysis engine. In addition, one or more of cameras 402-406 may be operated simultaneously to generate camera images and/or one or more of cameras 402-406 may be operated sporadically or in sequence to generate camera images.
Cameras 402-406 generate images of one or more objects, such as, without limitation, object 408, object 410, and object 412. In this example, the set of cameras includes three (3) cameras. However, the embodiments are not limited to three cameras in the configuration shown in
A video analysis engine analyzes the images generated by cameras 402-406 and identifies color and texture attributes of objects 408-412. For example, and without limitation, the video analysis engine may determine the color of the dog's fur, the color of the crate, the color of clothing worn by the person, distinguish between light and shadow falling on an object, the color of the person's hair, the color of the ground or floor that the person and the dog are standing on, and/or any other color and texture attributes of objects in the images generated by cameras 402-406.
In one embodiment, cameras 402-406 are calibrated to determine the location of each camera, the height 414 of each camera above the ground or above any other known surface, and the distance 416 of each camera from one or more known positions. In one embodiment, during calibration, an object of known dimensions in placed in a stationary position a known distance from each camera and one or more images of the object are generated. The term known dimensions refers to known shapes of portions of the object and known measurements of the object, such as but without limitation, height, length, width, radius, area, volume, and/or weight. The object is then moved to a different location a known distance from each camera and one or more images of the object are generated. This process is continued until images of the object at various known distances from each camera are generated. In another embodiment, the object may be capable of motion, such as a vehicle or a person. In such a case, the object is moved slowly along a predetermined track or course in a given area within recording range of the set of cameras while the cameras generate images of the object. In another embodiment, two or more objects of varying known sizes may be used during calibration. This calibration data, generated by using known objects of known dimensions at known distances from each camera, is used to extrapolate the location, distance, size, and shape of unknown objects in the images.
Color 502 is an attribute that identifies the color of a portion of a surface of an object. Color 502 may be an attribute identifying either a spectral color or a non-spectral color. A spectral color is a color that can be produced by visible light of a single wavelength only. Spectral colors may also be referred to as monochromatic colors. A non-spectral color is a color that is produced by a mixture of various wavelengths of light. Properties of color 504 include properties such as but without limitation, hue, saturation, and brightness. Hue refers to tint, gradations, or variety of color. Hues may be primary, secondary, or tertiary hues. Brightness refers to the luminescence of an object and indicates whether a source appears to emit or reflect a given amount of light.
Combination of colors 506 is an attribute that identifies patterns of two or more colors associated with an object. A pattern of colors may be a pattern of two or more different colors or a pattern of two or more different tones of the same color, such as in a two-tone automobile. Shade 508 identifies light and shadow falling on an object that may alter the appearance of the color of an object. For example, if a solid red car is partially in the sun and partially in the shade, the car may appear to be a two tone car when in fact the car is a uniform red color. Thus, shade 508 identifies light sources and shadows falling on an object.
Texture 510 is an attribute that identifies whether a portion of a surface of an object is rough/coarse or smooth. Identification markings 512 identify markings on the surface of an object, such as letters, numbers, punctuation marks, symbols, and other markings. Identification markings 512 may be found on name tags, identification badges, license plates, bumper stickers, logos, trademarks, labels, serial numbers, and/or signs.
Color and texture attributes 500 are not limited to the attributes shown in
The process begins by making a determination as to whether any objects are in range of a set of cameras (step 602). An object is in range of a camera if the camera is able to record images of the object or a portion of the object. If any objects are in range of the set of cameras, a set of images of the object(s) by the set of cameras are generated (step 604). The set of images are sent to a video analysis engine (step 606), such as, without limitation, video analysis engine 306 in
Returning to step 602, if no objects are in range or after the images are sent to a video analysis engine in step 606, a determination is made as to whether to generate more images of one or more objects by the set of cameras (step 608). If more images are not generated, the process terminates.
Returning to step 608, if a determination is made to generate more images, the set of cameras generates a new set of images (step 610). The set of cameras implements steps 602-610 iteratively until no new images are generated at step 608 and the process terminates.
Turning now to
The process begins by receiving video images from a set of cameras (step 702). The video analysis engine processes and parses the images to form digital video data with metadata describing colors and textures of objects captured in the video images (step 704). The metadata is generated using any known or available method and/or software tools, such as, without limitation, IBM® smart surveillance system (S3) software, color identification software, optical character recognition software, and/or license plate recognition software.
The video analysis engine processes the digital video data to identify a set of color and texture attributes associated with a set of objects shown in the video images (step 706). A cohort generation engine analyzes the set of color and texture attributes using at least one cohort criteria and/or cohort constraints (step 708). In another embodiment, the cohort generation engine may optionally use color patterns and/or a set of data models to analyze the attributes. The cohort generation engine generates a set of cohorts based on the results of analyzing the color and texture attributes (step 710) with the process terminating thereafter. In another embodiment, the cohort generation engine optionally utilizes data models and/or identified video patterns in addition to cohort criteria or instead of cohort criteria to create the set of video cohorts.
Thus, according to one embodiment of the present invention, a computer implemented method, apparatus, and computer program product for generating video based cohorts is provided. A digital video analysis engine processes digital video data to identify a set of color and texture based attributes associated with the set of objects. The digital video data comprises metadata describing the set of objects. A cohort generation engine analyzes the set of color and texture based attributes using cohort criteria to form a result. The cohort criteria specify attributes that are associated with members of a given cohort. The cohort generation engine generates a set of cohorts based on the result. Each cohort in the set of cohorts comprises a subset of objects from the set of objects that share at least one color and texture based attribute in common.
The video cohorts may be used, for example and without limitation, in sales, marketing, marketing research, medical and diagnostic research, public health, demographic research, marketing trends, safety and/or security. The video cohorts may also be used for quality control in the food industry, in pharmaceuticals, manufacturing, diagnostics, and other areas.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.