Movatterモバイル変換


[0]ホーム

URL:


CN108804330A - Test method, device, storage medium and electronic equipment - Google Patents

Test method, device, storage medium and electronic equipment
Download PDF

Info

Publication number
CN108804330A
CN108804330ACN201810603270.XACN201810603270ACN108804330ACN 108804330 ACN108804330 ACN 108804330ACN 201810603270 ACN201810603270 ACN 201810603270ACN 108804330 ACN108804330 ACN 108804330A
Authority
CN
China
Prior art keywords
input data
frame
test
test input
augmented reality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810603270.XA
Other languages
Chinese (zh)
Inventor
张烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co LtdfiledCriticalOppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810603270.XApriorityCriticalpatent/CN108804330A/en
Publication of CN108804330ApublicationCriticalpatent/CN108804330A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the present application discloses a kind of test method,Device,Storage medium and electronic equipment,Wherein,Electronic equipment in the embodiment of the present application,It can be when needing to carry out the test of augmented reality algorithms library,First according to the sequencing of the frame title of test input data frame,Judge whether the frame number of multiple test input data frames is continuous,Then when the frame number of multiple test input data frames is discontinuous,Renaming is carried out to multiple test input data frames,So that the frame number of multiple test input data frames is continuous according to the sequencing of frame title,According still further to the sequencing of frame title,Multiple test input data frames after renaming are sequentially input augmented reality algorithms library to handle,Finally,The handling result that multiple test input data frames are handled according to augmented reality algorithms library,Obtain the test result to augmented reality algorithms library.Technical solution provided by the embodiments of the present application can improve the accuracy tested augmented reality algorithms library.

Description

Test method, device, storage medium and electronic equipment
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of test method, device, storage medium and electronics are setIt is standby.
Background technology
With the fast development of electronic device technology, electronic equipment is capable of providing more and more functions.It is common, electronicsThe function that equipment is provided is realized based on different algorithms, also allows for being integrated with various calculations in electronic equipmentFaku County.For example, electronic equipment is by integrated augmented reality algorithms library, to realize augmented reality function.In general, in order to optimizeAugmented reality function, the integrated augmented reality algorithms library needs of electronic equipment are iterated update.In this way, being updated to itWhen, augmented reality algorithms library will be tested first.However in the related technology, augmented reality is being calculated using electronic equipmentFaku County carries out testing obtained test result, and accuracy is poor.
Invention content
The embodiment of the present application provides a kind of test method, device, storage medium and electronic equipment, can improve to enhancingThe accuracy that real algorithms library is tested.
In a first aspect, the embodiment of the present application provides a kind of test method, including:
When needing to carry out the test of augmented reality algorithms library, the priority according to the frame title of test input data frame is suitableSequence judges whether the frame number of multiple test input data frames is continuous;
When the frame number of multiple test input data frames is discontinuous, multiple test input data frames are carried outRenaming, so that the frame number of multiple test input data frames is continuous according to the sequencing of frame title;
According to the sequencing of frame title, multiple test input data frames after renaming are sequentially input into the increasingStrong reality algorithms library is handled;
According to the handling result that the augmented reality algorithms library handles multiple test input data frames, obtainTo the test result of the augmented reality algorithms library.
Second aspect, the embodiment of the present application provide a kind of test device, including:
Judgment module, for need carry out augmented reality algorithms library test when, according to test input data frame frameThe sequencing of title judges whether the frame number of multiple test input data frames is continuous;
Renamer module, when discontinuous for the frame number in multiple test input data frames, to multiple surveysIt tries input data frame and carries out renaming, so that the frame number of multiple test input data frames is suitable according to the priority of frame titleSequence is continuous;
Test module is used for according to multiple test input data frames after renaming, to the augmented reality algorithmLibrary is tested.
The third aspect, the embodiment of the present application provide a kind of storage medium, are stored thereon with computer program, when the meterWhen calculation machine program is run on computers so that the computer executes in the test method provided such as the application any embodimentThe step of.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including processor and memory, the memoryThere is computer program, the processor is by calling the computer program, for executing such as survey provided by the embodiments of the present applicationStep in method for testing.
Electronic equipment in the embodiment of the present application, can be when needing to carry out the test of augmented reality algorithms library, root firstAccording to the sequencing of the frame title of test input data frame, judge whether the frame number of multiple test input data frames is continuous, soAfterwards when the frame number of multiple test input data frames is discontinuous, renaming is carried out to multiple test input data frames, so thatThe frame number of multiple test input data frames is continuous according to the sequencing of frame title, will according still further to the sequencing of frame titleMultiple test input data frames after renaming sequentially input augmented reality algorithms library and are handled, finally, according to augmented realityThe handling result that algorithms library handles multiple test input data frames, obtains the test result to augmented reality algorithms library.In the embodiment of the present application, by carrying out renaming to the discontinuous multiple test input data frames of frame number so that multiple testsThe frame number of input data frame is continuous according to the sequencing of frame title, it is ensured that the test input data in test process will notOrder of occurrence is chaotic, can improve the accuracy tested augmented reality algorithms library.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodimentAttached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, forFor those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attachedFigure.
Fig. 1 is a flow diagram of test method provided by the embodiments of the present application.
Fig. 2 is the operation interface schematic diagram that triggering shows preset switches in the embodiment of the present application.
Fig. 3 is the schematic diagram for switching preset switches state in the embodiment of the present application.
Fig. 4 is the schematic diagram for the test scene built in the embodiment of the present application.
Fig. 5 is the test input data frame generated in the embodiment of the present application for being tested augmented reality algorithms librarySchematic diagram.
Fig. 6 is another flow diagram of test method provided by the embodiments of the present application.
Fig. 7 is a structural schematic diagram of test device provided by the embodiments of the present application.
Fig. 8 is a structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 9 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific implementation mode
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement oneIt is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be byIt is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to by the step performed by one or multi-section computerAnd symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institutesThe computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring patternOperation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurableOr in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintainedFor the provider location of the memory, there is the specific feature defined in the data format.But the application principle is with above-mentioned textWord illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviourAlso it may be implemented in hardware.
Term as used herein " module " can regard the software object to be executed in the arithmetic system as.It is as described hereinDifferent components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and sideMethod can be implemented in the form of software, can also be implemented on hardware certainly, within the application protection domain.
Term " first ", " second " and " third " in the application etc. is for distinguishing different objects, rather than for retouchingState particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as contain the step of process, method, system, product or the equipment of series of steps or module is not limited to list orModule, but some embodiments further include the steps that do not list or module or some embodiments further include for these processes,Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodimentsIt is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identicalEmbodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly andImplicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present application provides a kind of test method, and the executive agent of the test method can be that the embodiment of the present application carriesHardware or soft may be used in the test device of confession, the electronic equipment wherein test device for being either integrated with the test deviceThe mode of part is realized.Wherein, electronic equipment can be smart mobile phone, tablet computer, palm PC, laptop or platformFormula apparatus such as computer.
Fig. 1 is please referred to, Fig. 1 is the flow diagram of test method provided by the embodiments of the present application.As shown in Figure 1, this ShenPlease the flow of test method that provides of embodiment can be as follows:
101, when needing to carry out the test of augmented reality algorithms library, according to the priority of the frame title of test input data frameSequentially, judge whether the frame number of multiple test input data frames is continuous.
It should be noted that augmented reality is a kind of technology by " seamless " synthesis of real world and virtual world, it canTo be difficult entity information (such as visual information, acoustic information, the sense of taste letter experienced in certain time spatial dimension in real worldBreath and tactile data etc.) it is superimposed again after analog simulation, it is applied to real world, is perceived by human sensory, is increased to reachThe sensory experience of strong reality.
For example, electronic equipment acquires real world images by camera, then by the real world images of acquisition and lifeAt virtual object image synthesized, obtain composograph, the composograph obtained eventually by screen display, in this way, withThe real world images that family will will be seen that synthesis has virtual object image from the screen of electronic equipment.
Currently, electronic equipment in order to realize augmented reality function, is integrated with augmented reality algorithms library in an operating system, it shouldAugmented reality algorithms library includes many algorithms, for example, the SLAM algorithms for building 3 d grid map, for identification in imageImage, semantic partitioning algorithm of appearance etc..In order to optimize augmented reality function, the augmented reality algorithm integrated to electronic equipment is neededLibrary is iterated update, when being updated to it, will carry out test to the processing capacity of augmented reality algorithms library first and commentEstimate.
Wherein, electronic equipment is provided with preset switches, which can be virtual switch, can also be that entity is openedIt closes, the embodiment of the present application is not specifically limited this.On the one hand, when tester needs to test augmented reality algorithms libraryWhen, the preset switches of electronic equipment offer can be provided.After being completed, user can close the preset switches.It is anotherAspect, electronic equipment determine the test for needing to carry out augmented reality algorithms library when detecting aforementioned preset switches and being opened.
For example, please referring to Fig. 2, it is provided with " preset switches " in " setting " interface of electronic equipment, electronic equipment is receivingTo the selection operation to the preset switches, (tester can click preset switches by finger, to electronic equipment input pairThe selection operation of preset switches) when, by the operation interface of setting changing interface to preset switches.
As shown in figure 3, in the operation interface of preset switches, preset switches acquiescence is closed.Electronic equipment existsReceive that (tester can slide the sliding shoe of preset switches by finger, to electricity to the handover operations of the preset switchesHandover operation of the sub- equipment input to preset switches) when, preset switches are switched into open state by closed state.At this point, electricSub- equipment determines the test for needing to carry out augmented reality algorithms library.
When determining the test for needing to carry out augmented reality algorithms library, electronic equipment is according to the frame name for testing input data frameThe sequencing of title, judge multiple test input data frames for being tested augmented reality algorithms library frame number whetherContinuously.Wherein, test input data frame includes the Inertial Measurement Unit data of picture frame and the corresponding picture frame, the picture frame withThe acquisition moment of the Inertial Measurement Unit data is identical.
Wherein, electronic equipment can be successively read out multiple according to the sequencing of the frame title of test input data frameThe frame number of input data frame is tested, if for example, there are 5 test input data frames, electronic equipment is to this 5 test input numberIt is read out according to the frame number of frame, 5 frame numbers will be read.
After the frame number for reading multiple test input data frames, electronic equipment judges these frame numbers readIt is whether continuous according to reading order.Such as, it is assumed that there are 5 test input data frames, frame title are respectively to test input dataFrame A, test input data frame B, test input data frame C, test input data frame D and test input data frame E, electronics are setIt is standby by according to the sequencing of frame title " test input data frame A → test input data frame B → test input data frame C →Test input data frame D → test input data frame E " reads out the frame numbers of 5 test input data frames, be followed successively by FA, FB,FC, FD, FE judge in this 5 frame numbers that any two is adjacent (for example, FA and FB is adjacent, FB and FC are adjacent, FC and FD laterIt is adjacent) frame number it is whether continuous, if there are discontinuous two adjacent frame numbers, judge read out 5 frame numbers byIt is discontinuous according to reading order.
102, when the frame number of aforesaid plurality of test input data frame is discontinuous, to aforesaid plurality of test input data frameRenaming is carried out, so that the frame number of aforesaid plurality of test input data frame is continuous according to the sequencing of frame title.
Wherein, when the frame number of aforesaid plurality of test input data frame is discontinuous according to the sequencing of frame title, electricitySub- equipment carries out renaming to aforesaid plurality of test input data frame, so that the frame number of aforesaid plurality of test input data frameSequencing according to frame title is continuous.
Such as, it is assumed that there are 5 test input data frames, frame title are respectively to test input data frame A, test input numberAccording to frame B, test input data frame C, test input data frame D and test input data frame E, according to the sequencing of frame title" test input data frame A → test input data frame B → test input data frame C → test input data frame D → test inputThe frame number of data frame E ", this five test input data frames are followed successively by:1,3,2,4,5, it is clear that, this five frame numbers are notContinuously.Electronic equipment is continuously constraint according to frame title sequencing with frame number, is ordered again 5 test input data framesTest input data frame A renamed as is tested input data frame A ' by name, and test input data frame B renamed as test is defeatedEnter data frame C ', test input data frame C renamed as is tested into input data frame B ', input data frame D renamings will be testedTo test input data frame D ', test input data frame E renamed as is tested into input data frame E ', in this way, after renamingThe sequencing of frame title becomes " test input data frame A ' → test input data frame B ' → test input data frame C ' → surveyTry input data frame D ' → test input data frame E ' ", the frame number of this five test input data frames is followed successively by this time:1,2,3,4,5, the sequencing according to frame title is continuous.
103, the aforesaid plurality of test input data frame after renaming is sequentially input according to the sequencing of frame titleAugmented reality algorithms library is handled.
Wherein, electronic equipment is after completing to the renaming of aforesaid plurality of test input data frame, according to frame titleAforesaid plurality of test input data frame after renaming is sequentially inputted to need augmented reality algorithms library to be tested by sequencingIn handled.For example, in augmented reality algorithms library more new version, using the augmented reality algorithms library of new version as needing to surveyThe augmented reality algorithms library of examination.
It is easily understood that for aforesaid plurality of test input data frame after renaming, frame number is according to frame nameThe sequencing of title is continuous, in this way, the aforesaid plurality of test input data frame after renaming is sequentially input augmented reality algorithmLibrary is handled, and the frame number that aforementioned augmented reality algorithms library receives test input data frame will be continuous, and be avoided as a result,Test input data frame occurs chaotic.
104, the handling result that aforesaid plurality of test input data frame is handled according to aforementioned augmented reality algorithms library,Obtain the test result to aforementioned augmented reality algorithms library.
Wherein, electronic equipment is often inputted in a test input data frame to aforementioned augmented reality algorithms library and is handled,A handling result of aforementioned augmented reality algorithms library output will be accordingly got, in this way, electronic equipment will get enhancing nowMultiple handling results that real algorithms library exports, corresponding to aforesaid plurality of test input data frame respectively.
After getting aforesaid plurality of handling result, electronic equipment is according to aforesaid plurality of handling result and presetTest Strategy assesses the processing capacity of augmented reality algorithms library, obtains the test result of augmented reality algorithms library.
From the foregoing, it will be observed that the electronic equipment in the embodiment of the present application, it can be in the test for needing progress augmented reality algorithms libraryWhen, first according to the sequencing of the frame title of test input data frame, judge that the frame number of multiple test input data frames isIt is no continuous, then when the frame number of multiple test input data frames is discontinuous, multiple test input data frames are ordered againName, so that the frame number of multiple test input data frames is continuous according to the sequencing of frame title, according still further to the elder generation of frame titleMultiple test input data frames after renaming are sequentially input augmented reality algorithms library and handled by sequence afterwards, finally, according toThe handling result that augmented reality algorithms library handles multiple test input data frames, obtains the survey to augmented reality algorithms libraryTest result.In the embodiment of the present application, by carrying out renaming to the discontinuous multiple test input data frames of frame number so that moreThe frame number of a test input data frame is continuous according to the sequencing of frame title, it is ensured that the test in test process inputs numberAccording to will not order of occurrence it is chaotic, the accuracy tested augmented reality algorithms library can be improved.
In one embodiment, " when needing to carry out the test of augmented reality algorithms library, according to test input data frameThe sequencing of frame title judges whether the frame number of multiple test input data frames is continuous " before, further include:
(1) Inertial Measurement Unit data when acquiring the picture frame of current scene, and obtaining acquired image frames;
(2) test input data frame is generated according to picture frame and Inertial Measurement Unit data;
(3) it is that test input data frame adds timestamp, and numbers according to the generation moment of test input data frame;
(4) according to default naming rule, for test input data frame name.
Wherein, tester can build according to the common scene construction test scene in life for example, please referring to Fig. 4Test scene be meeting room scene, include conference table 302, projecting apparatus 303, projection screen in meeting room shown in Fig. 4 301304, shredder 305, duplicator 306, desk 307 and 308, greening potting 309 and 310 etc..Wherein, which has four sidesWall, is equipped with the ceiling of headlamp on one side, and the ground of the meeting room is equipped with pure color carpet etc..
After completing the building of test scene, you can bring electronic equipment into the test scene built, trigger electronicsEquipment carries out the acquisition of picture frame.
Correspondingly, electronic equipment can acquire the figure of current scene by camera according to preset frame frequency acquisitionAs frame, wherein current scene that is to say the aforementioned test scene built.At the same time, electronic equipment also obtains acquired image framesWhen Inertial Measurement Unit data, the Inertial Measurement Unit data as built in electronic equipment Inertial Measurement Unit acquisition, includingElectronic equipment is in the attitude angles (or angular speed) of three axis, acceleration etc..
Later, electronic equipment generates test input number according to acquisition moment identical picture frame and Inertial Measurement Unit dataAccording to frame, for example, please referring to Fig. 5, picture frame 1 is identical with the acquisition moment of Inertial Measurement Unit data 1, and electronic equipment is by picture frame1 and Inertial Measurement Unit data 1 be packaged as one test input data frame.
Later, electronic equipment is test input data frame addition timestamp according to the generation moment of test input data, andNumber, in this way so that the frame number for testing input data frame will be related to its timestamp.
Later, electronic equipment is according to default naming rule, to be packaged the name of obtained test input data frame.
For example, electronic equipment gets the data length of test input data frame, the use of the data length is that test inputsNumerical nomenclature.
Electronic equipment can get multiple test input datas in the way of the above acquisition test input data frameFrame.Such as, it is assumed that a length of one minute when the acquisition of acquired image frames, the frame frequency acquisition of acquired image frames is 30FPS, then electronicsEquipment will collect 1800 picture frames altogether within this minute, correspondingly, getting acquisition moment and this 1800 picture framesIdentical 1800 Inertial Measurement Unit data respectively finally obtain 1800 test input data frames.
It is easily understood that the multiple test input data frames got in the above manner, frame number is according to the timeThe sequencing of stamp is continuous.
In one embodiment, the frame number of aforesaid plurality of test input data frame connects according to the sequencing of timestampContinuous, " carrying out renaming to aforesaid plurality of test input data frame " includes:
According to the timestamp of test input data frame, renaming is carried out to aforesaid plurality of test input data frame.
Wherein, when carrying out renaming to aforesaid plurality of test input data frame, electronic equipment can direct usage timeStamp is test input data frame renaming, for example, the frame of certain test input data frame is entitled " test input data frame A ",Timestamp is " 20180606184300030 ", entitled to the frame after the test input data frame renaming“20180606184300030”。
In addition, when carrying out renaming to aforesaid plurality of test input data frame, electronic equipment can be combined with timestampIdentification information (such as MAC Address of electronic equipment, IMEI information etc.) with electronic equipment is test input data frame renaming,For example, the frame of certain test input data frame is entitled " test input data frame A ", timestamp is" 20180606184300030 ", " 20180606184300030+ electricity entitled to the frame after the test input data frame renamingThe MAC Address of sub- equipment ".
It is easily understood that after carrying out renaming to aforesaid plurality of test input data frame in the above manner, it is aforementionedThe frame number of multiple test input data frames will be continuous according to the sequencing of frame title.
In one embodiment, " according to aforementioned augmented reality algorithms library to aforesaid plurality of test input data frame atThe handling result of reason obtains the test result to aforementioned augmented reality algorithms library " include:
(1) it obtains aforementioned augmented reality algorithms library and exported, table is handled to aforesaid plurality of test input data frameLevy the index value set of the index of its processing capacity;
(2) according to the index value set got, the test result of augmented reality algorithms library is obtained.
Wherein, electronic equipment is often inputted in a test input data frame to aforementioned augmented reality algorithms library and is handled,The index for characterizing its processing capacity that aforementioned augmented reality algorithms library exports will accordingly be got, and (such as feature point number refers toMark, tracking quality index, rebuilding plane number index and handling duration index etc.) index value, in this way, electronic equipment will obtainTo the multiple index values for corresponding to aforesaid plurality of test input data frame respectively, by multiple index value structures of the same index gotAt index value set.
It should be noted that when electronic equipment characterizes the index value set of the index of augmented reality algorithms library in acquisition, rootAccording to current testing requirement, obtained.It, then can be with for example, if desired processing capacity in terms of test augmented reality algorithms libraryObtain the index value set of the index of characterization augmented reality algorithms library this aspect processing capacity;For another example, if desired test enhancingThe comprehensive treatment capability of real algorithms library can then obtain multiple fingers of characterization augmented reality algorithms library different aspect processing capacityTarget index value set.
Electronic equipment after the index value set for getting the index that can characterize augmented reality algorithms library processing capacity,The processing capacity of augmented reality algorithms library is assessed according to the index value set got based on preset Test Strategy,Test result is obtained, which can be point value of evaluation, and augmented reality algorithm is described by the obtained point value of evaluationThe processing capacity in library.For example, when getting the index value set of an index, the average index of the index value set is calculatedValue, by the point value of evaluation by the average index value directly as augmented reality algorithms library, characterizes the augmented reality algorithms library at thisIndex value set corresponds to the processing capacity height of index.
In one embodiment, " according to the index value set got, the test result of augmented reality algorithms library is obtained "Including:
(1) when getting the index value set of multiple indexs, the average index value of multiple index value sets is obtained respectively;
(2) according to the multiple average index values and the corresponding weighted value of each index got, multiple average indexes are obtainedFirst weighted sum of value;
(3) the first weighted sum is compared with predetermined threshold value, if the first weighted sum is more than predetermined threshold value, is obtainedTest the test result passed through.
Wherein, it when needing the comprehensive treatment capability to augmented reality algorithms library to test, is corresponded to getting respectivelyMultiple index value sets of multiple and different indexs.For example, getting the index value set A of character pair point number index, obtainTo the index value set B of corresponding tracking quality index, the index value set C of corresponding rebuilding plane number index is got, is gotThe index value set D etc. of long pointer when alignment processing.
In this way, when the processing capacity to augmented reality algorithms library is assessed, electronic equipment obtains multiple respectively firstThen the average index value of index value set is normalized the multiple average index values got, further according to each fingerCorresponding weighted value is marked, summation is weighted to multiple average index values after normalization, obtains the first weighted sum.
After obtaining the first weighted sum, by the first obtained weighted sum and predetermined threshold value, (predetermined threshold value can be withIt is obtained based on history augmented reality algorithms library, the version number of the history augmented reality algorithms library calculates less than tested augmented realityThe version number of Faku County) it is compared, wherein if the first weighted sum got is more than predetermined threshold value, obtain aforementioned enhancingThe test result that real algorithms library (i.e. tested augmented reality algorithms library) test passes through, if the first weighted sum gotLess than or equal to predetermined threshold value, then the test result of aforementioned augmented reality algorithms library test crash is obtained.
It should be noted that the corresponding weighted value of difference index, it can be by those skilled in the art according to testing requirement, accordinglySetting.
In one embodiment, before " being compared the first weighted sum with predetermined threshold value ", further include:
(1) according to the sequencing of frame title, the aforesaid plurality of test input data frame after renaming is sequentially input and is gone throughHistory augmented reality algorithms library is handled, and the version number of the history augmented reality algorithms library is less than aforementioned augmented reality algorithms libraryVersion number;
(2) the second weighted sum of corresponding history augmented reality algorithms library is obtained, and using the second weighted sum as aforementionedPredetermined threshold value.
Wherein, for how to obtain the second weighted sum of corresponding history augmented reality algorithms library, it is referred to the above passAccordingly implement in the description for the first weighted sum for obtaining corresponding aforementioned augmented reality algorithms library, details are not described herein again.
After the second weighted sum for getting corresponding history augmented reality algorithms library, corresponding history augmented reality is calculatedSecond weighted sum of Faku County is as predetermined threshold value.As a result, in the second weighted sum that will correspond to history augmented reality algorithms libraryWhen as predetermined threshold value, the test result obtained based on the predetermined threshold value will react aforementioned augmented reality algorithms library and history enhancingThe processing capacity height of real algorithms library.For example, in the second weighted sum that will correspond to history augmented reality algorithms library as pre-If when threshold value, passing through if obtained test result is test, illustrate that the processing capacity of tested augmented reality algorithms library is highIn the processing capacity of history augmented reality algorithms library, if obtained test result is test crash, illustrate that the enhancing of test is existingThe processing capacity of real algorithm is less than or equal to the processing capacity of history augmented reality algorithms library.
In one embodiment, before " being compared the first weighted sum with predetermined threshold value ", further include:
(1) the hardware shape during aforementioned augmented reality algorithms library handles aforesaid plurality of test input data frame is obtainedState data;
(2) basis gets the first weighted sum of hardware status data pair and is adjusted.
Wherein, the hardware status data that electronic equipment obtains includes but not limited to CPU usage, GPU utilization rates and interiorDeposit at least one of utilization rate.For example, electronic equipment gets the hardware during aforementioned augmented reality algorithms library is handledStatus data includes CPU usage, GPU utilization rates and memory usage.
Hardware status data is got to (the i.e. corresponding weighting of augmented reality algorithms library of aforementioned first weighted sum in basisAnd value) when being adjusted, electronic equipment also needs to get history augmented reality algorithms library to aforesaid plurality of test input dataHardware status data during being handled.
It should be noted that for purposes of illustration only, the hardware status data of the aforementioned augmented reality algorithms library of correspondence is remembered belowFor the first hardware status data, the hardware status data of corresponding history augmented reality algorithms library is denoted as the second hardware state numberAccording to.
Electronic equipment after getting identical first hardware status data of data type and the second hardware status data,Further get the percent value of the first hardware status data and the second hardware status data.
Wherein, when getting the first hardware status data and the second hardware status data includes the data of single type,Directly calculate the percent value of the first hardware status data and the second hardware status data;In the first hardware state number gotWhen according to including the data of polymorphic type with the second hardware status data, respectively to the first hardware status data and the second hardware state numberAccording to being normalized, further according to the corresponding weighted value of all types of data, the polymorphic type for including to the first hardware status dataData are weighted summation, the third weighted sum of corresponding first hardware status data are obtained, to the second hardware status data packetThe diversiform data included is weighted summation, obtains the 4th weighted sum of corresponding second hardware status data, then calculates theThe percent value of three weighted sums and the 4th weighted sum, hundred as the first hardware status data and the second hardware status dataDivide ratio.
After the percent value for getting the first hardware status data and the second hardware status data, electronic equipment calculatesThe quotient of first weighted sum and the percent value, using the quotient being calculated as the first weighted sum after adjustment.
If the percent value of the first hardware status data and the second hardware status data is more than one as a result, illustrate aforementioned increasingStrong reality algorithms library occupies more hardware resources during processing compared to history augmented reality algorithms library, calculates at this timeTo the quotient of the first weighted sum and the percent value, aforementioned second weighted sum will be less than, in other words the first weighted sumIt is turned down;If the percent value of the first hardware status data and the second hardware status data is less than one, illustrate that aforementioned enhancing is existingReal algorithms library occupies less hardware resource during processing compared to history augmented reality algorithms library, and is calculated at this timeThe quotient of one weighted sum and the percent value will be greater than aforementioned second weighted sum, and the first weighted sum is raised in other words?.
By the first weighted sum of adjustment of above description mode, enable to finally obtain test result to include hardwareThe factor of resource occupation can further increase the accuracy that processing capacity test assessment is carried out to augmented reality algorithms library.
In one embodiment, process phase is carried out to aforesaid plurality of test input data frame in aforementioned augmented reality algorithms libraryBetween, further include:
In the resource transfer request for receiving application, it is not responding to resource transfer request, resource transfer request is used forAsk hardware resource.
Wherein, electronic equipment is by handling aforesaid plurality of test input data frame in aforementioned augmented reality algorithms libraryIn a period of, it is not responding to the resource transfer received request, the application unrelated with testing can be avoided to seize hardware resource, with trueIt is unaffected to protect the accuracy tested aforementioned augmented reality algorithms library.
Below by the basis of the method that above-described embodiment describes, the test method of the application is described further.PleaseWith reference to Fig. 6, which may include:
201, when needing to carry out the test of augmented reality algorithms library, according to the priority of the frame title of test input data frameSequentially, judge whether the frame number of multiple test input data frames is continuous.
Currently, electronic equipment in order to realize augmented reality function, is integrated with augmented reality algorithms library in an operating system, it shouldAugmented reality algorithms library includes many algorithms, for example, the SLAM algorithms for building 3 d grid map, for identification in imageImage, semantic partitioning algorithm of appearance etc..In order to optimize augmented reality function, the augmented reality algorithm integrated to electronic equipment is neededLibrary is iterated update, when being updated to it, will carry out test to the processing capacity of augmented reality algorithms library first and commentEstimate.
Wherein, electronic equipment is provided with preset switches, which can be virtual switch, can also be that entity is openedIt closes, the embodiment of the present application is not specifically limited this.On the one hand, when tester needs to test augmented reality algorithms libraryWhen, the preset switches of electronic equipment offer can be provided.After being completed, user can close the preset switches.It is anotherAspect, electronic equipment determine the test for needing to carry out augmented reality algorithms library when detecting aforementioned preset switches and being opened.
For example, please referring to Fig. 2, it is provided with " preset switches " in " setting " interface of electronic equipment, electronic equipment is receivingTo the selection operation to the preset switches, (tester can click preset switches by finger, to electronic equipment input pairThe selection operation of preset switches) when, by the operation interface of setting changing interface to preset switches.
As shown in figure 3, in the operation interface of preset switches, preset switches acquiescence is closed.Electronic equipment existsReceive that (tester can slide the sliding shoe of preset switches by finger, to electricity to the handover operations of the preset switchesHandover operation of the sub- equipment input to preset switches) when, preset switches are switched into open state by closed state.At this point, electricSub- equipment determines the test for needing to carry out augmented reality algorithms library.
Wherein, after preset switches switch to open state by closed state, the operation interface of preset switches can be such as Fig. 5 institutesShow.
When determining the test for needing to carry out augmented reality algorithms library, electronic equipment is according to the frame name for testing input data frameThe sequencing of title, judge multiple test input data frames for being tested augmented reality algorithms library frame number whetherContinuously.Wherein, test input data frame includes the Inertial Measurement Unit data of picture frame and the corresponding picture frame, the picture frame withThe acquisition moment of the Inertial Measurement Unit data is identical.
Wherein, electronic equipment can be successively read out multiple according to the sequencing of the frame title of test input data frameThe frame number of input data frame is tested, if for example, there are 5 test input data frames, electronic equipment is to this 5 test input numberIt is read out according to the frame number of frame, 5 frame numbers will be read.
After the frame number for reading multiple test input data frames, electronic equipment judges these frame numbers readIt is whether continuous according to reading order.Such as, it is assumed that there are 5 test input data frames, frame title are respectively to test input dataFrame A, test input data frame B, test input data frame C, test input data frame D and test input data frame E, electronics are setIt is standby by according to the sequencing of frame title " test input data frame A → test input data frame B → test input data frame C →Test input data frame D → test input data frame E " reads out the frame numbers of 5 test input data frames, be followed successively by FA, FB,FC, FD, FE judge in this 5 frame numbers that any two is adjacent (for example, FA and FB is adjacent, FB and FC are adjacent, FC and FD laterIt is adjacent) frame number it is whether continuous, if there are discontinuous two adjacent frame numbers, judge read out 5 frame numbers byIt is discontinuous according to reading order.
202, when the frame number of aforesaid plurality of test input data frame is discontinuous, to aforesaid plurality of test input data frameRenaming is carried out, so that the frame number of aforesaid plurality of test input data frame is continuous according to the sequencing of frame title.
Wherein, when the frame number of aforesaid plurality of test input data frame is discontinuous according to the sequencing of frame title, electricitySub- equipment carries out renaming to aforesaid plurality of test input data frame, so that the frame number of aforesaid plurality of test input data frameSequencing according to frame title is continuous.
Such as, it is assumed that there are 5 test input data frames, frame title are respectively to test input data frame A, test input numberAccording to frame B, test input data frame C, test input data frame D and test input data frame E, according to the sequencing of frame title" test input data frame A → test input data frame B → test input data frame C → test input data frame D → test inputThe frame number of data frame E ", this five test input data frames are followed successively by:1,3,2,4,5, it is clear that, this five frame numbers are notContinuously.Electronic equipment is continuously constraint according to frame title sequencing with frame number, is ordered again 5 test input data framesTest input data frame A renamed as is tested input data frame A ' by name, and test input data frame B renamed as test is defeatedEnter data frame C ', test input data frame C renamed as is tested into input data frame B ', input data frame D renamings will be testedTo test input data frame D ', test input data frame E renamed as is tested into input data frame E ', in this way, after renamingThe sequencing of frame title becomes " test input data frame A ' → test input data frame B ' → test input data frame C ' → surveyTry input data frame D ' → test input data frame E ' ", the frame number of this five test input data frames is followed successively by this time:1,2,3,4,5, the sequencing according to frame title is continuous.
203, the aforesaid plurality of test input data frame after renaming is sequentially input according to the sequencing of frame titleAugmented reality algorithms library is handled.
Wherein, electronic equipment is after completing to the renaming of aforesaid plurality of test input data frame, according to frame titleAforesaid plurality of test input data frame after renaming is sequentially inputted to need augmented reality algorithms library to be tested by sequencingIn handled.For example, in augmented reality algorithms library more new version, using the augmented reality algorithms library of new version as needing to surveyThe augmented reality algorithms library of examination.
It is easily understood that for aforesaid plurality of test input data frame after renaming, frame number is according to frame nameThe sequencing of title is continuous, in this way, the aforesaid plurality of test input data frame after renaming is sequentially input augmented reality algorithmLibrary is handled, and the frame number that aforementioned augmented reality algorithms library receives test input data frame will be continuous, and be avoided as a result,Test input data frame occurs chaotic.
204, it obtains aforementioned augmented reality algorithms library and exported, table is handled to aforesaid plurality of test input data frameLevy the index value set of the index of its processing capacity.
Wherein, electronic equipment is often inputted in a test input data frame to aforementioned augmented reality algorithms library and is handled,The index for characterizing its processing capacity that aforementioned augmented reality algorithms library exports will accordingly be got, and (such as feature point number refers toMark, tracking quality index, rebuilding plane number index and handling duration index etc.) index value, in this way, electronic equipment will obtainTo the multiple index values for corresponding to aforesaid plurality of test input data frame respectively, by multiple index value structures of the same index gotAt index value set.
It should be noted that when electronic equipment characterizes the index value set of the index of augmented reality algorithms library in acquisition, rootAccording to current testing requirement, obtained.It, then can be with for example, if desired processing capacity in terms of test augmented reality algorithms libraryObtain the index value set of the index of characterization augmented reality algorithms library this aspect processing capacity;For another example, if desired test enhancingThe comprehensive treatment capability of real algorithms library can then obtain multiple fingers of characterization augmented reality algorithms library different aspect processing capacityTarget index value set.
205, when getting the index value set of multiple indexs, the average index of multiple index value sets is obtained respectivelyValue.
Wherein, it when needing the comprehensive treatment capability to augmented reality algorithms library to test, is corresponded to getting respectivelyMultiple index value sets of multiple and different indexs.For example, getting the index value set A of character pair point number index, obtainTo the index value set B of corresponding tracking quality index, the index value set C of corresponding rebuilding plane number index is got, is gotThe index value set D etc. of long pointer when alignment processing.
In this way, when the processing capacity to augmented reality algorithms library is assessed, electronic equipment obtains multiple respectively firstThe average index value of index value set.
206, according to the multiple average index values and the corresponding weighted value of each index got, multiple average fingers are obtainedFirst weighted sum of scale value.
Wherein, electronic equipment is multiple flat to what is got after getting the average index value of multiple index value setsEqual index value is normalized, further according to the corresponding weighted value of each index, to multiple average index values after normalization intoRow weighted sum obtains the first weighted sum.
It should be noted that the corresponding weighted value of difference index, it can be by those skilled in the art according to testing requirement, accordinglySetting.
207, the first weighted sum is compared with predetermined threshold value, if the first weighted sum is more than predetermined threshold value,The test result passed through to test.
After obtaining the first weighted sum, by the first obtained weighted sum and predetermined threshold value, (predetermined threshold value can be withIt is obtained based on history augmented reality algorithms library, the version number of the history augmented reality algorithms library calculates less than tested augmented realityThe version number of Faku County) it is compared, wherein if the first weighted sum got is more than predetermined threshold value, obtain aforementioned enhancingThe test result that real algorithms library (i.e. tested augmented reality algorithms library) test passes through, if the first weighted sum gotLess than or equal to predetermined threshold value, then the test result of aforementioned augmented reality algorithms library test crash is obtained.
In one embodiment, a kind of test device is additionally provided.Fig. 7 is please referred to, Fig. 7 is survey provided by the embodiments of the present application400 structural schematic diagram is set in trial assembly.Wherein the test device 400 is applied to electronic equipment, which includes judgment module401, renamer module 402, processing module 403 and test module 404 are as follows:
Judgment module 401, for when needing to carry out the test of augmented reality algorithms library, according to test input data frameThe sequencing of frame title judges whether the frame number of multiple test input data frames is continuous.
Renamer module 402, when discontinuous for the frame number in aforesaid plurality of test input data frame, to aforesaid plurality ofIt tests input data frame and carries out renaming, so that priority of the frame number of aforesaid plurality of test input data frame according to frame titleSequence is continuous.
Processing module 403, for the sequencing according to frame title, by the aforesaid plurality of test input data after renamingFrame sequentially inputs augmented reality algorithms library and is handled.
Test module 404, at according to aforementioned augmented reality algorithms library to aforesaid plurality of test input data frameThe handling result of reason obtains the test result to aforementioned augmented reality algorithms library.
In one embodiment, test device 400 further includes frame generation module, is used for:
Inertial Measurement Unit data when acquiring the picture frame of current scene, and obtaining acquired image frames;
Test input data frame is generated according to picture frame and Inertial Measurement Unit data;
The generation moment according to test input data frame is that test input data frame adds timestamp, and numbers;
According to default naming rule, for test input data frame name.
In one embodiment, the frame number of aforesaid plurality of test input data frame connects according to the sequencing of timestampContinuous, renamer module 402 can be used for:
According to the timestamp of test input data frame, renaming is carried out to aforesaid plurality of test input data frame.
In one embodiment, test module 404 can be used for:
Obtain aforementioned augmented reality algorithms library to aforesaid plurality of test input data frame handled it is being exported, characterize itThe index value set of the index of processing capacity;
According to the index value set got, the test result of augmented reality algorithms library is obtained.
In one embodiment, test module 404 can be used for:
When getting the index value set of multiple indexs, the average index value of multiple index value sets is obtained respectively;
According to the multiple average index values and the corresponding weighted value of each index got, multiple average index values are obtainedThe first weighted sum;
First weighted sum is compared with predetermined threshold value, if the first weighted sum is more than predetermined threshold value, is surveyedThe test result pinged.
In one embodiment, processing module 403 can be used for the sequencing according to frame title, before after renamingIt states multiple test input data frames and sequentially inputs history augmented reality algorithms library and handled, the history augmented reality algorithms libraryVersion number is less than the version number of aforementioned augmented reality algorithms library;
Test module 404 can be used for obtaining the second weighted sum of corresponding history augmented reality algorithms library, and by secondWeighted sum is as aforementioned predetermined threshold value.
In one embodiment, test device 400 further includes adjustment module, is used for:
Before the first weighted sum is compared by test module 404 with predetermined threshold value, obtains aforementioned augmented reality and calculateFaku County is to the aforesaid plurality of hardware status data tested during input data frame is handled;
It is adjusted according to the first weighted sum of hardware status data pair is got.
In one embodiment, test device 400 further includes request shroud module, in aforementioned augmented reality algorithms libraryWhen receiving the resource transfer request of application carrying out process phase to aforesaid plurality of test input data frame, it is not responding to the resource tuneWith request, which asks for asking hardware resource.
Wherein, the step of each module executes in test device 400 can refer to the method step of above method embodiment descriptionSuddenly.The test device 400 can integrate in the electronic device, such as mobile phone, tablet computer.
When it is implemented, the above modules can be used as independent entity to realize, arbitrary combination can also be carried out, asSame or several entities realize that the specific implementation of above each unit can be found in the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that the present embodiment test device can be when needing to carry out the test of augmented reality algorithms library, by judgingModule 401 judges that the frame number of multiple test input data frames is according to the sequencing of the frame title of test input data frameIt is no continuous.By renamer module 402 when the frame number of multiple test input data frames is discontinuous, to multiple test input datasFrame carries out renaming, so that the frame number of multiple test input data frames is continuous according to the sequencing of frame title.By handlingMultiple test input data frames after renaming are sequentially input augmented reality and calculated by module 403 according to the sequencing of frame titleFaku County is handled.Multiple test input data frames are handled according to augmented reality algorithms library by test module 404Reason is as a result, obtain the test result to augmented reality algorithms library.In the embodiment of the present application, by discontinuous multiple to frame numberIt tests input data frame and carries out renaming so that the frame number of multiple test input data frames connects according to the sequencing of frame titleIt is continuous, it is ensured that test input data in test process will not order of occurrence it is chaotic, can improve to augmented reality algorithms library intoThe accuracy of row test.
In one embodiment, a kind of electronic equipment is also provided.Please refer to Fig. 8, electronic equipment 500 include processor 501 withAnd memory 502.Wherein, processor 501 is electrically connected with memory 502.
Processor 500 is the control centre of electronic equipment 500, utilizes various interfaces and the entire electronic equipment of connectionVarious pieces by the computer program of operation or load store in memory 502, and are called and are stored in memory 502Interior data execute the various functions of electronic equipment 500 and handle data.
Memory 502 can be used for storing software program and module, and processor 501 is stored in memory 502 by operationComputer program and module, to perform various functions application and data processing.Memory 502 can include mainly storageProgram area and storage data field, wherein storing program area can storage program area, the computer program needed at least one function(such as sound-playing function, image player function etc.) etc.;Storage data field can be stored to be created according to using for electronic equipmentData etc..In addition, memory 502 may include high-speed random access memory, can also include nonvolatile memory, exampleSuch as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 may be used alsoTo include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic equipment 500 can be according to following step, by one or oneThe corresponding instruction of process of a above computer program is loaded into memory 502, and is stored in by the operation of processor 501Computer program in reservoir 502, it is as follows to realize various functions:
When needing to carry out the test of augmented reality algorithms library, the priority according to the frame title of test input data frame is suitableSequence judges whether the frame number of multiple test input data frames is continuous.
When the frame number of aforesaid plurality of test input data frame is discontinuous, aforesaid plurality of test input data frame is carried outRenaming, so that the frame number of aforesaid plurality of test input data frame is continuous according to the sequencing of frame title.
The aforesaid plurality of test input data frame after renaming is sequentially input into enhancing according to the sequencing of frame titleReal algorithms library is handled.
According to the handling result that aforementioned augmented reality algorithms library handles aforesaid plurality of test input data frame, obtainTo the test result of aforementioned augmented reality algorithms library.
Also referring to Fig. 9, in some embodiments, electronic equipment 500 can also include:Display 503, radio frequency electricalRoad 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein display 503, radio circuit 504, voicefrequency circuit 505 andPower supply 506 is electrically connected with processor 501 respectively.
Display 503 is displayed for information input by user or the information of user and various figures is supplied to useFamily interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display 503May include display panel, in some embodiments, may be used liquid crystal display (Liquid Crystal Display,LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure display surfacePlate.
Radio circuit 504 can be used for transceiving radio frequency signal, to be set by radio communication with the network equipment or other electronicsIt is standby to establish wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
Voicefrequency circuit 505 can be used for providing the audio interface between user and electronic equipment by loud speaker, microphone.
Power supply 506 is used to all parts power supply of electronic equipment 500.In some embodiments, power supply 506 can be withIt is logically contiguous by power-supply management system and processor 501, to by power-supply management system realize management charging, electric discharge, withAnd the functions such as power managed.
Although being not shown in Fig. 9, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
In some embodiments, when needing to carry out the test of augmented reality algorithms library, according to test input data frameFrame title sequencing, before judging whether the frame numbers of multiple test input data frames continuous, processor 501 can be heldRow following steps:
Inertial Measurement Unit data when acquiring the picture frame of current scene, and obtaining acquired image frames;
Test input data frame is generated according to picture frame and Inertial Measurement Unit data;
The generation moment according to test input data frame is that test input data frame adds timestamp, and numbers;
According to default naming rule, for test input data frame name.
In some embodiments, when carrying out renaming to aforesaid plurality of test input data frame, processor 501 can be withExecute following steps:
According to the timestamp of test input data frame, renaming is carried out to aforesaid plurality of test input data frame.
In some embodiments, aforesaid plurality of test input data frame is being carried out according to aforementioned augmented reality algorithms libraryThe handling result of processing, when obtaining the test result to aforementioned augmented reality algorithms library, processor 501 can execute following stepSuddenly:
Obtain aforementioned augmented reality algorithms library to aforesaid plurality of test input data frame handled it is being exported, characterize itThe index value set of the index of processing capacity;
According to the index value set got, the test result of augmented reality algorithms library is obtained.
In some embodiments, according to the index value set got, the test knot of augmented reality algorithms library is obtainedWhen fruit, processor 501 can execute following steps:
When getting the index value set of multiple indexs, the average index value of multiple index value sets is obtained respectively;
According to the multiple average index values and the corresponding weighted value of each index got, multiple average index values are obtainedThe first weighted sum;
First weighted sum is compared with predetermined threshold value, if the first weighted sum is more than predetermined threshold value, is surveyedThe test result pinged.
In some embodiments, before being compared the first weighted sum with predetermined threshold value, processor 501 can be withExecute following steps:
According to the sequencing of frame title, the aforesaid plurality of test input data frame after renaming is sequentially input into history and is increasedStrong reality algorithms library is handled, and the version number of the history augmented reality algorithms library is less than the version of aforementioned augmented reality algorithms libraryNumber;
The second weighted sum of corresponding history augmented reality algorithms library is obtained, and using the second weighted sum as aforementioned defaultThreshold value.
In some embodiments, before being compared the first weighted sum with predetermined threshold value, processor 501 can be withExecute following steps:
Obtain the hardware state during aforementioned augmented reality algorithms library handles aforesaid plurality of test input data frameData;
It is adjusted according to the first weighted sum of hardware status data pair is got.
In some embodiments, aforesaid plurality of test input data frame is handled in aforementioned augmented reality algorithms libraryFollowing steps can also be performed in period, processor 501:
In the resource transfer request for receiving application, it is not responding to resource transfer request, resource transfer request is used forAsk hardware resource.
The embodiment of the present application also provides a kind of storage medium, and the storage medium is stored with computer program, when the meterWhen calculation machine program is run on computers so that the computer executes the test method in any of the above-described embodiment, such as:?When needing to carry out the test of augmented reality algorithms library, according to the sequencing of the frame title of test input data frame, judge multipleWhether the frame number for testing input data frame is continuous;When the frame number of aforesaid plurality of test input data frame is discontinuous, to precedingIt states multiple test input data frames and carries out renaming, so that the frame number of aforesaid plurality of test input data frame is according to frame titleSequencing it is continuous;It is defeated successively by the aforesaid plurality of test input data frame after renaming according to the sequencing of frame titleEnter augmented reality algorithms library to be handled;According to aforementioned augmented reality algorithms library to aforesaid plurality of test input data frame atThe handling result of reason obtains the test result to aforementioned augmented reality algorithms library.
In the embodiment of the present application, storage medium can be magnetic disc, CD, read-only memory (Read Only Memory,ROM) or random access device (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodimentPoint, it may refer to the associated description of other embodiment.
It should be noted that for the test method of the embodiment of the present application, this field common test personnel are appreciated thatThe all or part of flow for realizing the test method of the embodiment of the present application, be can be controlled by computer program it is relevant hardPart is completed, and the computer program can be stored in a computer read/write memory medium, be such as stored in depositing for electronic equipmentIt in reservoir, and is executed by least one processor in the electronic equipment, may include the reality such as test method in the process of implementationApply the flow of example.Wherein, the storage medium can be magnetic disc, CD, read-only memory, random access memory etc..
For the test device of the embodiment of the present application, each function module can be integrated in a processing chip,Can be that modules physically exist alone, can also two or more modules be integrated in a module.It is above-mentioned integratedModule both may be used hardware form realize, can also be realized in the form of software function module.The integrated mouldIf block is realized in the form of software function module and when sold or used as an independent product, can also be stored in a meterIn calculation machine read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of test method, device, storage medium and the electronic equipment provided above the embodiment of the present application carries outIt is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above exampleIllustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to thisThe thought of application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answeredIt is interpreted as the limitation to the application.

Claims (10)

CN201810603270.XA2018-06-122018-06-12Test method, device, storage medium and electronic equipmentPendingCN108804330A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810603270.XACN108804330A (en)2018-06-122018-06-12Test method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810603270.XACN108804330A (en)2018-06-122018-06-12Test method, device, storage medium and electronic equipment

Publications (1)

Publication NumberPublication Date
CN108804330Atrue CN108804330A (en)2018-11-13

Family

ID=64085306

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810603270.XAPendingCN108804330A (en)2018-06-122018-06-12Test method, device, storage medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN108804330A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111027290A (en)*2019-11-222020-04-17贝壳技术有限公司Data report naming method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5983365A (en)*1995-02-201999-11-09Alcatel N.V.Frame processing unit with test mode, line termination module including such a frame processing unit, and method for testing such a frame processing unit
KR20000067691A (en)*1999-04-302000-11-25김영환Method for frame reordering in image coder
CN102884779A (en)*2010-02-242013-01-16数字标记公司Intuitive computing methods and systems
CN103814382A (en)*2012-09-142014-05-21华为技术有限公司 Augmented reality processing method and device for mobile terminal
CN105975934A (en)*2016-05-052016-09-28中国人民解放军63908部队Dynamic gesture identification method and system for augmented reality auxiliary maintenance
CN106803286A (en)*2017-01-172017-06-06湖南优象科技有限公司Mutual occlusion real-time processing method based on multi-view image
CN107450714A (en)*2016-05-312017-12-08大唐电信科技股份有限公司Man-machine interaction support test system based on augmented reality and image recognition

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5983365A (en)*1995-02-201999-11-09Alcatel N.V.Frame processing unit with test mode, line termination module including such a frame processing unit, and method for testing such a frame processing unit
KR20000067691A (en)*1999-04-302000-11-25김영환Method for frame reordering in image coder
CN102884779A (en)*2010-02-242013-01-16数字标记公司Intuitive computing methods and systems
CN103814382A (en)*2012-09-142014-05-21华为技术有限公司 Augmented reality processing method and device for mobile terminal
CN105975934A (en)*2016-05-052016-09-28中国人民解放军63908部队Dynamic gesture identification method and system for augmented reality auxiliary maintenance
CN107450714A (en)*2016-05-312017-12-08大唐电信科技股份有限公司Man-machine interaction support test system based on augmented reality and image recognition
CN106803286A (en)*2017-01-172017-06-06湖南优象科技有限公司Mutual occlusion real-time processing method based on multi-view image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111027290A (en)*2019-11-222020-04-17贝壳技术有限公司Data report naming method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN107678799B (en)Application program control method and device, storage medium and electronic equipment
CN109284445B (en)Network resource recommendation method and device, server and storage medium
CN111338910B (en) Log data processing and display method, device, device and storage medium
CN109784351B (en)Behavior data classification method and device and classification model training method and device
CN108920082A (en)Operation control method, operation control device, storage medium and electronic equipment
CN109753425A (en)Pop-up processing method and processing device
CN107885545B (en) Application management method, device, storage medium and electronic device
CN108829595B (en)Test method, test device, storage medium and electronic equipment
CN113822322B (en)Image processing model training method and text processing model training method
CN109147022A (en)VR data rendering method and system, computer equipment, computer storage medium
CN108829444A (en)A kind of method that background application is automatically closed, terminal and computer storage medium
CN111796990B (en)Resource display method, device, terminal and storage medium
CN113296647A (en)Interface display method and device
CN104102560B (en)The method and device of system performance testing
CN109144447A (en)Split screen window adjusting method and device, storage medium and electronic equipment
CN108196968A (en)Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN108984097B (en) Touch operation method, device, storage medium and electronic device
CN108804330A (en)Test method, device, storage medium and electronic equipment
CN110191316A (en)A kind of information processing method and device, equipment, storage medium
CN109101164A (en)Application display method, device, storage medium and electronic equipment
CN110448895A (en)Information processing method and device in game
CN109451295A (en)A kind of method and system obtaining virtual information
CN108255631A (en)Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN111193604A (en)Deployment method, device, equipment and storage medium of virtual network function chain
CN112333029B (en)Network architecture configuration information generation method and device, storage medium and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20181113

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp