CN109872277A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN109872277A
CN109872277A CN201711260738.1A CN201711260738A CN109872277A CN 109872277 A CN109872277 A CN 109872277A CN 201711260738 A CN201711260738 A CN 201711260738A CN 109872277 A CN109872277 A CN 109872277A
Authority
CN
China
Prior art keywords
processed
image
region
information
repaired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711260738.1A
Other languages
Chinese (zh)
Inventor
侯会满
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711260738.1A priority Critical patent/CN109872277A/en
Publication of CN109872277A publication Critical patent/CN109872277A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the present application discloses information processing method and device.One specific embodiment of this method includes: to obtain information to be processed, wherein information to be processed includes image to be processed, and image to be processed includes the region in the region of shown article and the object of the shown article of clamping;The region of the object of the shown article of clamping in image to be processed is identified using image recognition technology;Remove the region of the object of the shown article of clamping in image to be processed;The region that is removed in image to be processed is repaired, the image after being repaired;The information after repairing is generated using the image after reparation.Information after repairing in the embodiment can the shown article of displaying without dead angle.

Description

Information processing method and device
Technical field
The invention relates to field of computer technology, and in particular at Internet technical field more particularly to information Manage method and apparatus.
Background technique
With the development of e-commerce and development of Mobile Internet technology and business, with the intelligent terminals such as mobile phone purchase article at The consumption habit of more and more people.Currently, intelligent terminal can show the information such as picture, text, the video of article to user, with The various attribute informations of article are obtained for user.
Currently, the ways of presentation of article appearance includes following several: the first, multiple in different angle shooting article are static Image, so that user browses the article appearance of multiple angles;The second, multiple still images of the article of different angle shooting are utilized 3D modeling is carried out, so that user browses the 3D model of article;Article is placed on turntable by third, and it is small to rotate horizontally 360 degree of recordings Video, so that user checks the article appearance of different angle in video.
Summary of the invention
The purpose of the embodiment of the present application is to propose a kind of information processing method and device.
In a first aspect, the embodiment of the present application provides a kind of information processing method, this method comprises: obtaining letter to be processed Breath, wherein information to be processed includes image to be processed, and image to be processed includes region and the clamping institute's display material of shown article The region of the object of product;The area of the object of the shown article of clamping in image to be processed is identified using image recognition technology Domain;Remove the region of the object of the shown article of clamping in image to be processed;To in image to be processed be removed region into Row is repaired, the image after being repaired;The information after repairing is generated using the image after reparation.
In some embodiments, image to be processed includes background area;And region is removed in image to be processed It is repaired, comprising: be removed the regional area that region includes background area in response to determination, acquire the background of image to be processed Area information;It is repaired using regional area of the background area information to background area.
In some embodiments, the region that is removed in image to be processed is repaired, comprising: gone in response to determination Except region includes the first partial region in the region of shown article, acquire in the region of shown article with first partial region Second local region information of the second adjacent regional area;First partial region is repaired using the second local region information It is multiple.
In some embodiments, the object for clamping shown article is manpower;And it is identified using image recognition technology The region of the object of the shown article of clamping in image to be processed, comprising: extract the Skin Color Information of manpower;Utilize Skin Color Information Each pixel of image to be processed is identified, identification make in image to be processed with the consistent pixel of Skin Color Information, With the region of the manpower in determination image to be processed.
In some embodiments, the region that is removed in image to be processed is repaired, comprising: calculated by Rapid matching Method repairs the region that is removed in image to be processed.
In some embodiments, information to be processed is video to be processed, image to be processed be in video to be processed at least One frame image to be processed;And the information after repairing is generated using the image after repairing, comprising: utilize at least frame after repairing Image replaces at least frame image to be processed in video to be processed, to generate the video after repairing.
Second aspect, the embodiment of the present application provide a kind of information processing unit, which includes: acquiring unit, configuration For obtaining information to be processed, wherein information to be processed includes image to be processed, and image to be processed includes the area of shown article The region of the object of domain and the shown article of clamping;Recognition unit is configured to identify using image recognition technology to be processed The region of the object of the shown article of clamping in image;Removal unit is configured to remove the clamping institute in image to be processed Show the region of the object of article;Unit is repaired, is configured to repair the region that is removed in image to be processed, obtain Image after reparation;Generation unit is configured to generate the information after repairing using the image after repairing.
In some embodiments, image to be processed includes background area;And repairing unit includes: that the first acquisition is single Member is configured to be removed the regional area that region includes background area in response to determination, acquires the background area of image to be processed Domain information;First repairs subelement, is configured to repair using regional area of the background area information to background area.
In some embodiments, repairing unit includes: the second acquisition subelement, is configured to be removed area in response to determination Domain includes the first partial region in the region of shown article, is acquired adjacent with first partial region in the region of shown article The second regional area the second local region information;Second repairs subelement, is configured to utilize the second local region information First partial region is repaired.
In some embodiments, the object for clamping shown article is manpower;And recognition unit includes: to extract son list Member is configured to extract the Skin Color Information of manpower;It identifies subelement, is configured to using Skin Color Information to the every of image to be processed A pixel identified, identification make in image to be processed with the consistent pixel of Skin Color Information, with determination image to be processed In manpower region.
In some embodiments, it repairs unit to be further configured to: by Fast Match Algorithm in image to be processed The region that is removed repaired.
In some embodiments, information to be processed is video to be processed, image to be processed be in video to be processed at least One frame image to be processed;And repair unit and be further configured to: being replaced using at least frame image after repairing to be processed At least frame image to be processed in video, to generate the video after repairing.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, which includes: one or more processing Device;Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, make Obtain method of the one or more processors realization as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the method as described in implementation any in first aspect when the computer program is executed by processor.
Information processing method and device provided by the embodiments of the present application identify image to be processed by image recognition technology In the shown article of clamping object region;The area of the object of the shown article of clamping in image to be processed is removed later Domain;Then the region that is removed in image to be processed is repaired, thus the image after being repaired;It finally utilizes after repairing Image generate repair after information.To allow displaying shown article of the information without dead angle after repairing.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the embodiment of the present application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the information processing method of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the information processing method of the application;
Fig. 4 is the flow chart according to another embodiment of the information processing method of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the information processing unit of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the information processing method of the embodiment of the present application or the exemplary system of information processing unit Framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
The image or video that terminal device 101,102,103 shoots article can be used in user, and passes through network 104 for institute The image or video of the article of shooting are sent in server 105.Terminal device 101,102,103 can be with various functions Terminal device, such as camera function, camera function etc..
Terminal device 101,102,103 can be various electronic equipments, including but not limited to smart phone, tablet computer, Pocket computer on knee, camera, video camera and camera etc..
Server 105 can provide various services, such as server 105 can be obtained to from terminal device 101,102,103 The data such as the information to be processed got carry out the processing such as analyzing, and generate processing result (such as information after repairing).
It should be noted that information processing method provided by the embodiment of the present application is generally executed by server 105, accordingly Ground, information processing unit are generally positioned in server 105.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.It should be noted that being deposited in advance in information to be processed In the case that storage is in server 105, system architecture 100 can be not provided with terminal device 101,102,103.
With continued reference to Fig. 2, it illustrates the processes 200 according to one embodiment of the information processing method of the application.It should Information processing method, comprising the following steps:
Step 201, information to be processed is obtained.
In the present embodiment, the electronic equipment (such as server 105 shown in FIG. 1) of information processing method operation thereon Can from local or communicate with connection terminal device (such as terminal device shown in FIG. 1 101,102,103) obtain to Handle information.Wherein, information to be processed can be the image or video shot by mobile phone, camera, video camera or camera.It is logical Often, for the appearance of comprehensive displaying article, information to be processed, which can be, clamps article progress all angles rotation by object Turn captured image or video.Information to be processed may include image to be processed, and image to be processed may include institute's display material The region of the object in the region and the shown article of clamping of product.
Step 202, the area of the object of the shown article of clamping in image to be processed is identified using image recognition technology Domain.
In the present embodiment, based on information to be processed acquired in step 201, electronic equipment can use image recognition skill Art identifies the region of the object of the shown article of clamping in image to be processed.Wherein, image recognition technology is artificial intelligence A key areas, can to image carry out Object identifying, to identify the target of various different modes and to the technology of picture.It is real In trampling, image to be processed be light source is more sufficient, plain background in the case where captured image, therefore, in image usually Only have different characteristics comprising shown article with the two objects of the object of shown article, the two objects are clamped, and Feature gap is larger, therefore according to the feature for the object for clamping shown article, can quickly recognize out in image to be processed The shown article of clamping object region.
In some optional implementations of the present embodiment, the case where object of shown article is manpower is being clamped Under, electronic equipment can extract the Skin Color Information of manpower first;Then using Skin Color Information to each pixel of image to be processed Point identified, identification make in image to be processed with the consistent pixel of Skin Color Information, with the people in determination image to be processed The region of hand.Wherein, Skin Color Information can also be shown good as a kind of important feature in the case where manpower shift in position Stability, can be good at distinguishing with the background of image to be processed.Light source is more sufficient, plain background in the case where, The tone of manpower skin is almost the same, therefore the area that the manpower in image to be processed is determined using colouring information may be implemented Domain.As an example, electronic equipment can firstly generate the image array of image to be processed;Then each member of image array is determined Whether element meets preset condition, if meeting preset condition, it is determined that point corresponding to the element belongs to the region of manpower, if discontented Sufficient preset condition, it is determined that point corresponding to the element is not belonging to the region of manpower.Wherein, the row correspondence image of image array Height, the width of the column correspondence image of image array, the pixel of the element correspondence image of image array.In the feelings that image is color image Under condition, the element of image array corresponds to the RGB of color image (Red Green Blue, RGB) value.In general, human eyesight institute Can perception all colours be by red (R), green (G), blue (B) three Color Channels variation and they between each other Superposition obtain.
Step 203, the region of the object of the shown article of clamping in image to be processed is removed.
In the present embodiment, the region of the object of the shown article of clamping identified based on step 202, electronic equipment The region of the object of the shown article of clamping in image to be processed can be removed.As an example, electronic equipment can directly by The region of the object of shown article is clamped to remove from stingy in image to be processed.
Step 204, the region that is removed in image to be processed is repaired, the image after being repaired.
In the present embodiment, electronic equipment can use image restoration technology and carry out to region is removed in image to be processed It repairs, thus the image after being repaired.Specifically, removal can be clamped the region of the object of shown article by electronic equipment Image to be processed as breakage image, then using traditional fine arts production and camera work or use computer graphical Image technique repairs breakage image on the basis of keeping original style as far as possible.For example, adjustable shadow/bloom with Improve image display effect, the background area information filling that also can use image to be processed is removed region.
In some optional implementations of the present embodiment, electronic equipment can pass through Fast Match Algorithm (Fast Matching Method, FMM) region that is removed in image to be processed is repaired.Wherein, FMM is based on the idea that be first The pixel being removed in edges of regions is handled, is then inwardly promoted layer by layer, until having repaired all pixels.
Step 205, the information after repairing is generated using the image after reparation.
In the present embodiment, based on the image after reparation obtained in step 204, after reparation can be generated in electronic equipment Information.
It is the article in different angle shooting in information to be processed in some optional implementations of the present embodiment Multiple still images, in the case that image to be processed is an at least width still image therein, electronic equipment can use reparation Image afterwards replaces at least width still image in multiple still images for the article that different angle is shot, and is repaired with generating Image afterwards.Because there is no the regions for the object for clamping shown article in the image after repairing, the figure after repairing The article shown as in will not be blocked by any object, to allow displaying institute display material of the image without dead angle after repairing Product.
It is video to be processed, image to be processed in information to be processed in some optional implementations of the present embodiment In the case where being at least frame image to be processed in video to be processed, electronic equipment can use at least frame figure after repairing As replacing at least frame image to be processed in video to be processed, to generate the video after repairing.Video after reparation can be The small video of comprehensive displaying article, and the article shown in the video after reparation will not be blocked by any object.Compared to The small video of 360 degree of recordings is rotated horizontally, the video after reparation can show the top and bottom of article, to make after repairing Video can the shown article of displaying without dead angle;Compared to the 3D model of article, the workload of the video after being repaired is more Small, the time is shorter.
With continued reference to the schematical application scenarios that Fig. 3, Fig. 3 are according to the information processing method of the present embodiment.? In the application scenarios of Fig. 3, firstly, the available image 301 using hand-held cup captured by camera of server;Then, it takes The image recognition technology that business device can use identifies the manpower region in the image 301 of hand-held cup, and removes hand-held cup Manpower region in image 301 obtains the image 302 in removal manpower region;Finally, server can use removal manpower region Image 302 in background information filling removal manpower region image 302 in be removed region, the image after being repaired 303。
Information processing method provided by the embodiments of the present application identifies the folder in image to be processed by image recognition technology Hold the region of the object of shown article;The region of the object of the shown article of clamping in image to be processed is removed later;So The region that is removed in image to be processed is repaired afterwards, thus the image after being repaired;Finally utilize the figure after repairing As generating the information after repairing.To allow displaying shown article of the information without dead angle after repairing.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of information processing method.The information processing The process 400 of method, comprising the following steps:
Step 401, information to be processed is obtained.
In the present embodiment, the electronic equipment (such as server 105 shown in FIG. 1) of information processing method operation thereon Can from local or communicate with connection terminal device (such as terminal device shown in FIG. 1 101,102,103) obtain to Handle information.Wherein, information to be processed can be the image or video shot by mobile phone, camera, video camera or camera.It is logical Often, for the appearance of comprehensive displaying article, information to be processed, which can be, clamps article progress all angles rotation by object Turn captured image or video.Information to be processed may include image to be processed, and image to be processed may include institute's display material The region of the object in the region and the shown article of clamping of product.
Step 402, the area of the object of the shown article of clamping in image to be processed is identified using image recognition technology Domain.
In the present embodiment, based on information to be processed acquired in step 401, electronic equipment can use image recognition skill Art identifies the region of the object of the shown article of clamping in image to be processed.Wherein, image recognition technology is artificial intelligence A key areas, can to image carry out Object identifying, to identify the target of various different modes and to the technology of picture.It is real In trampling, image to be processed be light source is more sufficient, plain background in the case where captured image, therefore, in image usually Only have different characteristics comprising shown article with the two objects of the object of shown article, the two objects are clamped, and Feature gap is larger, therefore according to the feature for the object for clamping shown article, can quickly recognize out in image to be processed The shown article of clamping object region.
Step 403, the region of the object of the shown article of clamping in image to be processed is removed.
In the present embodiment, the region of the object of the shown article of clamping identified based on step 402, electronic equipment The region of the object of the shown article of clamping in image to be processed can be removed first;Then step 404 and/or step are executed 404'.As an example, electronic equipment can directly will the shown article of clamping object region from stingy in image to be processed It removes.
Step 404, it is removed the regional area that region includes background area in response to determination, acquires the back of image to be processed Scenic spot domain information.
In the present embodiment, electronic equipment can determine be removed region whether include background area regional area, Determine that electronic equipment can acquire the background of image to be processed in the case where being removed the regional area that region includes background area Area information.In practice, image to be processed be light source is more sufficient, plain background in the case where captured image, therefore Image to be processed generally includes background area.Wherein, background area information can include but is not limited to: the color of background area, The brightness of background area, the texture of background area etc..
Step 405, it is repaired using regional area of the background area information to background area.
In the present embodiment, it is based on step 404 background area information collected, electronic equipment can use background area Information repairs the regional area of background area.For example, can use the background area information filling back of image to be processed The regional area of scene area.
In some optional implementations of the present embodiment, electronic equipment can be by FMM to the part of background area It is repaired in region.Specifically, electronic equipment can acquire the pixel of background area, first be replaced using the pixel of background area The pixel on the edge of the regional area of background area is changed, is then promoted layer by layer, until having repaired all pixels.
Step 404' is removed the first partial region in the region that region includes shown article, acquisition in response to determining Second local region information of second regional area adjacent with first partial region in the region of shown article.
In the present embodiment, electronic equipment can determine be removed region whether include shown article region first Regional area, in the case where determining that being removed region includes first partial region, electronic equipment can acquire shown article Region in second regional area adjacent with first partial region the second local region information.Wherein, the second regional area It is the neighborhood in first partial region, in general, first partial region and the second regional area feature having the same, the second partial zones Domain information can include but is not limited to: the color of the second regional area, the brightness of the second regional area, the second regional area line Reason etc..
Step 405' repairs first partial region using the second local region information.
In the present embodiment, it is based on step 404' the second local region information collected, electronic equipment can use the Two local region informations repair first partial region.For example, can use the second local region information filling first game Portion region.
In some optional implementations of the present embodiment, electronic equipment can by FMM to first partial region into Row is repaired.Specifically, electronic equipment can acquire the pixel of the second regional area, first using the pixel of the second regional area The pixel on the edge in first partial region is replaced, is then promoted layer by layer, until having repaired all pixels.
Step 406, the information after repairing is generated using the image after reparation.
In the present embodiment, the image after the obtained reparation of reparation based on step 405 and/or step 405', electronics The information after repairing can be generated in equipment.
It should be noted that the present embodiment may be performed simultaneously step 404-405 and step 404'-405', it can also be only One of step 404-405 and step 404'-405' are executed, the present embodiment is not limited this.
Figure 4, it is seen that compared with the corresponding embodiment of Fig. 2, the process of the information processing method in the present embodiment 400 highlight to being removed the step of region is repaired.The scheme of the present embodiment description is repaired using background area information as a result, It is removed the regional area of the background area in region again, is removed in region, institute using the second local region information reparation The first partial region in the region of article is shown, to keep the image after repairing truer.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of information processing apparatus The one embodiment set, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively In kind electronic equipment.
As shown in figure 5, the information processing unit 500 of the present embodiment may include: acquiring unit 501, recognition unit 502, Removal unit 503 repairs unit 504 and generation unit 505.Wherein, acquiring unit 501 are configured to obtain information to be processed, Wherein, information to be processed includes image to be processed, and image to be processed includes region and the shown article of clamping of shown article Object region;Recognition unit 502 is configured to identify the clamping institute exhibition in image to be processed using image recognition technology Show the region of the object of article;Removal unit 503 is configured to remove the object of the shown article of clamping in image to be processed Region;Unit 504 is repaired, is configured to repair the region that is removed in image to be processed, the figure after being repaired Picture;Generation unit 505 is configured to generate the information after repairing using the image after repairing.
In the present embodiment, in information processing unit 500: acquiring unit 501, removal unit 503, is repaired recognition unit 502 The specific processing of multiple unit 504 and generation unit 505 and its brought technical effect can be respectively with reference in Fig. 2 corresponding embodiments Step 201, step 202, step 203, the related description of step 204 and step 205, details are not described herein.
In some optional implementations of the present embodiment, image to be processed may include background area, and repair Unit may include: the first acquisition subelement (not shown), be configured in response to determining that being removed region includes background The regional area in region acquires the background area information of image to be processed;First repairs subelement (not shown), and configuration is used It is repaired in using regional area of the background area information to background area.
In some optional implementations of the present embodiment, repairing unit may include: the second acquisition subelement (in figure It is not shown), it is configured to be removed the first partial region in the region that region includes shown article in response to determining, acquires institute Show the second local region information of the second regional area adjacent with first partial region in the region of article;Second repairs son Unit (not shown) is configured to repair first partial region using the second local region information.
In some optional implementations of the present embodiment, the object for clamping shown article can be manpower, and Recognition unit 502 may include: to extract subelement (not shown), be configured to extract the Skin Color Information of manpower;Identification Unit (not shown) is configured to be identified using each pixel of the Skin Color Information to image to be processed, identifies and determine Out in image to be processed with the consistent pixel of Skin Color Information, with the region of the manpower in determination image to be processed.
In some optional implementations of the present embodiment, repairing unit 504 can be further configured to: by fast Fast matching algorithm repairs the region that is removed in image to be processed.
In some optional implementations of the present embodiment, information to be processed can be video to be processed, figure to be processed As can be at least frame image to be processed in video to be processed;And reparation unit 504 can be further configured to: benefit At least frame image to be processed in video to be processed is replaced at least frame image after reparation, to generate the view after repairing Frequently.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet It includes acquiring unit, recognition unit, removal unit, repair unit and generation unit.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself, for example, acquiring unit is also described as " obtaining the list of information to be processed Member ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment. Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the electronic equipment When row, so that the electronic equipment: obtaining information to be processed, wherein information to be processed includes image to be processed, image packet to be processed It includes the region of shown article and clamps the region of the object of shown article;Figure to be processed is identified using image recognition technology The region of the object of the shown article of clamping as in;Remove the area of the object of the shown article of clamping in image to be processed Domain;The region that is removed in image to be processed is repaired, the image after being repaired;It is repaired using the image generation after reparation Information after multiple.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of information processing method, which comprises
Obtain information to be processed, wherein the information to be processed includes image to be processed, and the image to be processed includes being shown The region of the object in the region and the shown article of clamping of article;
The region of the object of the shown article of clamping in the image to be processed is identified using image recognition technology;
Remove the region of the object of the shown article of clamping in the image to be processed;
The region that is removed in the image to be processed is repaired, the image after being repaired;
The information after repairing is generated using the image after the reparation.
2. according to the method described in claim 1, wherein, the image to be processed includes background area;And
It repairs in the region that is removed in the image to be processed, comprising:
In response to being removed the regional area that region includes the background area described in determination, the back of the image to be processed is acquired Scenic spot domain information;
The regional area of the background area is repaired using the background area information.
3. according to the method described in claim 2, wherein, the region that is removed in the image to be processed is repaired It is multiple, comprising:
The first partial region in the region for including shown article in response to being removed region described in determination acquires shown article Region in second regional area adjacent with the first partial region the second local region information;
The first partial region is repaired using second local region information.
4. according to the method described in claim 1, wherein, the object for clamping shown article is manpower;And
The region of the object that the shown article of clamping in the image to be processed is identified using image recognition technology, packet It includes:
Extract the Skin Color Information of the manpower;
It is identified using each pixel of the Skin Color Information to the image to be processed, the figure to be processed is made in identification As in the consistent pixel of the Skin Color Information, with the region of the manpower in the determination image to be processed.
5. method described in one of -4 according to claim 1, wherein it is described in the image to be processed be removed region into Row is repaired, comprising:
The region that is removed in the image to be processed is repaired by Fast Match Algorithm.
6. according to the method described in claim 1, wherein, the information to be processed is video to be processed, the image to be processed It is at least frame image to be processed in the video to be processed;And
The image using after the reparation generates the information after repairing, comprising:
At least frame image to be processed in the video to be processed is replaced using at least frame image after reparation, is repaired with generating Video after multiple.
7. a kind of information processing unit, described device include:
Acquiring unit is configured to obtain information to be processed, wherein the information to be processed includes image to be processed, it is described to Processing image includes the region in the region of shown article and the object of the shown article of clamping;
Recognition unit is configured to identify the shown article of clamping in the image to be processed using image recognition technology The region of object;
Removal unit is configured to remove the region of the object of the shown article of clamping in the image to be processed;
Unit is repaired, is configured to repair the region that is removed in the image to be processed, the image after being repaired;
Generation unit is configured to generate the information after repairing using the image after the reparation.
8. device according to claim 7, wherein the image to be processed includes background area;And
The reparation unit includes:
First acquisition subelement, is configured in response to being removed the partial zones that region includes the background area described in determination Domain acquires the background area information of the image to be processed;
First repairs subelement, is configured to repair the regional area of the background area using the background area information It is multiple.
9. device according to claim 8, wherein the reparation unit includes:
Second acquisition subelement, be configured in response to being removed region described in determination include the region of shown article first Regional area acquires the second part of the second regional area adjacent with the first partial region in the region of shown article Area information;
Second repairs subelement, is configured to repair the first partial region using second local region information It is multiple.
10. device according to claim 7, wherein the object of the shown article of clamping is manpower;And
The recognition unit includes:
Subelement is extracted, is configured to extract the Skin Color Information of the manpower;
It identifies subelement, is configured to identify using each pixel of the Skin Color Information to the image to be processed, Identification make in the image to be processed with the consistent pixel of the Skin Color Information, with the people in the determination image to be processed The region of hand.
11. the device according to one of claim 7-10, wherein the reparation unit is further configured to:
The region that is removed in the image to be processed is repaired by Fast Match Algorithm.
12. device according to claim 7, wherein the information to be processed is video to be processed, the image to be processed It is at least frame image to be processed in the video to be processed;And
The reparation unit is further configured to:
At least frame image to be processed in the video to be processed is replaced using at least frame image after reparation, is repaired with generating Video after multiple.
13. a kind of electronic equipment, the electronic equipment include:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with computer program, wherein the computer program is processed Such as method as claimed in any one of claims 1 to 6 is realized when device executes.
CN201711260738.1A 2017-12-04 2017-12-04 Information processing method and device Pending CN109872277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711260738.1A CN109872277A (en) 2017-12-04 2017-12-04 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711260738.1A CN109872277A (en) 2017-12-04 2017-12-04 Information processing method and device

Publications (1)

Publication Number Publication Date
CN109872277A true CN109872277A (en) 2019-06-11

Family

ID=66915627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711260738.1A Pending CN109872277A (en) 2017-12-04 2017-12-04 Information processing method and device

Country Status (1)

Country Link
CN (1) CN109872277A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519515A (en) * 2019-08-28 2019-11-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN112729150A (en) * 2019-10-14 2021-04-30 中国科学院沈阳自动化研究所 Method for measuring catheter clamped by robot

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521805A (en) * 2011-11-30 2012-06-27 华中科技大学 Video word processing method based on interframe information
CN102831584A (en) * 2012-08-02 2012-12-19 中山大学 Data-driven object image restoring system and method
CN103049756A (en) * 2012-11-16 2013-04-17 健雄职业技术学院 Method for automatically extracting and removing words in color image on basis of CEMA (Cellular Message Encryption Algorithm) and texture matching repairing technology
CN103208107A (en) * 2012-01-17 2013-07-17 展讯通信(上海)有限公司 Terminal and method and device for repairing image
EP2916261A2 (en) * 2014-03-07 2015-09-09 Fujitsu Limited Detecting device and detecting method
CN106874845A (en) * 2016-12-30 2017-06-20 东软集团股份有限公司 The method and apparatus of image recognition
CN106878692A (en) * 2017-01-13 2017-06-20 四川大学 A kind of method for displaying three-dimensional object thereby that is blocked based on Fourier spectrum
CN106911896A (en) * 2017-02-28 2017-06-30 努比亚技术有限公司 A kind of image processing apparatus and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521805A (en) * 2011-11-30 2012-06-27 华中科技大学 Video word processing method based on interframe information
CN103208107A (en) * 2012-01-17 2013-07-17 展讯通信(上海)有限公司 Terminal and method and device for repairing image
CN102831584A (en) * 2012-08-02 2012-12-19 中山大学 Data-driven object image restoring system and method
CN103049756A (en) * 2012-11-16 2013-04-17 健雄职业技术学院 Method for automatically extracting and removing words in color image on basis of CEMA (Cellular Message Encryption Algorithm) and texture matching repairing technology
EP2916261A2 (en) * 2014-03-07 2015-09-09 Fujitsu Limited Detecting device and detecting method
CN106874845A (en) * 2016-12-30 2017-06-20 东软集团股份有限公司 The method and apparatus of image recognition
CN106878692A (en) * 2017-01-13 2017-06-20 四川大学 A kind of method for displaying three-dimensional object thereby that is blocked based on Fourier spectrum
CN106911896A (en) * 2017-02-28 2017-06-30 努比亚技术有限公司 A kind of image processing apparatus and method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ALEXANDRU TELEA: "An Image Inpainting Technique Based on the Fast Marching Method", 《JOURNAL OF GRAPHICS TOOLS》 *
SANDESH V KHAMELE, ET AL.: "An Approach for Removal of Occlusion using Examplar based Image-Inpainting Technique:A Review", 《INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH & TECHNOLOGY》 *
张燕翔 等: "《虚拟/增强现实技术及其应用》", 31 January 2017, 中国科学技术大学出版社 *
王宇新 等: "遮挡物体移除与图像纹理修补方法", 《计算机辅助设计与图形学学报》 *
锐艺视觉: "《数码摄影与后期修饰精技》", 31 August 2011, 中国青年出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519515A (en) * 2019-08-28 2019-11-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN112729150A (en) * 2019-10-14 2021-04-30 中国科学院沈阳自动化研究所 Method for measuring catheter clamped by robot
CN112729150B (en) * 2019-10-14 2021-10-22 中国科学院沈阳自动化研究所 Method for measuring catheter clamped by robot

Similar Documents

Publication Publication Date Title
CN111787242B (en) Method and apparatus for virtual fitting
CN110427917A (en) Method and apparatus for detecting key point
CN112954450B (en) Video processing method and device, electronic equipment and storage medium
CN112241714B (en) Method and device for identifying designated area in image, readable medium and electronic equipment
WO2019075268A1 (en) Image processing method, apparatus, and storage medium
US10769718B1 (en) Method, medium, and system for live preview via machine learning models
CN109891466A (en) The enhancing of 3D model scans
US20140247272A1 (en) Image processing apparatus, method and computer program product
CN108846377A (en) Method and apparatus for shooting image
CN108492364A (en) The method and apparatus for generating model for generating image
CN109903291A (en) Image processing method and relevant apparatus
CN109982036A (en) A kind of method, terminal and the storage medium of panoramic video data processing
CN110472460A (en) Face image processing process and device
CN109255767A (en) Image processing method and device
CN110047122A (en) Render method, apparatus, electronic equipment and the computer readable storage medium of image
CN108876858A (en) Method and apparatus for handling image
CN108694719A (en) image output method and device
US10939143B2 (en) System and method for dynamically creating and inserting immersive promotional content in a multimedia
CN107622504A (en) Method and apparatus for handling picture
CN108882025A (en) Video frame treating method and apparatus
CN108171167B (en) Method and apparatus for exporting image
CN110705335A (en) Method and device for labeling sample picture
CN109495767A (en) Method and apparatus for output information
CN109872277A (en) Information processing method and device
CN106997366B (en) Database construction method, augmented reality fusion tracking method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190611