CN110049316A - Set detection method, device, portable terminal and the storage medium of quantity terminal - Google Patents
Set detection method, device, portable terminal and the storage medium of quantity terminal Download PDFInfo
- Publication number
- CN110049316A CN110049316A CN201910351638.2A CN201910351638A CN110049316A CN 110049316 A CN110049316 A CN 110049316A CN 201910351638 A CN201910351638 A CN 201910351638A CN 110049316 A CN110049316 A CN 110049316A
- Authority
- CN
- China
- Prior art keywords
- terminal
- detected
- image
- shooting picture
- camera
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of detection methods for setting quantity terminal, comprising: starts the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;Identify and judge the terminal to be detected that whether there is preset quantity in the shooting picture, the terminal to be detected of preset quantity, then control the camera and shot if it exists, to obtain the image and/or video of terminal to be detected;The image and/or video of the terminal to be detected are identified, determine the performance condition of the terminal to be detected.The invention also discloses a kind of detection device, portable terminal and storage mediums for setting quantity terminal.
Description
Technical field
The present invention relates to field of photographing technology, more specifically to a kind of detection method for setting quantity terminal, dress
It sets, portable terminal and storage medium.
Background technique
With the development of electronic technology and mobile Internet, various electronic products are gradually popularized in life, and electronics produces
Product have become people's life or the indispensable part that works.In addition, with the improvement of people's environmental awareness, mesh
The electronic product that preceding user also gradually tends to be not suitable for is recycled or is sold on second-hand market.
During being recycled to terminal, it usually needs detected to final element, to determine the value of terminal.
Currently, having a kind of detection method for setting quantity terminal is that terminal to be recycled is voluntarily shot by user, it and will include to be recycled
The image and/or video of the external appearance characteristic of terminal privileged site are sent to testing agency and are detected.However, in testing agency pair
Image and/or video are found during being detected, and multiple ends are contained in image transmitted by certain customers and/or video
End, so that testing agency can not identify which platform terminal is only what needs detected.
Summary of the invention
In view of this, the present invention provides a kind of detection method, device, portable terminal and storages for setting quantity terminal
Medium can identify the quantity of terminal to be detected in shooting picture before obtaining terminal image to be detected and/or video, to
The quantity of detection terminal is taken pictures by camera again when consistent with preset quantity, obtains corresponding image and/or video.
In a first aspect, the present invention provides a kind of detection methods for setting quantity terminal, comprising:
Start the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
It identifies and judges the terminal to be detected that whether there is preset quantity in the shooting picture, if it exists preset quantity
Terminal to be detected then controls the camera and is shot, to obtain the image and/or video of terminal to be detected;
The image and/or video of the terminal to be detected are identified, determine the performance condition of the terminal to be detected.
Optionally, if the terminal to be detected of preset quantity is not present in the shooting picture, refuse to shoot.
Optionally, the preset quantity is one.
Optionally, it identifies and judges that the terminal to be detected in the shooting picture with the presence or absence of preset quantity includes:
It identifies the terminal to be detected in the shooting picture, and contours extract is carried out to the terminal to be detected, if extracting
When obtained integrity profile meets preset quantity, judge there are the terminals to be detected of preset quantity in the shooting picture.
Optionally, further includes:
It identifies the terminal to be detected in the shooting picture, contours extract is carried out to the terminal to be detected, obtains first
Image, and using the first image as detection image;
Wherein, the first image includes the terminal to be detected and the first image is less than the shooting picture.
Optionally, further includes:
It identifies classification belonging to the first image, and user is prompted according to recognition result, so that user's tune
Whole shooting angle, the classification include the back side of the terminal positive, to be detected of terminal to be detected and the side of terminal to be detected.
Optionally, further includes:
If the terminal to be detected of preset quantity is not present in the shooting picture, prompt icon and/or text envelope are generated
Breath and/or suggestion voice, with indicate user adjust the camera come so that in the shooting picture there are preset quantity to
Detect terminal.
Second aspect, the present invention provides a kind of detection devices of the setting quantity terminal of terminal, comprising:
Module is obtained, for starting the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected
Face;
Judgment module for identification and judges the terminal to be detected that whether there is preset quantity in the shooting picture, if
There are the terminals to be detected of preset quantity, then control the camera and shot, with obtain terminal to be detected image and/or
Video;
Identification module, for the terminal to be detected image and/or video identify, determine the end to be detected
The performance condition at end.
The third aspect, the present invention provides a kind of portable terminal, including processor and can for storing the processor
The memory executed instruction;Wherein, the processor makes the portable terminal for calling the instruction stored in the memory
End executes either as described in relation to the first aspect method.
Fourth aspect, the present invention provides a kind of computer readable storage medium, in the computer readable storage medium
It is stored with instruction, described instruction is executed by the portable terminal, method either described in realization first aspect.
The invention has the following advantages:
The present invention provides a kind of detection method, device, portable terminal and storage mediums for setting quantity terminal, can
The quantity that terminal to be detected in shooting picture is identified before obtaining terminal image to be detected and/or video, in terminal to be detected
Quantity it is consistent with preset quantity when taken pictures again by camera, obtain corresponding image and/or video.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of flow diagram of detection method for setting quantity terminal provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of shooting picture provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of another shooting picture provided in an embodiment of the present invention;
Fig. 4 is a kind of another flow diagram of detection method for setting quantity terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of another flow diagram of detection method for setting quantity terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the detection device of the setting quantity terminal of terminal provided in an embodiment of the present invention.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail
A specific embodiment of the invention.
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
The terms such as " first " of the embodiment of the present invention, " second ", only difference the relevant technologies feature, do not indicate successively suitable
Sequence.
Through present inventor the study found that during recycling to terminal, certain customers, may when taking pictures
Multiple terminals, inspection can often be contained simultaneously in captured image and/or video due to individual's carelessness or shooting environmental etc.
Surveying mechanism can not identify which platform terminal is only needing to detect and can not carry out detection work, often led to user and needed again
It takes pictures, waste the time of user and affects the experience of user.For example, possessing multiple terminals simultaneously in user, (work is used
Terminal, amusement terminal etc.) when, user tends to be placed in during camera terminal image and/or video
Multiple terminals together are shot together into image and/or video;In another example user shoots image and/or view in mobile phone shop
When frequency, terminal to be detected is often placed on show window, there is a large amount of mobile phone terminal in show window, user during shooting,
Also it is easy to clap the mobile phone terminal in show window into image and/or video together.
In view of this, the embodiment of the invention provides a kind of detection methods for setting quantity terminal, device, portable terminal
And storage medium, the number of terminal to be detected in shooting picture can be identified before obtaining terminal image to be detected and/or video
Amount, taken pictures again by camera when the quantity of terminal to be detected is consistent with preset quantity, obtain corresponding image and/or
Video.
The detection method of setting quantity terminal provided in an embodiment of the present invention, is applied to portable terminal, wherein it is described just
The formula terminal of taking includes but is not limited to the electronic equipments such as mobile phone, tablet computer, notebook, portable electronic device (PDA).It is described just
The formula terminal of taking includes that can shoot and store image and/or video.The portable terminal includes communication component, specifically
Communication component includes wired communication component and/or wireless communication components.Wherein wire communication component includes but is not limited to that metal is led
The component of the tangible medias such as line, optical fiber, coaxial cable, cable, telephone wire transmission information;Wireless communication be using wireless signal into
The communication mode of row space propagation, including but is not limited to is 3G (third generation communication), 4G (forth generation communication), (the 5th generation is logical by 5G
Letter) network, WiFi network (WirelessFidelity, the WLAN based on IEEE802.11b standard), Bluetooth
Communication modes such as (bluetooths).
As shown in FIG. 1, FIG. 1 is a kind of process signals for the detection method for setting quantity terminal provided in an embodiment of the present invention
Figure.
A kind of detection method setting quantity terminal provided in an embodiment of the present invention, comprising:
S101, the camera for starting camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
Wherein, the camera of camera terminal is the camera of portable terminal, which is that user is used to shoot
Terminal to be detected.
A kind of illustrative embodiment is, terminal to be detected described in the embodiment of the present invention is electronic product, the electricity
Sub- product includes but is not limited to mobile phone, smart phone, portable electronic device, tablet computer, MP4, notebook, super
Electronic equipments such as sheet, personal digital assistant (PDA) etc..
It should be noted that described includes that the shooting picture of terminal image to be detected refers to that the camera of camera terminal opens
The image frame captured after dynamic, is not the photo having been taken, which is followed by camera terminal
Camera is mobile and changes.
S102, identification simultaneously judge the terminal to be detected that whether there is preset quantity in the shooting picture, preset if it exists
The terminal to be detected of quantity then controls the camera and is shot, to obtain the image and/or video of terminal to be detected.
S103, the image and/or video of the terminal to be detected are identified, determines the performance of the terminal to be detected
Situation.
In embodiments of the present invention, the image and/or video image and/or video that user shoots are available to detection
Mechanism, by testing agency by the modes such as image recognition or manual identified in image and/or video image and/or video to
Detection terminal is detected, and to identify the defects of terminal to be detected whether there is broken screen, scratch, collide with, be recessed, is obtained for commenting
Estimate the performance condition of terminal value to be detected, testing agency is based on the performance condition and provides a user corresponding evaluation price, uses
Family agree to after the evaluation price can the evaluation price transaction terminal, to realize the recycling of terminal.Obviously, user is providing
When the image and/or video of terminal to be detected are to testing agency, terminal to be detected must be can determine by the image and/or video,
And obtain the evaluation price of the terminal to be detected.It is understood that if not contained in image and/or video that user provides
Terminal to be detected, it is clear that terminal to be detected can not be detected according to the image and/or video;If the image that user provides
And/or contain multiple terminals (such as three terminals) in video, and user wants the terminal that testing agency is detected and there was only one
It is a, it is clear that testing agency is also difficult to determine which terminal is only user and wants detection according to the image and/or video at this time
's;The above situation, which will all will lead to testing agency, can not be normally carried out detection process, and user is needed to provide again
Image and/or video waste the time of user and affect the experience of user.
Therefore, in order to ensure include in the image and/or video for detecting terminal to be detected terminal to be detected figure
Picture, and it is capable of determining that user wants the terminal of detection based on the image and/or video;In the image for obtaining terminal to be detected
And/or before video, the terminal to be detected that whether there is preset quantity in the shooting picture of camera can be first identified and judged,
It controls camera again there are the terminal to be detected of preset quantity to take pictures, to obtain the image of terminal to be detected
And/or video.
Specifically, the preset quantity is one, i.e., there are when a terminal to be detected in shooting picture, then controls
It makes the camera to be shot, to obtain the image and/or video of terminal to be detected.In this way, can determine image and/
Or the only one terminal to be detected in video is the terminal that user wants detection, is not in the end that user wants detection
The end situation inconsistent with the terminal that testing agency determines.
It is worth noting that, the preset quantity, which is one, refers to that can be identified in shooting picture is complete
Terminal to be detected only one.As shown in Fig. 2, Fig. 2 is the schematic diagram of shooting picture provided in an embodiment of the present invention;Wherein, it claps
Take the photograph include in picture a complete terminal to be detected image, also include another end in the marginal portion of shooting picture
The parts of images (image for having half terminal in shooting picture) at end, at this point, there is one for stricti jurise, in shooting picture
Half terminal.However, can not identify to obtain entire complete terminal since the terminal of shooting picture edge only has parts of images,
Can recognize obtained terminal actually have and only one, therefore, the quantity of terminal to be detected is full in shooting picture at this time
It requires enough.As shown in figure 3, Fig. 3 is the schematic diagram of another shooting picture provided in an embodiment of the present invention;Wherein, picture is shot
Include the image of a complete terminal at the medium position in face, also includes that another is complete in the edge of shooting picture
Terminal image, at this point, two terminals can be identified by modes such as image recognitions, it is clear which end can not be judged
End is only terminal to be detected, and therefore, the quantity of terminal to be detected is undesirable in the shooting picture.
In embodiments of the present invention, during user starts camera terminal camera and shoots, by camera terminal
Automatically shooting picture captured by camera is detected, when shooting there are when the terminal to be detected of preset quantity, is clapped
Control camera automatic camera can be issued an instruction to by taking the photograph terminal, to take pictures instead of the manual click keys of user, be completed to current
The shooting of shooting picture.By detecting shooting picture automatically by camera terminal, and clapped automatically after shooting picture detection is qualified
According to, it is ensured that the image and/or video taken pictures are the shooting picture of current detection qualification, avoid the manual point of user
When hitting key and taking pictures, it is easy since the hand for holding camera terminal is mobile or touches and clicks the finger shake of terminal screen key and make
At the qualified image frame of the picture and detection currently taken pictures, there is any discrepancy.In this way, automatic camera is realized by camera terminal, one
Aspect ensure that the image taken pictures is met the requirements, and on the other hand have the operation bidirectional taken pictures without user, optimization
User experience.
In a kind of exemplary arrangement, if the terminal to be detected of preset quantity is not present in the shooting picture, refuse
Shooting.By taking preset quantity is one as an example, when, there is no when having terminal to be detected, refusal is shot in shooting picture;Work as bat
It takes the photograph there are when two or more terminals to be detected in picture, also refusal is shot.Specifically, the refusal shooting
It may include: rejection photographing instruction or refusal automatic camera.I.e. user can not by click camera terminal on take pictures by
Button control camera terminal is taken pictures, and photo terminal can refuse user by clicking photographing instruction transmitted by button of taking pictures;
In the case where camera terminal can be with automatic camera, there is no the to be checked of preset quantity in detecting shooting picture for camera terminal
When surveying terminal, then automatic camera is not executed.By judging the quantity of terminal to be detected in shooting picture in advance, and quantity with
Refuse shooting in the incongruent situation of preset quantity, it is ensured that the image and/or video got is all satisfactory, with
Ensure that testing agency can successfully carry out the detection of terminal to be detected.
As shown in figure 4, Fig. 4 is a kind of another process of detection method for setting quantity terminal provided in an embodiment of the present invention
Schematic diagram.
A kind of detection method setting quantity terminal provided in an embodiment of the present invention, comprising:
S401, the camera for starting camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
This step can refer to above-mentioned step 101, and details are not described herein.
Terminal to be detected in S402, the identification shooting picture, and contours extract is carried out to the terminal to be detected, if
When extracting obtained integrity profile and meeting preset quantity, judge there are the terminals to be detected of preset quantity in the shooting picture
And control the camera and shot, to obtain the image and/or video of terminal to be detected.
A kind of illustrative scheme (is carried out for example, by using neural network by modes such as image recognition or images match
Image recognition), it first identifies the terminal to be detected in image, after recognizing terminal to be detected, side is carried out to terminal to be detected
Edge detection, and extract the complete edge contour of terminal to be detected.For most of terminal to be detected, edge wheel
Exterior feature is usually a rectangular profile.Obviously, the complete edge contour extracted in shooting picture can be with end to be detected
Hold corresponding, i.e., the quantity of complete edge contour and the quantity of identifiable terminal to be detected are consistent.It is with above-mentioned Fig. 2
Example, in fig. 2 it is possible to identify to obtain complete edge contour corresponding to the terminal to be detected among Fig. 2, and on the corner Fig. 2
Another terminal can not then extract its complete edge contour, therefore, when judging, only one integrity profile in Fig. 2,
It is i.e. consistent with preset quantity, it can control camera and take pictures.And it can extract obtained integrity profile for Fig. 3, in Fig. 3 then
There are two, it is clear that inconsistent with preset quantity, refusal control camera is taken pictures.
In a kind of illustrative scheme, the embodiment of the invention also includes: identify the end to be detected in the shooting picture
End carries out contours extract to the terminal to be detected, obtains the first image, and using the first image as detection image;Its
In, the first image includes the terminal to be detected and the first image is less than the shooting picture.
It is understood that realizing the process of the detection to terminal to be detected, substantially base by image and/or video
Terminal image to be detected in image and/or video detects terminal to be detected.Obviously, in image and/or video
In, the part of terminal image only to be detected is required when being detection, and the background of image and/or video other parts is for inspection
It is unnecessary presence for survey process, or even it is also possible to as background noise influences testing result.Therefore, it is obtaining
To after image and/or video, first the terminal recognition to be detected in shooting picture can be come out, and extract terminal to be detected
Profile acquires the first image in profile based on obtained profile is extracted, that is, obtains using terminal profile to be detected as boundary
Include the image of entire terminal to be detected, to realize the background removal outside terminal image to be detected.In addition, in user
It is shot after obtaining the image and/or video of terminal to be detected by camera terminal, user may need image and/or video
The testing agency for being uploaded to backstage is detected, at this point, if uploading complete image and/or video, due to image and/or view
Frequently excessive and need to upload longer time, and need to consume the more data traffic of user.And since the first image can be with
Regard as what the interception from image and/or video came out, size is smaller than the size of whole picture (either from area
Speech, or for the memory space occupied), by uploading using the first image as detection image, upload can be saved
Time and upload required for data traffic.
In a kind of illustrative scheme, the embodiment of the invention also includes: classification belonging to identification the first image, and
User is prompted according to recognition result so that user adjust shooting angle, the classification include terminal to be detected just
Face, the back side of terminal to be detected and terminal to be detected side.
It is understood that during being detected to terminal to be detected, in order to confirm each position of terminal to be detected
With the presence or absence of defect, it usually needs detected to multiple faces of terminal to be detected, for example, detecting the front of terminal to be detected
The defects of with the presence or absence of broken screen, scratch;Detect the defects of back side of terminal to be detected is with the presence or absence of scratch;Detect terminal to be detected
Side with the presence or absence of recess, scratch the defects of.Therefore, practical during obtaining terminal image and/or video to be detected
On to obtain the image and/or video in the multiple faces of terminal to be detected, to ensure to can be realized in the detection process to entire to be checked
It is detected at each position for surveying terminal.Therefore, in embodiments of the present invention, after acquiring the first image, Ke Yishi
The first not current image belongs to the front of terminal to be detected or the back side of terminal to be detected or terminal to be detected
Side.If the first current image belongs to the front of terminal to be detected, user can be prompted to adjust shooting angle, continue to treat
The back side and side for detecting terminal are taken pictures, until completing the bat to the image and/or video in each face of terminal to be detected
It takes the photograph.
As shown in figure 5, Fig. 5 is a kind of another process of detection method for setting quantity terminal provided in an embodiment of the present invention
Schematic diagram.
A kind of detection method setting quantity terminal provided in an embodiment of the present invention, comprising:
S501, the camera for starting camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
This step can refer to above-mentioned step 101, and details are not described herein.
S502, identification simultaneously judge the terminal to be detected that whether there is preset quantity in the shooting picture;
This step can refer to above-mentioned step 102, and details are not described herein.
If there are the terminals to be detected of preset quantity in S503, the shooting picture, controls the camera and clapped
It takes the photograph, to obtain the image and/or video of terminal to be detected;
This step can refer to above-mentioned step 102, and details are not described herein.
If the terminal to be detected of preset quantity is not present in S504, the shooting picture, prompt icon and/or text are generated
This information and/or suggestion voice are come with indicating that user adjusts the camera so that there are preset quantities in the shooting picture
Terminal to be detected.
It is understood that when the shooting picture that user shoots is unsatisfactory for requiring, such as in shooting picture
Existed simultaneously multiple terminals, user may not notice multiple terminals or user are existed simultaneously in shooting picture can
It can not know in shooting picture that existing simultaneously multiple terminals is unsatisfactory for requiring, at this point, then needing certain prompt or mentioning
It wakes up, to guide user to remove adjustment camera, to be quickly obtained the shooting picture met the requirements.
In a kind of exemplary arrangement provided in an embodiment of the present invention, by taking preset quantity is one as an example, detecting
When stating the terminal to be detected that preset quantity is not present in shooting picture, one can be generated in shooting picture " in picture only
The small image of one terminal " is protected as prompt icon with prompting user to adjust camera terminal by the signal on the prompt icon
Demonstrate,prove only one terminal to be detected in shooting picture.In another example there is no preset quantities in detecting the shooting picture
When terminal to be detected, it can be generated in shooting picture and such as " ask follow shot terminal, keep an only terminal in picture "
Text information and/or played by the loudspeaker of camera terminal and such as " ask follow shot terminal, keep only one in picture
The suggestion voice of a terminal " guarantees only one terminal to be detected in shooting picture to prompt user to adjust camera terminal.
It can be a kind of detection device of the setting quantity terminal of terminal provided in an embodiment of the present invention refering to Fig. 6, Fig. 6
Structural schematic diagram.
A kind of detection device of the setting quantity terminal of terminal provided in an embodiment of the present invention, comprising:
Module 601 is obtained, for starting the camera of camera terminal, and acquisition includes the shooting of terminal image to be detected
Picture;
Judgment module 602, for identification and judge in the shooting picture whether there is preset quantity terminal to be detected,
The terminal to be detected of preset quantity if it exists then controls the camera and is shot, with obtain terminal to be detected image and/
Or video;
Identification module 603, for the terminal to be detected image and/or video identify, determine described to be checked
Survey the performance condition of terminal.
Optionally, the judgment module be also used to judge there is no the to be detected of preset quantity in the shooting picture
When terminal, then refuse to shoot.
Optionally, the preset quantity is one.
Optionally, the judgment module is specifically used for:
It identifies the terminal to be detected in the shooting picture, and contours extract is carried out to the terminal to be detected, if extracting
When obtained integrity profile meets preset quantity, judge there are the terminals to be detected of preset quantity in the shooting picture.
Optionally, further includes:
Profile extraction module, the terminal to be detected in the shooting picture, carries out the terminal to be detected for identification
Contours extract obtains the first image, and using the first image as detection image;
Wherein, the first image includes the terminal to be detected and the first image is less than the shooting picture.
Optionally, further includes:
First cue module, classification belonging to the first image for identification, and user is carried out according to recognition result
Prompt so that user adjust shooting angle, the classification include the terminal positive, to be detected of terminal to be detected the back side and to
Detect the side of terminal.
Optionally, further includes:
Second cue module, if the terminal to be detected for preset quantity to be not present in the shooting picture, generation is mentioned
Diagram mark and/or text information and/or suggestion voice are come with indicating that user adjusts the camera so that in the shooting picture
There are the terminals to be detected of preset quantity.
The embodiment of the invention also provides a kind of portable terminal, including processor and can be held for storing the processor
The memory of row instruction;Wherein, the processor makes the portable terminal for calling the instruction stored in the memory
It executes such as either above-mentioned method.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited in the computer readable storage medium
Instruction is contained, described instruction is executed by the portable terminal, is realized such as either above-mentioned method.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member, module and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These function
It can be implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional skill
Art personnel can use different methods to achieve the described function each specific application, but this realization should not be recognized
It is beyond the scope of this invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is schematically, for example, the mould
The division of block or unit is a kind of logical function partition, and there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie
Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk,
Magnetic disk, CD, computer storage, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM,
RandomAccessMemory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice,
Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of detection method for setting quantity terminal characterized by comprising
Start the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
Identify and judge the terminal to be detected that whether there is preset quantity in the shooting picture, preset quantity is to be checked if it exists
Terminal is surveyed, then controls the camera and is shot, to obtain the image and/or video capture of terminal to be detected;
The image and/or video of the terminal to be detected are identified, determine the performance condition of the terminal to be detected.
2. the detection method of setting quantity terminal according to claim 1, which is characterized in that if in the shooting picture not
There are the terminals to be detected of preset quantity, then refuse to shoot.
3. the detection method of setting quantity terminal according to claim 2, which is characterized in that the preset quantity is one
It is a.
4. the detection method of setting quantity terminal according to claim 3, which is characterized in that identify and judge the shooting
Include: with the presence or absence of the terminal to be detected of preset quantity in picture
It identifies the terminal to be detected in the shooting picture, and contours extract is carried out to the terminal to be detected, obtained if extracting
Integrity profile when meeting preset quantity, judge there are the terminals to be detected of preset quantity in the shooting picture.
5. the detection method of setting quantity terminal according to claim 1, which is characterized in that further include:
It identifies the terminal to be detected in the shooting picture, contours extract is carried out to the terminal to be detected, obtains the first image,
And using the first image as detection image;
Wherein, the first image includes the terminal to be detected and the first image is less than the shooting picture.
6. the detection method of setting quantity terminal according to claim 5, which is characterized in that further include:
It identifies classification belonging to the first image, and user is prompted according to recognition result, clapped so that user adjusts
Angle is taken the photograph, the classification includes the back side of the terminal positive, to be detected of terminal to be detected and the side of terminal to be detected.
7. the detection method of setting quantity terminal according to claim 1, which is characterized in that further include:
If in the shooting picture be not present preset quantity terminal to be detected, generate prompt icon and/or text information and/
Or suggestion voice, come with indicating that user adjusts the camera so that there are the ends to be detected of preset quantity in the shooting picture
End.
8. a kind of detection device for setting quantity terminal characterized by comprising
Module is obtained, for starting the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
Judgment module for identification and judges the terminal to be detected that whether there is preset quantity in the shooting picture, if it exists
The terminal to be detected of preset quantity then controls the camera and is shot, to obtain the image and/or view of terminal to be detected
Frequently;
Identification module, for the terminal to be detected image and/or video identify, determine the terminal to be detected
Performance condition.
9. a kind of portable terminal, which is characterized in that including processor and for storing depositing for the processor-executable instruction
Reservoir;Wherein, the processor makes the portable terminal execute such as right for calling the instruction stored in the memory
It is required that method either described in 1-7.
10. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium,
Described instruction is executed by the portable terminal, realizes the method either as described in claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910351638.2A CN110049316B (en) | 2019-04-28 | 2019-04-28 | Method and device for detecting set number of terminals, portable terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910351638.2A CN110049316B (en) | 2019-04-28 | 2019-04-28 | Method and device for detecting set number of terminals, portable terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110049316A true CN110049316A (en) | 2019-07-23 |
CN110049316B CN110049316B (en) | 2021-08-10 |
Family
ID=67280010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910351638.2A Active CN110049316B (en) | 2019-04-28 | 2019-04-28 | Method and device for detecting set number of terminals, portable terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049316B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375665A (en) * | 2016-09-23 | 2017-02-01 | 深圳市金立通信设备有限公司 | Photographing method and terminal |
CN107808199A (en) * | 2017-09-08 | 2018-03-16 | 阿里巴巴集团控股有限公司 | A kind of method and device of article recovery |
CN108510089A (en) * | 2018-03-01 | 2018-09-07 | 深圳回收宝科技有限公司 | A kind of method, detection device and the storage medium of terminal detection |
CN108668310A (en) * | 2018-03-01 | 2018-10-16 | 深圳回收宝科技有限公司 | A kind of control method of detection device, detection device and storage medium |
CN109345691A (en) * | 2018-07-23 | 2019-02-15 | 深圳回收宝科技有限公司 | A kind of method, portable terminal and the storage medium of electronic product recycling |
-
2019
- 2019-04-28 CN CN201910351638.2A patent/CN110049316B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106375665A (en) * | 2016-09-23 | 2017-02-01 | 深圳市金立通信设备有限公司 | Photographing method and terminal |
CN107808199A (en) * | 2017-09-08 | 2018-03-16 | 阿里巴巴集团控股有限公司 | A kind of method and device of article recovery |
CN108510089A (en) * | 2018-03-01 | 2018-09-07 | 深圳回收宝科技有限公司 | A kind of method, detection device and the storage medium of terminal detection |
CN108668310A (en) * | 2018-03-01 | 2018-10-16 | 深圳回收宝科技有限公司 | A kind of control method of detection device, detection device and storage medium |
CN109345691A (en) * | 2018-07-23 | 2019-02-15 | 深圳回收宝科技有限公司 | A kind of method, portable terminal and the storage medium of electronic product recycling |
Also Published As
Publication number | Publication date |
---|---|
CN110049316B (en) | 2021-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101906827B1 (en) | Apparatus and method for taking a picture continously | |
CN105512685B (en) | Object identification method and device | |
CN107423699B (en) | Biopsy method and Related product | |
CN107657218B (en) | Face recognition method and related product | |
CN110992327A (en) | Lens contamination state detection method and device, terminal and storage medium | |
US20110157009A1 (en) | Display device and control method thereof | |
CN110209273A (en) | Gesture identification method, interaction control method, device, medium and electronic equipment | |
CN102760077A (en) | Method and device for self-adaptive application scene mode on basis of human face recognition | |
CN108965691B (en) | Camera control method and device, mobile terminal and storage medium | |
CN101316324A (en) | Terminal and image processing method thereof | |
CN103399632A (en) | Gesture control method and mobile terminal | |
CN108229574B (en) | Picture screening method and device and mobile terminal | |
CN108038825B (en) | Image processing method and mobile terminal | |
CN110086991A (en) | Image pickup method, device, portable terminal and the storage medium of terminal detection image | |
CN109508398B (en) | Photo classification method and terminal equipment thereof | |
CN107613550B (en) | Unlocking control method and related product | |
CN107257440A (en) | It is a kind of to detect method, equipment and storage medium that video tracking is shot | |
CN107566746B (en) | Photographing method and user terminal | |
CN104408404A (en) | Face identification method and apparatus | |
CN110930329A (en) | Starry sky image processing method and device | |
WO2017154136A1 (en) | Portable information terminal and information processing method used thereupon | |
CN110717399A (en) | Face recognition method and electronic terminal equipment | |
CN107832598B (en) | Unlocking control method and related product | |
CN112200040A (en) | Occlusion image detection method, device and medium | |
CN110827195A (en) | Virtual article adding method and device, electronic equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |