Removing content from images has long been performed manually, whether content is blacked out, faded, etc. Image editor products exist that edit images. The ability to selectively “hide” content of an image is limited, however, by the manual removal processes available in image editor products. These removal processes are manually performed on each image individually, which is time consuming, and error prone.
Disclosed herein is a method for modifying images, and a system and computer program product as specified in the independent claims. Embodiments are given in the dependent claims. Embodiments can be freely combined with each other if they are not mutually exclusive.
Embodiments automatically remove content from images based on profiles. Embodiments generally relate to modifying images. In some embodiments, a method includes accessing one or more images to be sent to at least one recipient. The method further includes accessing a profile, where the profile contains one or more rules for modifying images. The method further includes identifying content in the one or more images to be modified based on the one or more rules. The method further includes modifying the content in the one or more images based on the one or more rules, where the modifying of the content provides modified one or more images. The method further includes sending the modified one or more images to the at least one recipient.
In another aspect, the profile is associated with a sender of the one or more images. In another aspect, the content in the one or more images to be modified includes one or more objects, and where the modifying of the content in the one or more images includes modifying the one or more objects in the one or more images. In another aspect, the modifying of the content in the one or more images includes obscuring the content. In another aspect, the one or more rules include obscuring at least one object in the one or more images, and where the at least one object is associated with a person. In another aspect, the one or more rules include obscuring at least one object in the one or more images, and where the at least one object is associated with a location. In another aspect, the one or more rules include obscuring at least one object in the one or more images, and where the at least one object is associated with predetermined text.
Embodiments described herein facilitate removal of content from images. Embodiments automatically determine what content in images to obscure based on a user-specified profile, and embodiment provide variability in what aspects of the image are to be obscured based on the profile. Embodiments provide protection of the identity of particular profile-designated individuals in an image (e.g., group picture, etc.). For example, the profile may indicate that the system may obscure the face of a particular user in the image sent to one or more recipients. In various embodiments, the content to obfuscate may be explicitly specified or the inverse may also be specified, which is to obfuscate all content except a specific aspect of the image.
In some embodiments a system accesses an image to be sent to at least one recipient. The system further accesses a profile, where the profile contains one or more rules for modifying images. The system identifies content in the image to be modified based on the one or more rules. The system modifies the content in the image based on the one or more rules, which results in one more modified images. The method may then send one or more of the modified images to the at least one recipient.
In various embodiments, the server device 104 accesses the image 112 from a set of images 122 stored on the database 106, or other suitable storage location. The server device 104 also accesses the profile 114 from a set of profiles 124 stored on the database 106, or other suitable storage location.
The server device 104 modifies the image 112 to create one or more modified images such as modified image 116. The server device 104 may then store the modified image 116 on the database 106, or other suitable storage location, and send the modified image 116 to client devices of one or more users. For example, the server device 104 may send the modified image 116 to a client device 130.
For ease of illustration,
While the server device 104 performs embodiments described herein, in other embodiments, any suitable component or combination of components associated with the server device 104 or any suitable processor or processors associated with the server device 104 may facilitate performing the embodiments described herein.
At block 204, the system 102 accesses a profile, where the profile 114 contains one or more rules for modifying images. As indicated herein, the profile 114 dynamically specifies the content to be modified (e.g., obscured) in the image 112.
For example, the profile 114 stores information on how to modify a particular image and/or group of images. For example, the profile 114 may indicate particular people or other objects in an image to obscure. Example rules for modifying images are described in more detail herein.
In various embodiments, the profile 114 is associated with a sender of the image. In an example scenario, the sender of the image 112 may be the person who took a photo containing the image using a camera. The profile 114 may be associated with that person. In various embodiments, the system 102 enables the person or user to specify particular individuals (e.g., the person child, etc.) to be obscured from the image when sent. The system 102 creates a modified image 116 to be sent in place of the original image 112.
At block 206, the system 102 identifies content in the image 112 to be modified based on the one or more rules. In various embodiments, the system 102 may use image recognition such as facial recognition to identify the content. In some embodiments, content identification may occur using several processes. For example, one can use global positioning system (GPS) metadata in an image to understand the location at which the image was taken. If the rules specify to obfuscate all indications of that location, those non-animate objects in the picture are removed. If the rule specifies a person, the rule may contain a person's image, which would be used to “image match” within the image to be pixelated. The matching image would be removed, or if inverse rules were used all other images except the person would be removed based on image matching. In some embodiments, the content to obfuscate may be explicitly specified or the inverse may also be specified, which is to obfuscate all content except a specific aspect of the image.
At block 208, the system 102 modifies the content in the image 112 based on the one or more rules, where the modifying of the content provides the modified images 116. As indicated herein, the content in the image to be modified includes one or more objects. For example, referring still to
In various embodiments, the modifying of the content in the image includes obscuring the content. For example, in this particular example scenario, the system 102 modifies the object or portion of the image (e.g., face 306) of the person P3 and modifies the object or portion of the image (e.g. text 304) of the sign 302. The system 102 may then store the modified image 116 in a suitable location such as database 106 of
At block 210, the system sends the modified image to the one or more recipients. After the desired content is removed, that content is not reproducible by the receiver of the image. In some embodiments, the system may also save the modified image to a storage device.
Each rule for modifying the image defines at least one action to be taken on one or more objects identified in the image. These rules manage the characteristics of the content of an image by controlling what objects or portions of an image are visible or not visible (e.g., obscured). For example, in various embodiments, the one or more rules include obscuring at least one object in the image. In various embodiments, the process can be either positive (e.g., obscure specified content) or negative (e.g., obscure all content except the specified content).
In some embodiments, at least one object to be obscured is associated with a person. For example, the profile may indicate that a specified person be obscured from one or more images. As such, in any given image, the object that represents the specified person will be obscured (e.g., the face 306 of person P3 of
In some embodiments, at least one object to be obscured is associated with a location. For example, the profile may indicate that the system should obscure objects that help to recognize the location where the image was taken. As such, in any given image, the system will obscure any objects that indicate location.
In some embodiments, at least one object to be obscured is associated with predetermined text. For example, the profile may indicate that the system should obscure text that helps indicates the location where the image was taken. As such, in any given image, the system will obscure any text that indicates location (e.g., text 304 in the modified image 116 of
In some embodiments, to obscure a particular object, the system may pixelate the object to be obscured in the image. The system may pixelate the specified object, where the system does not pixelate other objects. As a result, all objects in the image are visible except for the obscured object or objects (e.g., face 306 and text 304 in the modified image 116 of
Various techniques for obscuring an object in an image may vary, and the specific technique or techniques used will depend on the particular implementation. In some embodiments, to obscure a particular object, the system removes the object from the image. The system leaves the remaining objects intact. As a result, all objects in the image are visible except for the obscured object or objects. In some embodiments, the rules may specify the resultant blending for removed content. In some embodiments, the rules may remove content while blending the adjacent areas of the image to give the appearance that the content was not modified. Rules may specify the level of removal and blending desired.
While some embodiments are described herein in the context of images (e.g., photos), these embodiments and others may also apply to a series of images (e.g., videos).
Although the steps, operations, or computations may be presented in a specific order, the order may be changed in particular embodiments. Other orderings of the steps are possible, depending on the particular embodiment. In some particular embodiments, multiple steps shown as sequential in this specification may be performed at the same time. Also, some embodiments may not have all of the steps shown and/or may have other steps instead of, or in addition to, those shown herein.
For ease of illustration,
While the server 402 performs embodiments described herein, in other embodiments, any suitable component or combination of components associated with the server 402 or any suitable processor or processors associated with the server 402 may facilitate performing the embodiments described herein. In various embodiments, the environment 400 may not have all of the components shown and/or may have other elements including other types of components instead of, or in addition to, those shown herein.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments 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 described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: 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), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may include copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions 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). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein 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 readable program instructions.
These computer readable 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 readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein includes an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 instructions, which includes one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks 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 carry out combinations of special purpose hardware and computer instructions.