CN107357527A - A kind of photo processing method, device and storage medium, electronic equipment - Google Patents

A kind of photo processing method, device and storage medium, electronic equipment Download PDF

Info

Publication number
CN107357527A
CN107357527A CN201710535725.4A CN201710535725A CN107357527A CN 107357527 A CN107357527 A CN 107357527A CN 201710535725 A CN201710535725 A CN 201710535725A CN 107357527 A CN107357527 A CN 107357527A
Authority
CN
China
Prior art keywords
photo
database model
memory
feature information
image feature
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.)
Granted
Application number
CN201710535725.4A
Other languages
Chinese (zh)
Other versions
CN107357527B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710535725.4A priority Critical patent/CN107357527B/en
Publication of CN107357527A publication Critical patent/CN107357527A/en
Application granted granted Critical
Publication of CN107357527B publication Critical patent/CN107357527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation

Abstract

The present invention provides a kind of photo processing method, device and storage medium, electronic equipment, by obtaining the photo received in JICQ;The photo is stored in caching;Presetting database model is called, using the target person image feature information in the presetting database model, personage's analysis is carried out to the photo;If analyzing the photo to need the photo preserved, the photo is stored from caching transfer into memory.Electronic equipment i.e. of the invention can download the photo type of preservation usually with self study user, so as to come it is intelligent analyze whether the photo that JICQ is currently received is to need to download the type preserved, if so, then automatic download preserves.Whole process is manually operated without user, full intellectualized operation, has hommization.

Description

