CN109656800A - Test method, device, terminal and the storage medium of image recognition application - Google Patents
Test method, device, terminal and the storage medium of image recognition application Download PDFInfo
- Publication number
- CN109656800A CN109656800A CN201710935545.5A CN201710935545A CN109656800A CN 109656800 A CN109656800 A CN 109656800A CN 201710935545 A CN201710935545 A CN 201710935545A CN 109656800 A CN109656800 A CN 109656800A
- Authority
- CN
- China
- Prior art keywords
- image
- replacement
- application
- tester
- identification
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Image Analysis (AREA)
Abstract
The embodiment of the invention discloses test method, device, terminal and the storage mediums of a kind of application of image recognition, wherein this method comprises: obtaining the present image identification in response to the Image Acquisition operation that present image identification is applied and applying corresponding replacement image;Acquired image is replaced using the replacement image;Image recognition operations are carried out based on the replacement image, to carry out application function test.The embodiment of the present invention is in application function test process, using image recognition using the image of corresponding replacement image replacement collection in worksite, application function test is carried out based on the replacement image, tester is not necessarily to terminal camera alignment target object with the qualified image of collection in worksite, it solves the problems, such as that artificial collection in worksite image causes testing efficiency low in application function test process, simplifies entire testing process, realize automatic test, manpower is saved, testing efficiency is improved.
Description
Technical field
The present embodiments relate to measuring technology more particularly to a kind of test methods of image recognition application, device, terminal
And storage medium.
Background technique
With the development of user demand and technology, the relevant application software of all kinds of image recognitions is applied in terminal, benefit
The image recognitions correlation function such as authentication or image procossing is completed with the image of collection in worksite, for example, having function of changing face
Using that can change face to two people in the video of real-time recording, increase user's enjoyment.It is main to the test of this kind of application
Be whether test application function reaches expected, for example, in application of changing face whether Successful changing face, whether the degree changed face reach expected
Deng.
Currently, usually manually testing when carrying out functional test to image recognition application, test is required to survey every time
The camera of terminal is directed at the target objects such as face or special article, captured in real-time image, to carry out application function survey by examination person
Examination, efficiency are lower.
Summary of the invention
The embodiment of the present invention provides test method, device, terminal and the storage medium of a kind of image recognition application, to improve
The efficiency of image recognition application function test.
In a first aspect, the embodiment of the invention provides a kind of test methods of image recognition application, comprising:
In response to the Image Acquisition operation of present image identification application, obtains the present image identification and replaced using corresponding
Change image;
Acquired image is replaced using the replacement image;
Image recognition operations are carried out based on the replacement image, to carry out application function test.
Second aspect, the embodiment of the invention also provides a kind of test devices of image recognition application, comprising:
Image collection module obtains the current figure for operating in response to the Image Acquisition of present image identification application
As corresponding replacement image is applied in identification;
Image replacement module, for replacing acquired image using the replacement image;
Functional test module, for carrying out image recognition operations based on the replacement image, to carry out application function test.
The third aspect, the embodiment of the invention also provides a kind of terminal, the terminal includes:
One or more processors;
Storage device, for storing one or more programs;
Image collecting device, for acquiring image;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the test method of the image recognition application as described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the test method of the image recognition application as described in any embodiment of that present invention when the program is executed by processor.
The technical solution of the embodiment of the present invention is replaced using image recognition using corresponding in application function test process
The image for changing image replacement collection in worksite carries out application function test based on the replacement image, and tester is without imaging terminal
Head alignment target object solves artificial collection in worksite figure in application function test process with the qualified image of collection in worksite
As the problem for causing testing efficiency low, entire testing process is simplified, realizes automatic test, saves manpower, improves test effect
Rate.
Detailed description of the invention
Fig. 1 is the flow chart of the test method for the image recognition application that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the test method of image recognition application provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart of the test method for the image recognition application that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the test device for the image recognition application that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the test method for the image recognition application that the embodiment of the present invention one provides, and the present embodiment can fit
The case where for carrying out functional test to image recognition application at the terminal, the test that this method can be applied by image recognition fill
It sets to execute, which can be realized by software and/or hardware, can generally be integrated in the terminal.As shown in Figure 1, this method
It specifically includes:
S110 is operated in response to the Image Acquisition of present image identification application, obtains the present image identification application pair
The replacement image answered.
Wherein, image includes picture and video.Image recognition application is that have the application software of image recognition correlation function,
For example, this kind of application software is in use, it can use the image acquired in real time and complete authentication or image procossing (such as
Change face) etc. image recognition operations.At least one image recognition application can be installed, the image recognition application to being installed in terminal
When carrying out functional test, the upper corresponding image recognition that needs to open a terminal, which is applied and run, needs function to be tested, calls terminal
Image collecting device (such as camera) field real-time acquisition image, so that image based on acquisition carries out authentication or image
The image recognition operations such as processing.In specific implementation, the Image Acquisition operation of present image identification application is actually current fortune
The operation of the image collecting device of terminal is called in capable image recognition application.
Each image recognition in terminal can be preset and apply corresponding replacement image, and store image recognition and apply and replace
Change the corresponding relationship of image.In functional test procedures, the image recognition currently tested can be obtained according to corresponding relationship and answered
With corresponding replacement image.Optionally, obtaining present image identification using corresponding replacement image includes: to obtain present image to know
The identification information that do not apply;The corresponding replacement image of the identification information is obtained from pre-stored image resource.Identification information is only
One indicates that the information of each image recognition application is also possible to test for example, identification information can be the title of image recognition application
Person is the number of each application setting, and such as 1 indicates image recognition application A, and 2 indicate image recognition application B.
S120 replaces acquired image using the replacement image.
Wherein, present image is identified that the image collecting device acquired image of terminal is called in application, replaces with acquisition
Replacement image, can be replaced after the completion of acquisition, can also regardless of whether acquisition complete, get replacement image
Afterwards, direct interrupt images acquisition operation, carries out image replacement.
S130 carries out image recognition operations based on the replacement image, to carry out application function test.
Specifically, replacement image can be shown, and the images such as authentication or image procossing are carried out based on the replacement image
Identification operation, realizes the functional test to application.In practical applications, tester is not necessarily to handheld terminal collection in worksite image, surveys
Image used in trying is unrelated with the picture material of acquisition.
The technical solution of the present embodiment is schemed using image recognition using corresponding replacement in application function test process
As the image of replacement collection in worksite, application function test is carried out based on the replacement image, tester is not necessarily to terminal camera pair
Quasi- target object solves artificial collection in worksite image in application function test process and leads with the qualified image of collection in worksite
The problem for causing testing efficiency low simplifies entire testing process, realizes automatic test, saves manpower, improves testing efficiency.
Embodiment two
Fig. 2 is the flow chart of the test method of image recognition application provided by Embodiment 2 of the present invention, and the present embodiment is upper
On the basis of stating embodiment, the embodiment that corresponding replacement image is set for the image recognition application in terminal is provided.Such as
Shown in Fig. 2, this method is specifically included:
S210 obtains the attribute information that tester applies the image selected in pre-stored image resource for image recognition.
Wherein, pre-stored image resource is stored image in terminal, for example, the picture and view of tester's downloading or shooting
It frequently, certainly, can also include that tester meets for what the image recognition application in terminal was specially shot in pre-stored image resource
The image of application requirement.The attribute information of image includes at least: picture format and characteristics of image.Picture format refers to depositing for image
Format is stored up, for example, (Joint Photographic Experts Group, joint image expert are small by BMP (Bitmap), JPEG
Group)), PNG (Portable Network Graphics, portable network figure), GIF (Graphics Interchange
Format, graphic interchange format), MPEG (Motion Picture Experts Group, Motion Picture Experts Group) and AVI
(Audio Video Interleaved, Audio Video Interleaved) etc..Characteristics of image include: the size of image, video image when
Long and objects in images feature etc., wherein the object in image can be certain objects (such as desk, window) and/or people,
The feature of objects in images includes: that object position in the picture, object account for the ratio, object color, object court of whole image
To, the face orientation of people, the movement (such as open one's mouth, blink, rotary head, squat down) of people.Characteristics of image can be by carrying out image
Processing analysis obtains, and can extract key frame therein for video image and carry out processing analysis, specifically can be used existing
Image processing method, such as the image based on HOG (Histogram of Oriented Gradient, histograms of oriented gradients)
Processing Algorithm etc..
Illustratively, in a scene, terminal display image choose interface, prompt tester select image recognition apply with
And corresponding replacement image;The selection information for receiving tester's input, determines image selected by tester according to the selection information
Identification application and selected image, then obtain the attribute information of image selected by tester.
S220 judges the requirement whether image selected by tester is applied with described image identification according to the attribute information
Match.
Wherein, image recognition, which is applied, certain requirement, such as picture format and characteristics of image etc. to used image
Requirement.Acquired image is replaced to complete image identification function using replacement image, it is ensured that replacement image meets image knowledge
The requirement that do not apply.The requirement of different images identification application may be different, if part or all images identification in terminal
It is consistent using the requirement to image, then can be used the same replacement image, i.e., the identification information of each image recognition application with
There are corresponding relationships for the same replacement image.In specific implementation, each image recognition in terminal can be summarized to apply to image
It is required that and storing, the requirement of the application of image recognition selected by extraction tester from the requirement of storage, by image selected by tester
Attribute information compare and match with the requirement of extraction.
S230, if image selected by the tester is matched with the requirement of described image identification application, it is determined that the survey
Image selected by examination person is identified as described image applies corresponding replacement image, and records described image identification application and replace with described
Change the corresponding relationship of image.
Wherein, record image recognition applies the corresponding relationship with replacement image, and the mark that image recognition can be applied is believed
Breath is added in the attribute information of corresponding replacement image, in test process, the attribute letter of each image in pre-set image resource
The identification information that present image identification application is found in breath, can get corresponding replacement image;It can also individually occupy
Memory space stores the identification information of each image recognition application and the corresponding relationship of corresponding replacement image identification, is surveying
During examination, correspondence relationship information is read, that is, can determine that corresponding replacement image is applied in present image identification, and arrive pre-set image
The image is obtained in resource.
S240 is adjusted if the requirement of the format of image selected by the tester and described image identification application mismatches
The format of image selected by the whole tester is the format that described image identifies application requirement, and determines the image after adjustment format
It is identified as described image and applies corresponding replacement image.
S250 is mentioned if the requirement of the feature of image selected by the tester and described image identification application mismatches
Show that tester reselects replacement image.
S260 is operated in response to the Image Acquisition of present image identification application, is worked as described in acquisition in application function test
Preceding image recognition applies corresponding replacement image.
S270 replaces acquired image using the replacement image.
S280 carries out image recognition operations based on the replacement image, to carry out application function test.
The technical solution of the present embodiment presets the corresponding relationship that image recognition is applied with replaces image, guarantees answering
With in functional test procedures, whether particular content and the image of collection in worksite without considering the image of collection in worksite meet and answer
With requiring, directly uses the replacement image replacement acquired image obtained to carry out application function test, simplifies testing process,
Improve testing efficiency.
Embodiment three
Fig. 3 is the flow chart of the test method for the image recognition application that the embodiment of the present invention three provides, and the present embodiment is upper
On the basis of stating embodiment, a kind of implementation of the test method of image recognition application is provided, i.e., by pacifying at the terminal
Part is plugged to realize, each image recognition applies corresponding replacement image and execution image to replace to the plug-in unit in terminal for determining
Change operation.As shown in figure 3, the test method of image recognition application includes:
S310 obtains the root authority of terminal.
Wherein it is possible to obtain the root authority of terminal using root tool, the embodiment of the present invention is to this without specifically
It is bright.After obtaining root authority, installation frame service at the terminal, with the plug-in unit required based on framework services installation, for example, can
To use Xposed framework services, Xposed frame is can be in the case where not modifying APK (Android Package) source code
Influence the service framework of program operation.
S320 receives plug-in unit installation procedure, and installs plug-in unit, wherein the plug-in unit for determining, know in terminal by each image
It Ying Yong not corresponding replacement image and execution image replacement operation.
Wherein, each image recognition in terminal is preset using the plug-in unit of installation at the terminal apply corresponding replacement figure
Picture, in application function test process, plug-in unit uses content captured by specified replacement image replacement terminal.Specifically, can
To use hook plug-in unit, the point for needing hook is exactly image recognition using the code for calling terminal camera, image recognition application
When going to the point for needing hook, triggering executes the code in hook plug-in unit, obtains replacement image and terminal camera is replaced to clap
The content taken the photograph, without using the content of terminal camera shooting.
S330 restarts terminal according to instruction of restarting, and the plug-in unit is made to come into force.
S340 runs plug-in unit, selects corresponding replacement figure from pre-stored image resource for image recognition application each in terminal
Picture, specific implementation can refer to the S210 to S250 in embodiment two.
S350 is operated in response to the Image Acquisition of present image identification application, is worked as described in acquisition in application function test
Preceding image recognition applies corresponding replacement image.
S360 replaces acquired image using the replacement image.
S370 carries out image recognition operations based on the replacement image, to carry out application function test.
The technical solution of the present embodiment, using plug-in unit determine in terminal each image recognition using corresponding replacement image with
And image replacement operation is executed, implementation method is simple, simplifies testing process, improves testing efficiency.
Example IV
Fig. 4 is the structural schematic diagram of the test device for the image recognition application that the embodiment of the present invention four provides, such as Fig. 4 institute
Show, which includes: image collection module 410, image replacement module 420 and functional test module 430.
Image collection module 410 obtains described current for operating in response to the Image Acquisition of present image identification application
Image recognition applies corresponding replacement image;
Image replacement module 420, for replacing acquired image using the replacement image;
Functional test module 430, for carrying out image recognition operations based on the replacement image, to carry out application function survey
Examination.
Optionally, image collection module 410 includes:
Mark acquiring unit, for obtaining the identification information of the present image identification application;
Image acquisition unit, for obtaining the corresponding replacement image of identification information from pre-stored image resource.
Optionally, above-mentioned apparatus further include:
Attribute obtains module, applies the image selected in pre-stored image resource for image recognition for obtaining tester
Attribute information;Wherein attribute information includes: picture format and characteristics of image;
It is required that matching module, for according to the attribute information judge image selected by tester whether with described image identification
The requirement of application matches;
Image determining module, the matched feelings of requirement for the image selected by the tester and described image identification application
Under condition, determines that image selected by the tester is identified as described image and apply corresponding replacement image, and record described image
The corresponding relationship of identification application and the replacement image.
Optionally, above-mentioned apparatus further include:
Format adjusting module, the requirement of format and described image the identification application for the image selected by the tester is not
In matched situation, then the format for adjusting image selected by the tester is the format of described image identification application requirement, and really
Image after integral lattice formula of setting the tone is identified as described image applies corresponding replacement image;
The requirement of cue module, feature and described image the identification application for the image selected by the tester mismatches
In the case where, then prompt tester to reselect replacement image.
Optionally, above-mentioned apparatus further include:
Authority acquiring module, for obtaining the root authority of terminal;
Plug-in unit installs module, for receiving plug-in unit installation procedure, and installs plug-in unit, wherein the plug-in unit is for determining terminal
Upper each image recognition is using corresponding replacement image and executes image replacement operation;
Restart module, for restarting terminal according to instruction of restarting, the plug-in unit is made to come into force.
The test device of the application of image recognition provided by the embodiment of the present invention can be performed any embodiment of that present invention and be mentioned
The test method of the image recognition application of confession, has the corresponding functional module of execution method and beneficial effect.Not in the present embodiment
In detailed description technical detail, reference can be made to any embodiment of that present invention provide image recognition application test method.
Embodiment five
Fig. 5 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to realizing the present invention
The block diagram of the exemplary terminal 12 of embodiment.The terminal 12 that Fig. 5 is shown is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in figure 5, terminal 12 is showed in the form of universal computing device.The component of terminal 12 may include but unlimited
In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited
Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Terminal 12 typically comprises a variety of computer system readable media.These media can be it is any can be by terminal 12
The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Terminal 12 may further include it is other it is removable/nonremovable,
Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable
, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, use can be provided
In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product,
The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiment described in the invention.
Terminal 12 further includes image collecting device 26, for acquiring image.In the present embodiment, 26 quilt of image collecting device
The image recognition application installed in terminal 12 is called, to acquire image, specifically, processing unit 16 executes in system storage 28
Image recognition application program, call image collecting device 26.Terminal 12 further includes display screen 24, for show image and other
Need information to be shown.
Terminal 12 can also be communicated with one or more external equipments 14 (such as computer etc.), can also be with one or more
It is a to enable a user to the equipment interacted with the terminal 12 communication, and/or with enable the terminal 12 and one or more of the other meter
Calculate any equipment (such as network interface card, modem etc.) communication that equipment is communicated.This communication can by input/it is defeated
(I/O) interface 22 carries out out.Also, terminal 12 can also pass through network adapter 20 and one or more network (such as office
Domain net (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in figure 5, network adapter 20 passes through
Bus 18 is communicated with other modules of terminal 12.It should be understood that although not shown in the drawings, can be used in conjunction with terminal 12 other hard
Part and/or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array,
RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the test method of the application of image recognition provided by the embodiment of the present invention.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
The test method of the image recognition application as described in any embodiment of that present invention is realized when program is executed by processor.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (12)
1. a kind of test method of image recognition application characterized by comprising
In response to the Image Acquisition operation of present image identification application, obtains the present image identification and apply corresponding replacement figure
Picture;
Acquired image is replaced using the replacement image;
Image recognition operations are carried out based on the replacement image, to carry out application function test.
2. the method according to claim 1, wherein obtaining the present image identification applies corresponding replacement figure
Picture, comprising:
Obtain the identification information of the present image identification application;
The corresponding replacement image of the identification information is obtained from pre-stored image resource.
3. the method according to claim 1, wherein applying corresponding replacement obtaining the present image identification
Before image, the method also includes:
Obtain the attribute information that tester applies the image selected in pre-stored image resource for image recognition;
The requirement for judging that whether image selected by tester is applied with described image identification according to the attribute information matches;
If image selected by the tester is matched with the requirement of described image identification application, it is determined that the selected figure of the tester
As applying corresponding replacement image as described image identification, and record pair of described image identification application with the replacement image
It should be related to.
4. according to the method described in claim 3, it is characterized in that, the attribute information includes: picture format and characteristics of image;
It is described after judging whether image selected by tester matches with the requirement of described image identification application according to the attribute information
Method further include:
If the requirement of the format of image selected by the tester and described image identification application mismatches, the test is adjusted
The format of image selected by person is the format that described image identifies application requirement, and determines the image after adjustment format as the figure
As corresponding replacement image is applied in identification;
If the requirement of the feature of image selected by the tester and described image identification application mismatches, tester's weight is prompted
New selection replacement image.
5. according to claim 1 to any method in 4, which is characterized in that obtaining the present image identification application
Before corresponding replacement image, the method also includes:
Obtain the root authority of terminal;
Plug-in unit installation procedure is received, and plug-in unit is installed, wherein the plug-in unit is for determining that each image recognition is answered in the terminal
With corresponding replacement image and execute image replacement operation;
The terminal is restarted according to instruction of restarting, and the plug-in unit is made to come into force.
6. a kind of test device of image recognition application characterized by comprising
Image collection module obtains the present image and knows for operating in response to the Image Acquisition of present image identification application
It Ying Yong not corresponding replacement image;
Image replacement module, for replacing acquired image using the replacement image;
Functional test module, for carrying out image recognition operations based on the replacement image, to carry out application function test.
7. device according to claim 6, which is characterized in that described image obtains module and includes:
Mark acquiring unit, for obtaining the identification information of the present image identification application;
Image acquisition unit, for obtaining the corresponding replacement image of the identification information from pre-stored image resource.
8. device according to claim 6, which is characterized in that described device further include:
Attribute obtains module, is directed to the category that image recognition applies the image selected in pre-stored image resource for obtaining tester
Property information;
It is required that matching module, is applied for judging whether image selected by tester identifies with described image according to the attribute information
Requirement matching;
Image determining module, the case where matching for the image selected by the tester with the requirement of described image identification application
Under, it determines that image selected by the tester is identified as described image and applies corresponding replacement image, and record described image knowledge
It Ying Yong not be with the corresponding relationship of the replacement image.
9. device according to claim 8, which is characterized in that the attribute information includes: picture format and characteristics of image;
Described device further include:
The requirement of Format adjusting module, format and described image the identification application for the image selected by the tester mismatches
In the case where, then the format for adjusting image selected by the tester is the format of described image identification application requirement, and determines and adjust
Image after integral lattice formula is identified as described image applies corresponding replacement image;
Cue module, the unmatched feelings of requirement of feature and described image the identification application for the image selected by the tester
Under condition, then tester is prompted to reselect replacement image.
10. according to the device any in claim 6 to 9, which is characterized in that described device further include:
Authority acquiring module, for obtaining the root authority of terminal;
Plug-in unit installs module, for receiving plug-in unit installation procedure, and installs plug-in unit, wherein the plug-in unit is for determining the terminal
Upper each image recognition is using corresponding replacement image and executes image replacement operation;
Restart module, for restarting the terminal according to instruction of restarting, the plug-in unit is made to come into force.
11. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs;
Image collecting device, for acquiring image;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now test method of the image recognition application as described in any in claim 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The test method of the image recognition application as described in any in claim 1 to 5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935545.5A CN109656800B (en) | 2017-10-10 | 2017-10-10 | Method and device for testing image recognition application, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935545.5A CN109656800B (en) | 2017-10-10 | 2017-10-10 | Method and device for testing image recognition application, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109656800A true CN109656800A (en) | 2019-04-19 |
CN109656800B CN109656800B (en) | 2023-02-24 |
Family
ID=66109298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710935545.5A Active CN109656800B (en) | 2017-10-10 | 2017-10-10 | Method and device for testing image recognition application, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656800B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377517A (en) * | 2019-07-17 | 2019-10-25 | 中国工商银行股份有限公司 | Applied program testing method and device, electronic equipment and readable storage medium storing program for executing |
CN111669575A (en) * | 2020-06-19 | 2020-09-15 | 展讯通信(上海)有限公司 | Method, system, electronic device, medium and terminal for testing image processing effect |
CN112437224A (en) * | 2019-08-26 | 2021-03-02 | 腾讯科技(深圳)有限公司 | Camera data processing method and device, computer equipment and storage medium |
CN112468641A (en) * | 2020-10-26 | 2021-03-09 | 百果园技术(新加坡)有限公司 | Program testing method, device, terminal and storage medium |
CN112732553A (en) * | 2020-12-25 | 2021-04-30 | 北京百度网讯科技有限公司 | Image testing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008060022A1 (en) * | 2006-11-13 | 2008-05-22 | Electronics And Telecommunications Research Institute | System and method for evaluating and certifying image identifier |
CN101706872A (en) * | 2009-11-26 | 2010-05-12 | 上海交通大学 | Universal open type face identification system |
CN106407720A (en) * | 2016-10-26 | 2017-02-15 | 杭州启时新网络科技有限公司 | Method and system for identifying and testing user aesthetic characteristics based on graphic works |
CN106792147A (en) * | 2016-12-08 | 2017-05-31 | 天脉聚源(北京)传媒科技有限公司 | A kind of image replacement method and device |
-
2017
- 2017-10-10 CN CN201710935545.5A patent/CN109656800B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008060022A1 (en) * | 2006-11-13 | 2008-05-22 | Electronics And Telecommunications Research Institute | System and method for evaluating and certifying image identifier |
CN101706872A (en) * | 2009-11-26 | 2010-05-12 | 上海交通大学 | Universal open type face identification system |
CN106407720A (en) * | 2016-10-26 | 2017-02-15 | 杭州启时新网络科技有限公司 | Method and system for identifying and testing user aesthetic characteristics based on graphic works |
CN106792147A (en) * | 2016-12-08 | 2017-05-31 | 天脉聚源(北京)传媒科技有限公司 | A kind of image replacement method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377517A (en) * | 2019-07-17 | 2019-10-25 | 中国工商银行股份有限公司 | Applied program testing method and device, electronic equipment and readable storage medium storing program for executing |
CN112437224A (en) * | 2019-08-26 | 2021-03-02 | 腾讯科技(深圳)有限公司 | Camera data processing method and device, computer equipment and storage medium |
CN112437224B (en) * | 2019-08-26 | 2022-11-11 | 腾讯科技(深圳)有限公司 | Camera data processing method and device, computer equipment and storage medium |
CN111669575A (en) * | 2020-06-19 | 2020-09-15 | 展讯通信(上海)有限公司 | Method, system, electronic device, medium and terminal for testing image processing effect |
CN111669575B (en) * | 2020-06-19 | 2022-07-22 | 展讯通信(上海)有限公司 | Method, system, electronic device, medium and terminal for testing image processing effect |
CN112468641A (en) * | 2020-10-26 | 2021-03-09 | 百果园技术(新加坡)有限公司 | Program testing method, device, terminal and storage medium |
CN112468641B (en) * | 2020-10-26 | 2023-04-21 | 百果园技术(新加坡)有限公司 | Program testing method, device, terminal and storage medium |
CN112732553A (en) * | 2020-12-25 | 2021-04-30 | 北京百度网讯科技有限公司 | Image testing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109656800B (en) | 2023-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019242222A1 (en) | Method and device for use in generating information | |
CN109656800A (en) | Test method, device, terminal and the storage medium of image recognition application | |
CN109376256B (en) | Image searching method and device | |
KR102327779B1 (en) | Method for processing image data and apparatus for the same | |
CN110675433A (en) | Video processing method and device, electronic equipment and storage medium | |
CN109891466A (en) | The enhancing of 3D model scans | |
CN109376592A (en) | Biopsy method, device and computer readable storage medium | |
WO2020029608A1 (en) | Method and apparatus for detecting burr of electrode sheet | |
US9886766B2 (en) | Electronic device and method for adding data to image and extracting added data from image | |
KR102206060B1 (en) | Effect display method of electronic apparatus and electronic appparatus thereof | |
CN110062157B (en) | Method and device for rendering image, electronic equipment and computer readable storage medium | |
CN110059624B (en) | Method and apparatus for detecting living body | |
CN112492294A (en) | Application program testing method, device and system, network camera and medium | |
CN111984803B (en) | Multimedia resource processing method and device, computer equipment and storage medium | |
CN111340865B (en) | Method and apparatus for generating image | |
CN115311178A (en) | Image splicing method, device, equipment and medium | |
CN113033677A (en) | Video classification method and device, electronic equipment and storage medium | |
CN115396705A (en) | Screen projection operation verification method, platform and system | |
CN112163993A (en) | Image processing method, device, equipment and storage medium | |
CN108921138B (en) | Method and apparatus for generating information | |
CN110582016A (en) | video information display method, device, server and storage medium | |
JP2021528767A (en) | Visual search methods, devices, computer equipment and storage media | |
CN108093249A (en) | Image processing method and device | |
CN111930641A (en) | Image data processing method and intelligent equipment | |
CN109816670B (en) | Method and apparatus for generating image segmentation model |
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 |