A kind of photo processing method, device and storage medium, electronic equipment
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of photo processing method, device and storage medium, electricity Sub- equipment.
Background technology
In recent years, the fast development with computer technology and increasingly extensive application, can propose human mind naturally Activity can by computer to realize the problem of.In decades, people one to computer be considered as can only with as quick as thought, it is ripe Practice ground, the exactly digital machine of computing.But to solve the problems, such as being not fully numerical computations in the world today, as language Understanding and translation, the identification of figure and sound, decision-making management etc. be all not belonging to numerical computations.This require computer capacity from " data processing " expand to can also " knowledge processing " category.The conversion of computer capacity category is to cause " artificial intelligence " quick An important factor for development.
I.e. artificial intelligence (artificial intelligence, abbreviation AI) is to study the rule of human intelligence activity, structure The manual system with necessarily intelligence is made, how research allows computer to go to complete the competent work of intelligence ability for needing people in the past Make, that is, study how the software and hardware of appliance computer simulates the basic theories of some intelligent behaviors of the mankind, method and skill Art.
The content of the invention
The embodiment of the present invention provides a kind of photo processing method, device and storage medium, electronic equipment, and it can divide automatically Whether the photo that analysis JICQ receives is the photo for needing to preserve, if the photo for needing to preserve, then can be automatic Download and preserve, whole process is manually operated without user, full intellectualized operation, has hommization.
In a first aspect, the embodiments of the invention provide a kind of photo processing method, including step:
Obtain the photo received in JICQ;
The photo is stored in caching;
Presetting database model is called, it is right using the target person image feature information in the presetting database model The photo carries out personage's analysis;
If analyzing the photo to need the photo preserved, the photo is deposited from caching transfer into memory Storage.
Second aspect, the embodiment of the present invention additionally provide a kind of picture processing device, including:
Photo acquisition module, for obtaining the photo received in JICQ;
Temporary storage module, for the photo to be stored in caching;
Analysis module, for calling presetting database model, utilize the target person figure in the presetting database model As characteristic information, personage's analysis is carried out to the photo;
Unloading module, if for analyzing the photo to need the photo that preserves, by the photo from caching transfer Stored into memory.
The third aspect, the embodiment of the present invention additionally provide a kind of storage medium, and it stores the computer for photo disposal Program, wherein, the computer program causes computer to perform photo processing method as described above.
Fourth aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including memory and processor, the processing Device is connected with the memory by bus;The memory is used to store batch processing code, and the processor is used to call The program code stored in the memory, perform following operation:
Obtain the photo received in JICQ;
The photo is stored in caching;
Presetting database model is called, it is right using the target person image feature information in the presetting database model The photo carries out personage's analysis;
If analyzing the photo to need the photo preserved, the photo is deposited from caching transfer into memory Storage.
Photo processing method, device and storage medium provided in an embodiment of the present invention, electronic equipment, by obtaining instant The photo received in means of communication;The photo is stored in caching;Presetting database model is called, is preset using described Target person image feature information in database model, personage's analysis is carried out to the photo;It is if analyzing the photo The photo preserved is needed, then is stored the photo into memory from caching transfer.I.e. electronic equipment of the invention can be certainly Study user downloads the photo type of preservation usually, so as to carry out the intelligent photo for analyzing JICQ and being currently received Whether it is to need to download the type preserved, if so, then automatic download preserves.Whole process is manually operated without user, full intelligence Change operation, there is hommization.
Brief description of the drawings
Fig. 1 is the schematic diagram of a scenario of photo processing method provided in an embodiment of the present invention.
Fig. 2 is an implementation process schematic diagram of photo processing method provided in an embodiment of the present invention.
Fig. 3 is the implementation process schematic diagram provided in an embodiment of the present invention for establishing database model.
Fig. 4 is another implementation process schematic diagram of photo processing method provided in an embodiment of the present invention.
Fig. 5 is the reception interface schematic diagram of JICQ provided in an embodiment of the present invention.
Fig. 6 is the module diagram of picture processing device provided in an embodiment of the present invention.
Fig. 7 is the detailed module diagram of picture processing device provided in an embodiment of the present invention.
Fig. 8 is the module diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
Refer to the schema in accompanying drawing, wherein identical element numbers represent identical component, principle of the invention be with Implement to illustrate in an appropriate computing environment.The following description is based on exemplified specific implementation of the invention Example, it is not construed as the limitation present invention other specific embodiments not detailed herein.
The principle of the invention illustrates that it is not represented as a kind of limitation, those skilled in the art can with above-mentioned word Solve plurality of step as described below and operation also may be implemented among hardware.The principle of the present invention uses many other wide usages Or specific purpose computing, communication environment or configuration are operated.
At present, when other users send photo to owner user's communication group by JICQ, then Ji Zhuyong Family needs to check which photo sended over needs to preserve, the photo preserved for needs, then owner user is necessary Downloaded manually to click on, so as to be saved in corresponding file, therefore, current operation does not have intellectuality.Therefore, it is of the invention Embodiment can be overcome using following implementation.
Referring to Fig. 1, i.e. the embodiment of the present invention provides a kind of photo processing method, including:Electronic equipment self study user Usually the photo type preserved is downloaded, database model is established with this;When JICQ receives photo;By described in Photo is stored in caching;Presetting database model is called, it is special using the target person image in the presetting database model Reference is ceased, and personage's analysis is carried out to the photo;If analyzing the photo to need the photo that preserves, by the photo from Go in memory and store in caching.Therefore, the embodiment of the present invention can intellectual analysis go out JICQ and be currently received Photo whether be to need to download the type preserved, if so, then automatic download preserves.Whole process is manually operated without user, Full intellectualized operation, there is hommization.
Wherein, the electronic equipment, such as:Mobile terminal (mobile phone), computer, personal digital assistant (Personal Digital Assistant, PDA) etc..
Photo processing method provided in an embodiment of the present invention is will be described in more detail below.
Referring to Fig. 2, showing photo processing method provided in an embodiment of the present invention, mainly comprise the following steps:
In step S101, the photo received in JICQ is obtained.
In embodiments of the present invention, user installs artificial intelligence application in the electronic device, the artificial intelligence application Program mainly includes two functions, and one is self-learning function, and another is intellectual analysis function, therefore, when the artificial intelligence of unlatching Can be in application program intellectual analysis function when, then whether photo can be received by monitoring JICQ automatically, if prison Measure JICQ and receive photo, then, the photo received in JICQ is obtained, so as to using in advance The database model first established carrys out the photo that intellectual analysis receives, and judges whether the photo received is the photograph for needing to preserve Piece, if so, then automatically preserving photo into memory.
In certain embodiments, after the self-learning function in artificial intelligence application is opened, then electronic equipment (such as mobile terminal) can self study user download the photo type of preservation usually, database model is established with this, refers to figure 3, its implementation is as follows:
In step s 201, all photos for downloading preservation in preset time from the JICQ are obtained.
For example, after the self-learning function in artificial intelligence application is opened, then electronic equipment is (such as movement eventually End) all photos that user in a period of time downloads preservation from JICQ can be recorded, then, these photos are carried out Analysis, to sum up the characteristic shared between these photos, using the shared characteristic as subsequent analysis from JICQ In the normative reference of photo that receives.
It is understood, however, that the JICQ can be QQ, wechat, MSN etc..
In step S202, character image feature corresponding to each photo is extracted from all photos downloaded and preserved Information.
In certain embodiments, based on human face analysis algorithm, character image characteristic information corresponding to each photo is extracted, if Go out there is no facial image in photo according to human face analysis Algorithm Analysis, then it is sky that this is not had into the photograph tags of facial image.
For multiple facial images be present in a photo, then the character image characteristic information extracted is entered Row distinguishes label, such as:
The relation of character image characteristic information is existing for photo 1 is corresponding:
Photo 1 --- face A, face B, face C;
The relation of character image characteristic information is existing for photo 2 is corresponding:
Photo 2 --- face A;
The relation of character image characteristic information is existing for photo 3 is corresponding:
Photo 3 --- face A, face D, face F;
The relation of character image characteristic information is existing for photo 4 is corresponding:
Photo 4 --- face A, face C, face D, face G;Etc..
In step S203, from the character image characteristic information of extraction, the existing people in each photo is determined Object image characteristic information.
For example, photo 1 --- face A, face B, face C;
Photo 2 --- face A;
Photo 3 --- face A, face D, face F;
Photo 4 --- face A, face C, face D, face G;
According to set operation, it is existing character image characteristic information in each photo to determine face A.That is, base In the hobby of user, user can download the photo for preserving and including face A.Therefore, by face A character image characteristic information, It is defined as target person image feature information.So, subsequently in the photo that analysis receives from JICQ, with people Face A character image characteristic information is as normative reference.That is, the photo received subsequently through JICQ, can utilize Face A character image characteristic information is as Rule of judgment, if face A image in photo be present, then meeting automatically will The photo is downloaded and is saved in local memory.
In step S204, will in each photo existing character image characteristic information, be defined as target person figure As characteristic information.
In step S205, the database model is established according to the target person image feature information.
In embodiments of the present invention, after the completion of database model foundation, then can be using the database model come intelligence Whether the photo that the analysis JICQ of energy is currently received is to need to download the type preserved, if so, then automatic download Preserve.Whole process is manually operated without user, full intellectualized operation, has hommization, is brought greatly just to user's operation Profit.
In step s 102, the photo is stored in caching.
In step s 103, presetting database model is called, utilizes the target person figure in the presetting database model As characteristic information, personage's analysis is carried out to the photo.
In embodiments of the present invention, step S103, including:
1st, the image feature information corresponding to extraction from the photo.
Such as, in the case of face is only analyzed, then human face analysis algorithm can be used, face is extracted from the photo Image feature information.If go out there is no facial image in photo according to human face analysis Algorithm Analysis, then this is not had into facial image Photograph tags be sky, i.e. by this do not have the photo of facial image not with the target person figure in the presetting database model As characteristic information is compared.But directly there is no the photo of facial image to be removed from the cache this, with vacating space.If root Go out to have facial image in photo according to human face analysis Algorithm Analysis, then, the image feature information of facial image is extracted, to enter one Step analysis the extraction facial image image feature information whether with the target person figure in the presetting database model As characteristic information matches.
It is understood, however, that the image feature information corresponding to extraction from the photo, mainly includes:Extract face The parameters such as face position, shape of face and the angle in portion.
2nd, judge whether include the target person figure in the presetting database model in the image feature information of extraction As characteristic information;
If it is understood, however, that the image feature information of the facial image of the extraction and the presetting database Target person image feature information matching in model, i.e., include described in the image feature information of the facial image of the extraction Target person image feature information in presetting database model, then it is the photo for needing to preserve to show the photo.
For example, judge the face position of face extracted from photo and shape of face parameter with the presetting database model Target person face face position and shape of face parameter whether match, if it does, then judging to exist in the photo described Target person in presetting database model, then it is the photo for needing to preserve to show the photo.
If the target person in the presetting database model is not included in the image feature information of the facial image of extraction Object image characteristic information, then it is the photo that need not be preserved to show the photo, therefore, is directly removed from the cache the photo, With vacating space.
3rd, if so, being then defined as photo corresponding to described image characteristic information to need the photo preserved.
In step S104, if analyzing the photo to need the photo that preserves, by the photo from caching transfer Stored into memory.
It is understood, however, that after the photo is stored from caching transfer into memory, automatic remove is delayed Corresponding photo in depositing, with vacating space.
In certain embodiments, existing photo in the photo and memory of present lot is subjected to area in order to facilitate user Not, therefore, step S104, including:
Obtain person names corresponding to the target person image feature information;
File is established in the memory, and the file is named according to the person names;
Obtain store path corresponding to the file;
The photo is deposited into file corresponding to the store path from caching transfer.
In certain embodiments, check which photo is preserved without download automatically in order to facilitate what user concentrated, therefore, The photo processing method, i.e., after step s 103, in addition to:
If it is the photo that need not be preserved to analyze the photo, by corresponding to the photo generation that need not be preserved Thumbnail;
When detecting the open command of the JICQ, display window is generated;
The thumbnail is loaded onto in the display window and shown.
In certain embodiments, clearly know in the photo that JICQ receives is browsed in order to facilitate user Which photo of road is to download to be stored in local storage automatically, therefore, the photo processing method, in addition to:
Obtain picture identification corresponding to the photo of current unloading in memory.It is understood that the picture identification can Think the name title of photo.
In reception interface corresponding to the JICQ, corresponding photo is navigated to according to the picture identification In;Such as, in reception interface corresponding to the JICQ, can be navigated to corresponding according to the name title of photo In photo.
The photo of positioning is marked, to indicate the photo of the positioning as the photo preserved.
For example, " √ " can be stamped in the upper right corner of photo icon, to show the photo as the photo preserved.However, It can also use and " preservation " label is covered in the upper right corner of photo icon, to show the photo as the photo preserved.However, can What it is with understanding is, however it is not limited to aforesaid way, can also be marked using other modes.
From the foregoing, it will be observed that photo processing method provided in an embodiment of the present invention, is received by obtaining in JICQ The photo arrived;The photo is stored in caching;Presetting database model is called, using in the presetting database model Target person image feature information, personage's analysis is carried out to the photo;If analyzing the photo to need the photo preserved, Then the photo is stored from caching transfer into memory.I.e. electronic equipment of the invention can be downloaded usually with self study user The photo type of preservation, so as to intelligent to analyze whether the photo that JICQ is currently received is to need to download to protect The type deposited, if so, then automatic download preserves.Whole process is manually operated without user, full intellectualized operation, has human nature Change, brought great convenience to user's operation.
Referring to Fig. 4, below so that mobile terminal calls presetting database model comparison piece to be analyzed as an example, retouch in detail State the implementation process of photo processing method provided in an embodiment of the present invention.
In step S300, mobile terminal self study user downloads the photo type of preservation usually, and data are established with this Storehouse model.
Such as, after mobile terminal self study for a period of time, analyze user the photo of preservation is downloaded from wechat and be substantially The photo of A personage in photo be present, therefore, using the image feature information of A personage as subsequently being connect in analysis from wechat instrument The normative reference during photo received.It is understood that being not limited to wechat, QQ or other instant messagings are applied also for In instrument.
In step S301, whether monitoring wechat instrument receives photo.
In step s 302, if monitoring, wechat instrument receives photo, obtains what is received in wechat instrument Photo.
In step S303, photo is stored in caching;
In step s 304, the database model is called to analyze the photo that wechat receives;
Such as, human face analysis algorithm is primarily based on, the character image characteristic information in photo is extracted, if being calculated according to human face analysis Method, which analyzes, does not have facial image in photo, then it is sky that this is not had into the photograph tags of facial image, i.e. this is not had into face This is not directly had face figure by the photo of image not compared with the A character image characteristic informations in database model The photo of picture is removed from the cache, with vacating space.If going out to have facial image in photo according to human face analysis Algorithm Analysis, that , the image feature information of facial image is extracted, is further to analyze the image feature information of the facial image of the extraction The no A character image characteristic informations included in database model, if including, show photo to need the photo preserved, that , the photo is stored from caching transfer into memory;If not including, the photo is removed from the cache.
In step S305, if analyzing the photo to need the photo that preserves, by the photo from caching transfer Stored into memory.
In step S306, name of pictures corresponding to the photo of current unloading in memory is obtained;
In step S307, in reception interface corresponding to the wechat instrument, navigated to pair according to the name of pictures In the photo answered;
In step S308, the photo of positioning is marked, to indicate the photo of the positioning as the photo preserved.
For example, " √ " can be stamped in the upper right corner of photo icon, to show the photo as the photo preserved.However, It can also use and " preservation " label is covered in the upper right corner of photo icon, to show the photo as the photo preserved, such as Fig. 5 institutes Show.It is understood, however, that being not limited to aforesaid way, can also be marked using other modes.
In step S309, if it is the photo that need not preserve to analyze the photo, it need not be preserved described Thumbnail corresponding to photo generation;
In step S310, when detecting the open command of the wechat instrument, display window is generated;
In step S311, the thumbnail is loaded onto in the display window and shown, so that user checks.
For example, mobile phone can be preserved using self study to analyze user to which kind of photo.It is implemented as follows: Software analysis goes out the photo of previously received mistake, and image feature information is extracted from these photos, after learning a period of time, according to figure As characteristic information establishes out database model.When JICQ receives photo, then database model can be called Analyze whether the photo received needs to preserve, if necessary to preserve, then file is established automatically, under corresponding photo is preserved Come.Further, user is reminded to check the current photo preserved.
Also referring to Fig. 6 and Fig. 7, for the module diagram of picture processing device provided in an embodiment of the present invention;In order to It is easy to illustrate, illustrate only the part related to the embodiment of the present invention.The picture processing device 100 includes:Photo obtains mould Block 101, temporary storage module 102, analysis module 103, unloading module 104.The picture processing device can be built in electronics to set The unit of software unit, hardware cell either software and hardware combining in standby.
Photo acquisition module 101, for obtaining the photo received in JICQ;
Temporary storage module 102, for the photo to be stored in caching;
Analysis module 103, for calling presetting database model, utilize the target person in the presetting database model Image feature information, personage's analysis is carried out to the photo;
Unloading module 104, if for analyzing the photo to need the photo preserved, by the photo from caching Go in memory and store.
In certain embodiments, the analysis module 103, including:
Characteristic extracting module 1031, for image feature information corresponding to the extraction from the photo;
Feature judge module 1032, for judge extraction image feature information in whether include the presetting database Target person image feature information in model;
Photo determining module 1033, for judging to include target person image feature information, then by described image feature Photo corresponding to information is defined as needing the photo preserved.
In certain embodiments, unloading module 104, including:
Name acquiring module 1041, for obtaining person names corresponding to the target person image feature information;
File establishes module 1042, for establishing file in the memory, and according to the person names pair The file is named;
Path acquisition module 1043, for obtaining store path corresponding to the file;
Memory module 1044, for the photo to be deposited into file corresponding to the store path from caching transfer.
In certain embodiments, the picture processing device, in addition to:
Picture identification acquisition module 105, for obtaining picture identification corresponding to the photo of current unloading in memory;
Photo locating module 106, in reception interface corresponding to the JICQ, according to the picture mark Knowledge is navigated in corresponding photo;
Mark module 107, for the photo of positioning to be marked, to indicate the photo of the positioning as the photograph preserved Piece.
In certain embodiments, the picture processing device, in addition to:
Thumbnail generation module 108, if being the photo that need not preserve for analyzing the photo, it is not required to described Thumbnail corresponding to the photo to be preserved generation;
Window generation module 109, for when detecting the open command of the JICQ, generating display window Mouthful;
Loaded and displayed module 110, shown for the thumbnail to be loaded onto in the display window.
In certain embodiments, the picture processing device, in addition to:
Acquisition module 111, download all photos of preservation in preset time from the JICQ for obtaining;
People information extraction module 112, for being extracted from described download in all photos preserved corresponding to each photo Character image characteristic information;
People information determining module 113, for from the character image characteristic information of extraction, determining in each photo Existing character image characteristic information;
Target person determining module 114, for will in each photo existing character image characteristic information, be defined as Target person image feature information;
Model building module 115, for establishing the database model according to the target person image feature information.
From the foregoing, it will be observed that picture processing device provided in an embodiment of the present invention, is received by obtaining in JICQ The photo arrived;The photo is stored in caching;Presetting database model is called, using in the presetting database model Target person image feature information, personage's analysis is carried out to the photo;If analyzing the photo to need the photo preserved, Then the photo is stored from caching transfer into memory.I.e. electronic equipment of the invention can be downloaded usually with self study user The photo type of preservation, so as to intelligent to analyze whether the photo that JICQ is currently received is to need to download to protect The type deposited, if so, then automatic download preserves.Whole process is manually operated without user, full intellectualized operation, has human nature Change, brought great convenience to user's operation.
Photo processing method and device provided in an embodiment of the present invention belong to same design, and its specific implementation process refers to In full, here is omitted for bright book.
Fig. 8 shows the concrete structure block diagram of electronic equipment provided in an embodiment of the present invention, and the electronic equipment 1200 can be with For implementing the photo processing method/device provided in above-described embodiment.
As shown in figure 8, can to include one or more (one is only shown in figure) computer-readable for electronic equipment The memory 801 of storage medium, voicefrequency circuit 802, transport module 803, include one or more than one (only shows in figure One) processor 804 and the grade part of power supply 805 of processing core.It will be understood by those skilled in the art that shown in Fig. 8 Electronic devices structure does not form the restriction to electronic equipment, can include than illustrating more or less parts, or combination Some parts, or different parts arrangement.Wherein:
Memory 801 can be used for storage software program and module, such as photo processing method/device pair in above-mentioned embodiment Programmed instruction/the module answered, processor 804 is stored in software program and module in memory 801 by operation, so as to hold Row various function application and data processing, that is, realize the function of photo disposal.Memory 801 may include high speed random storage Device, nonvolatile memory is may also include, such as one or more magnetic storage device, flash memory or other are non-volatile solid State memory.In some instances, memory 801 can further comprise relative to the remotely located memory of processor 804, this A little remote memories can pass through network connection to electronic equipment.The example of above-mentioned network includes but is not limited to internet, enterprise In-house network, LAN, mobile radio communication and combinations thereof.
Electronic equipment accesses streaming video etc. by transport module 803 (such as Wi-Fi module), and it has provided the user nothing The broadband internet of line accesses.Although Fig. 8 shows transport module 803, but it is understood that, it is simultaneously not belonging to electronics and set Standby must be configured into, and can be omitted as needed in the essential scope for do not change invention completely.
Processor 804 is the control centre of electronic equipment, utilizes each of various interfaces and the whole electronic equipment of connection Individual part, by running or performing the software program and/or module that are stored in memory 801, and call and be stored in storage Data in device 801, perform the various functions and processing data of electronic equipment.Optionally, processor 804 may include one or more Individual processing core;Preferably, processor 804 can integrate application processor and modem processor, wherein, application processor master Operating system, user interface and application program etc. are handled, modem processor mainly handles radio communication.It is appreciated that It is that above-mentioned modem processor can not also be integrated into processor 804.
Electronic equipment also includes the power supply 805 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 804 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 805 can also include one or more direct current or AC power, recharging system, power supply event The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, electronic equipment can be with bluetooth module etc..It will not be repeated here.In addition, electronic equipment also includes Have memory, and one or more than one program, one of them or more than one program storage in memory, and It is configured to that either more than one computing device one or more than one program bag contain and be used to carry out following operate by one Instruction:
Obtain the photo received in JICQ;
The photo is stored in caching;
Presetting database model is called, it is right using the target person image feature information in the presetting database model The photo carries out personage's analysis;
If analyzing the photo to need the photo preserved, the photo is deposited from caching transfer into memory Storage.
In certain embodiments, the calling presetting database model, utilizes the target in the presetting database model Character image characteristic information, when carrying out personage's analysis to the photo, the processor is additionally operable to perform following steps:
The image feature information corresponding to extraction from the photo;
Judge whether include the target person image in the presetting database model in the image feature information of extraction Characteristic information;
If so, then photo corresponding to described image characteristic information is defined as to need the photo preserved.
In certain embodiments, by the photo from caching transfer stored into memory when, the processor is additionally operable to Perform following steps:
Obtain person names corresponding to the target person image feature information;
File is established in the memory, and the file is named according to the person names;
Obtain store path corresponding to the file;
The photo is deposited into file corresponding to the store path from caching transfer.
In certain embodiments, by the photo after the step of transfer stores into memory is cached, the processing Device is additionally operable to perform following steps:
Obtain picture identification corresponding to the photo of current unloading in memory;
In reception interface corresponding to the JICQ, corresponding photo is navigated to according to the picture identification In;
The photo of positioning is marked, to indicate the photo of the positioning as the photo preserved.
In certain embodiments, the calling presetting database model, utilizes the target in the presetting database model Character image characteristic information, after the step of photo progress personage's analysis, the processor is additionally operable to perform following step Suddenly:
If it is the photo that need not be preserved to analyze the photo, by corresponding to the photo generation that need not be preserved Thumbnail;
When detecting the open command of the JICQ, display window is generated;
The thumbnail is loaded onto in the display window and shown.
In certain embodiments, before described the step of obtaining the photo received in JICQ, the place Reason device is additionally operable to perform following steps:
Obtain all photos for downloading preservation in preset time from the JICQ;
Character image characteristic information corresponding to each photo is extracted from all photos downloaded and preserved;
From the character image characteristic information of extraction, the existing character image feature letter in each photo is determined Breath;
Will in each photo existing character image characteristic information, be defined as target person image feature information;
The database model is established according to the target person image feature information.
The embodiment of the present invention additionally provides a kind of storage medium, and it stores the computer program for photo disposal, wherein, The computer program causes computer to perform photo processing method as described above.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In summary, although the present invention is disclosed above with preferred embodiment, above preferred embodiment simultaneously is not used to limit The system present invention, one of ordinary skill in the art, without departing from the spirit and scope of the present invention, it can make various changes and profit Decorations, therefore protection scope of the present invention is defined by the scope that claim defines.

Claims (11)

1. a kind of photo processing method, it is characterised in that including step:
Obtain the photo received in JICQ;
The photo is stored in caching;
Presetting database model is called, using the target person image feature information in the presetting database model, to described Photo carries out personage's analysis;
If analyzing the photo to need the photo preserved, the photo is stored from caching transfer into memory.
2. photo processing method as claimed in claim 1, it is characterised in that the calling presetting database model, utilize institute State the target person image feature information in presetting database model, to the photo carry out personage's analysis the step of, including:
The image feature information corresponding to extraction from the photo;
Judge whether include the target person characteristics of image in the presetting database model in the image feature information of extraction Information;
If so, then photo corresponding to described image characteristic information is defined as to need the photo preserved.
3. photo processing method as claimed in claim 2, it is characterised in that by the photo from caching transfer into memory The step of storage, including:
Obtain person names corresponding to the target person image feature information;
File is established in the memory, and the file is named according to the person names;
Obtain store path corresponding to the file;
The photo is deposited into file corresponding to the store path from caching transfer.
4. photo processing method as claimed in claim 1, it is characterised in that by the photo from caching transfer into memory After the step of storage, including:
Obtain picture identification corresponding to the photo of current unloading in memory;
In reception interface corresponding to the JICQ, in the photo according to corresponding to navigating to the picture identification;
The photo of positioning is marked, to indicate the photo of the positioning as the photo preserved.
5. photo processing method as claimed in claim 1, it is characterised in that the calling presetting database model, utilize institute The target person image feature information in presetting database model is stated, after the step of photo progress personage's analysis, also Including:
If it is the photo that need not be preserved to analyze the photo, by breviary corresponding to the photo generation that need not be preserved Figure;
When detecting the open command of the JICQ, display window is generated;
The thumbnail is loaded onto in the display window and shown.
6. photo processing method as claimed in claim 1, it is characterised in that the acquisition receives in JICQ Photo the step of before, in addition to:
Obtain all photos for downloading preservation in preset time from the JICQ;
Character image characteristic information corresponding to each photo is extracted from all photos downloaded and preserved;
From the character image characteristic information of extraction, the existing character image characteristic information in each photo is determined;
Will in each photo existing character image characteristic information, be defined as target person image feature information;
The database model is established according to the target person image feature information.
A kind of 7. picture processing device, it is characterised in that including:
Photo acquisition module, for obtaining the photo received in JICQ;
Temporary storage module, for the photo to be stored in caching;
Analysis module, it is special using the target person image in the presetting database model for calling presetting database model Reference is ceased, and personage's analysis is carried out to the photo;
Unloading module, if for analyzing the photo to need the photo that preserves, by the photo from caching transfer to depositing Stored in reservoir.
8. picture processing device as claimed in claim 7, it is characterised in that the analysis module, including:
Characteristic extracting module, for image feature information corresponding to the extraction from the photo;
Feature judge module, for judge extraction image feature information in whether include in the presetting database model Target person image feature information;
Photo determining module, it is for judging to include target person image feature information, then described image characteristic information is corresponding Photo be defined as needing the photo that preserves.
9. picture processing device as claimed in claim 7, it is characterised in that also include:
Picture identification acquisition module, for obtaining picture identification corresponding to the photo of current unloading in memory;
Photo locating module, in reception interface corresponding to the JICQ, being positioned according to the picture identification Into corresponding photo;
Mark module, for the photo of positioning to be marked, to indicate the photo of the positioning as the photo preserved.
10. a kind of storage medium, it stores the computer program for photo disposal, wherein, the computer program makes to succeed in one's scheme Calculation machine performs the photo processing method as described in any one of claim 1 to 6.
11. a kind of electronic equipment, it is characterised in that including memory and processor, the processor and the memory pass through Bus connects;The memory is used to store batch processing code, and the processor is used to call what is stored in the memory Program code, perform following operation:
Obtain the photo received in JICQ;
The photo is stored in caching;
Presetting database model is called, using the target person image feature information in the presetting database model, to described Photo carries out personage's analysis;
If analyzing the photo to need the photo preserved, the photo is stored from caching transfer into memory.
CN201710535725.4A 2017-06-30 2017-06-30 Photo processing method and device, storage medium and electronic equipment Active CN107357527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710535725.4A CN107357527B (en) 2017-06-30 2017-06-30 Photo processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710535725.4A CN107357527B (en) 2017-06-30 2017-06-30 Photo processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107357527A true CN107357527A (en) 2017-11-17
CN107357527B CN107357527B (en) 2020-09-08

Family

ID=60293052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710535725.4A Active CN107357527B (en) 2017-06-30 2017-06-30 Photo processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107357527B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168378A (en) * 2014-08-19 2014-11-26 上海天奕达电子科技有限公司 Picture grouping method and device based on face recognition
CN105260487A (en) * 2015-11-24 2016-01-20 上海斐讯数据通信技术有限公司 Picture managing method and device
CN106776871A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of multimedia file
CN106777334A (en) * 2017-01-12 2017-05-31 珠海格力电器股份有限公司 A kind of photo classification storage method, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168378A (en) * 2014-08-19 2014-11-26 上海天奕达电子科技有限公司 Picture grouping method and device based on face recognition
CN105260487A (en) * 2015-11-24 2016-01-20 上海斐讯数据通信技术有限公司 Picture managing method and device
CN106776871A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of multimedia file
CN106777334A (en) * 2017-01-12 2017-05-31 珠海格力电器股份有限公司 A kind of photo classification storage method, device and mobile terminal

Also Published As

Publication number Publication date
CN107357527B (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN103309998B (en) A kind of message query method and device, terminal device
US8001133B2 (en) Method and apparatus for managing a contact list
CN108307102B (en) Information display method, apparatus and system
CN102779179A (en) Method and terminal for associating information
CN106558025A (en) A kind for the treatment of method and apparatus of picture
CN103226575A (en) Image processing method and device
CN104426841A (en) Method for arranging background image, and correlation server and system
CN109951627A (en) Image processing method, device, storage medium and electronic equipment
CN105868772A (en) Image identification method and apparatus
CN105760778A (en) Method and device for improving security of private picture and electronic equipment
CN107705251A (en) Picture joining method, mobile terminal and computer-readable recording medium
CN104915351A (en) Picture sorting method and terminal
CN107679560A (en) Data transmission method, device, mobile terminal and computer-readable recording medium
CN109086680A (en) Image processing method, device, storage medium and electronic equipment
CN104200249A (en) Automatic clothes matching method, device and system
CN107222914A (en) Application control method and related product
CN109446946A (en) A kind of multi-cam real-time detection method based on multithreading
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN107391121A (en) A kind of photograph sharing method, device and storage medium, computer equipment
CN108898082A (en) Image processing method, picture processing unit and terminal device
CN107257383B (en) A kind of information-pushing method, device and storage medium, electronic equipment
CN106485220A (en) Face identification method, the intelligent glasses with face identification functions and server
CN107908770A (en) A kind of photo searching method and mobile terminal
CN110379031A (en) A kind of meeting signature method, apparatus, equipment and computer readable storage medium
CN110222245A (en) A kind of reminding method and device

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant