CN108196782A - Photographing question searching method and electronic equipment - Google Patents

Photographing question searching method and electronic equipment Download PDF

Info

Publication number
CN108196782A
CN108196782A CN201810074338.XA CN201810074338A CN108196782A CN 108196782 A CN108196782 A CN 108196782A CN 201810074338 A CN201810074338 A CN 201810074338A CN 108196782 A CN108196782 A CN 108196782A
Authority
CN
China
Prior art keywords
electronic equipment
target
examination question
position coordinate
coordinate
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
CN201810074338.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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810074338.XA priority Critical patent/CN108196782A/en
Publication of CN108196782A publication Critical patent/CN108196782A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of electronic equipment, and discloses a photographing question searching method and electronic equipment, wherein the photographing question searching method comprises the following steps: the electronic equipment only needs to detect two clicks of a user for a shot picture and acquire different position coordinates of the two clicks, a rectangular frame can be automatically generated through the two position coordinates, the electronic equipment can automatically identify test question contents displayed by a target picture in the rectangular frame and send the identified test question contents to the service equipment, and therefore the service equipment can search a target test question and a target answer which are matched with the test question contents. By implementing the embodiment of the invention, the test question content can be selected and the target test question can be searched by clicking the shot picture twice, so that the operation of selecting the question is simplified, and the efficiency of searching the question is improved.

Description

One kind, which is taken pictures, searches topic method and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, and in particular to one kind, which is taken pictures, searches topic method and electronic equipment.
Background technology
As contacting for internet and education sector is increasingly close, occur many Student orienteds in the market searches topic class production Product, such product can obtain topic by way of taking pictures, as student use the photo for searching topic class product shooting topic it Afterwards, adjustable section of topic frame is will appear on photo, student needs to manually adjust the size for cutting topic frame and cuts topic frame in photo Position, so that cutting topic circle choosing needs the topic searched for.However, it has been found in practice that carry out frame selected topic mesh by adjusting topic frame is cut Process it is very cumbersome, cut the topic length of frame, width if student needs repeatedly to manually adjust or cut position of the topic frame in photo, This requires a great deal of time, so as to reduce the efficiency of search topic.
Invention content
The embodiment of the present invention, which discloses one kind, takes pictures and searches topic method and electronic equipment, can simplify the operation for choosing topic, carry Rise the efficiency of search topic.
First aspect of the embodiment of the present invention, which discloses one kind, takes pictures and searches topic method, the method includes:
Detection and obtains first time in the clicking operation twice in succession for the clicking operation twice in succession of shooting picture The second position coordinate of the first position coordinate of clicking operation and second of clicking operation;
The ordinate of the ordinate of the first position coordinate and the second position coordinate is exchanged, generates the third place Coordinate and the 4th position coordinates;
It identifies and is sat in the shooting picture by the first position coordinate, the second position coordinate, the third place The Target Photo in rectangle frame that mark and the 4th position coordinates are surrounded;
The Target Photo is sent to service equipment, so that the service equipment is searched and the target in test item bank Target examination question that contents of test question shown by picture matches and target answer simultaneously feed back to electronic equipment.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described in the acquisition twice in succession It is described in clicking operation after the first position coordinate of first time clicking operation and the second position coordinate of second of clicking operation Method further includes:
Judge whether the ordinate of the first position coordinate is identical with the ordinate of the second position coordinate;
If not, it performs described by the ordinate of the first position coordinate and the ordinate of the second position coordinate It exchanges, generates the third place coordinate and the 4th position coordinates;
If so, the ordinate of the ordinate of the first position coordinate and the second position coordinate is all subtracted default Width value generates the 5th position coordinates and the 6th position coordinates;
5th position coordinates and the 6th position coordinates are identified as the third place coordinate and the 4th position Coordinate, and perform in the identification shooting picture by the first position coordinate, the second position coordinate, described the The Target Photo in rectangle frame that three position coordinates and the 4th position coordinates are surrounded.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to send out the Target Photo It send to service equipment, so that the service equipment is searched and the contents of test question phase shown by the Target Photo in test item bank The target examination question matched and target answer are simultaneously fed back to after electronic equipment, and the method further includes:
The similar examination question identical with the classification of the target examination question is searched in the memory space of the electronic equipment;
The similar examination question is exported, user's practice for the electronic equipment is answered.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to send out the Target Photo It send to service equipment, so that the service equipment is searched and the contents of test question phase shown by the Target Photo in test item bank The target examination question matched and target answer are simultaneously fed back to after electronic equipment, and the method further includes:
The target examination question and examination question confirmation message are exported, the examination question confirmation message is used for for the electronic equipment User confirms whether the content of the target examination question is correct;
When the incorrect finger of content for being used to indicate the target examination question that the user for detecting the electronic equipment triggers When enabling, miscue information is sent to the service equipment, and export shooting prompt message, wherein, the miscue letter It ceases and is mismatched for the contents of test question that the content of the target examination question and the Target Photo is prompted to show, the shooting prompting letter It ceases that the user of the electronic equipment is prompted to re-shoot the examination question for needing to search for.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the detection is for shooting picture Clicking operation twice in succession before, the method further includes:
The shooting picture of the camera shooting of electronic equipment is obtained, is searched in the content of the shooting picture comprising needs Examination question;
Whether the contrast for detecting the shooting picture is less than default contrast;
If so, improving the contrast of the shooting picture, and trigger and perform company of the detection for shooting picture Continuous clicking operation twice.
Second aspect of the embodiment of the present invention discloses a kind of electronic equipment, including:
First detection unit, for detecting the clicking operation twice in succession for shooting picture;
Acquiring unit, for obtain in the clicking operation twice in succession the first position coordinate of first time clicking operation and The second position coordinate of second of clicking operation;
First generation unit, for by the ordinate of the ordinate of the first position coordinate and the second position coordinate It exchanges, generates the third place coordinate and the 4th position coordinates;
Recognition unit, for identifying in the shooting picture by the first position coordinate, the second position coordinate, institute State the Target Photo in the rectangle frame that the third place coordinate and the 4th position coordinates are surrounded;
Transmitting element, for the Target Photo to be sent to service equipment, so that the service equipment is in test item bank It searches the target examination question to match with the contents of test question shown by the Target Photo and target answer and feeds back to the electronics Equipment.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further include:
Judging unit, for first time clicking operation in clicking operation twice in succession described in being obtained in the acquiring unit After first position coordinate and the second position coordinate of second of clicking operation, judge the ordinate of the first position coordinate with Whether the ordinate of the second position coordinate is identical;
When first generation unit specifically for the result judged in the judging unit is no, by described first The ordinate of the ordinate of position coordinates and the second position coordinate exchanges, and generates the third place coordinate and the 4th position is sat Mark;
Second generation unit, the result for judging in the judging unit are when being, by the first position coordinate Ordinate and the ordinate of the second position coordinate all subtract predetermined width value, generate the 5th position coordinates and the 6th position Coordinate;
Determination unit is sat for the 5th position coordinates and the 6th position coordinates to be identified as the third place Mark and the 4th position coordinates, and trigger the recognition unit and perform in the identification shooting picture by the first position The mesh in rectangle frame that coordinate, the second position coordinate, the third place coordinate and the 4th position coordinates are surrounded It marks on a map piece.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further include:
Searching unit, for the Target Photo to be sent to service equipment in the transmitting element, so that the service Equipment searches the target examination question to match with the contents of test question shown by the Target Photo and target answer simultaneously in test item bank It feeds back to after the electronic equipment, is searched in the memory space of the electronic equipment identical with the classification of the target examination question Similar examination question;
First output unit, for exporting the similar examination question, user's practice for the electronic equipment is answered.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further include:
Second output unit, for the Target Photo to be sent to service equipment in the transmitting element, so that described Service equipment searches the target examination question to match with the contents of test question shown by the Target Photo in test item bank and target is answered Case is simultaneously fed back to after the electronic equipment, exports the target examination question and examination question confirmation message, the examination question confirmation message For confirming whether the content of the target examination question is correct for the user of the electronic equipment;
Second detection unit, for detecting whether receive the electronic equipment user triggering be used to indicate the mesh Mark the incorrect instruction of content of examination question;
The transmitting element is additionally operable in the result that the second detection unit detects as when being, miscue is believed Breath is sent to the service equipment, and export shooting prompt message, wherein, the miscue information is used to prompt the target The content of examination question is mismatched with the contents of test question that the Target Photo is shown, the shooting prompt message is used to prompt the electronics The user of equipment re-shoots the examination question for needing to search for.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further include:
The acquiring unit is additionally operable to obtain the shooting picture of the camera shooting of the electronic equipment, the shooting figure The examination question for needing to search for is included in the content of piece;
Whether third detection unit, the contrast for detecting the shooting picture are less than default contrast;
Unit is improved, the result for being detected in the third detection unit is when being, improves the shooting picture Contrast, and trigger the first detection unit and perform twice in succession clicking operation of the detection for shooting picture.
The third aspect of the embodiment of the present invention discloses another electronic equipment, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the arbitrary of first aspect A kind of part or all of step of method.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, the computer readable storage medium Program code is stored, wherein, said program code includes the part of any one method or complete for performing first aspect The instruction of portion's step.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer performs the part or all of step of any one method of first aspect.
The aspect of the embodiment of the present invention the 6th disclose a kind of using distribution platform, and the application distribution platform is for issuing calculating Machine program product, wherein, when the computer program product is run on computers so that the computer performs first party The part or all of step of any one method in face.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, electronic equipment need to only detect user for shooting picture click twice, and obtain this two The different location coordinate of secondary click, it is possible to automatically generate a rectangle frame by the two position coordinates, electronic equipment can be with The contents of test question shown by the Target Photo in the rectangle frame is automatically identified, and the contents of test question that will identify that is sent to service Equipment, so that service equipment search and the target examination question that the contents of test question matches and target answer.As it can be seen that it is real to implement the present invention Example is applied, need to only click shooting picture twice just can choose to contents of test question and search target examination question, and topic is chosen so as to simplify Operation, promoted search topic efficiency.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is that a kind of take pictures disclosed by the embodiments of the present invention searches the flow diagram of topic method;
Fig. 2 is a kind of schematic diagram for determining a rectangle frame according to 2 points disclosed by the embodiments of the present invention;
Fig. 3 is that another kind disclosed by the embodiments of the present invention takes pictures and searches the flow diagram of topic method;
Fig. 4 is the schematic diagram that another kind disclosed by the embodiments of the present invention determines a rectangle frame according to 2 points;
Fig. 5 is that another kind disclosed by the embodiments of the present invention takes pictures and searches the flow diagram of topic method;
Fig. 6 is the structure diagram of a kind of electronic equipment disclosed by the embodiments of the present invention;
Fig. 7 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention;
Fig. 8 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention;
Fig. 9 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and attached drawing Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but optionally further include the step of not listing or unit or optional Ground is further included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention, which discloses one kind, takes pictures and searches topic method and electronic equipment, can simplify the operation for choosing topic, carry Rise the efficiency of search topic.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1, which is a kind of takes pictures disclosed by the embodiments of the present invention, searches the flow diagram of topic method.Wherein, scheme 1 described take pictures searches topic method suitable for each class of electronic devices such as private tutor's machine, study mobile phone, study tablet, present invention implementation Example does not limit.Wherein, the operating system of each class of electronic devices may include but be not limited to Android operation system, IOS operations system System, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc. Deng the embodiment of the present invention does not limit.As shown in Figure 1, this is taken pictures and searches topic method and may comprise steps of:
101st, electronic equipment detection is for the clicking operation twice in succession of shooting picture.
In the embodiment of the present invention, the screen of electronic equipment can be touch screen, and touch screen can be capacitive touch screen (Capacitive Touch Screen), capacitive touch screen are mainly to be worked using the electric current sensing of human body electric field. Capacitive touch screen is one piece of glass screen contained there are four composite bed, and outermost one layer of capacitive touch screen is very thin silicon soil Glassivation, for protecting three following composite beds;It is interlayer oxidation cigarette tin (Indium below silica protective layer for glass Tin Oxide, ITO) coating, interlayer oxidation cigarette tin coating is working lining, and four angles of interlayer oxidation cigarette tin coating respectively draw one A electrode, when user touches the surface of capacitive touch screen with finger, the contact of user's finger and capacitance touch screen surfaces Point forms a coupled capacitor, and the finger of user can siphon away the electric current of a very little from touch point, this electric current being sucked away It is to be flowed out from the electrode on four angles of interlayer oxidation cigarette tin coating, and the size of current flowed out in electrode is and electrode Distance away from the touch point is directly proportional, and the controller of electronic equipment can be according to the ratio of the size of current on this four electrodes Accurately calculate position of the touch point on capacitive touch screen;It is glassy layer under interlayer oxidation cigarette tin coating;It is most lower One layer of face is internal layer oxidation cigarette tin (Indium Tin Oxide, ITO) coating, and internal layer oxidation cigarette tin coating can be used as shielding Layer, to ensure that capacitive touch screen keeps good working environment.It can accurately detect to use using capacitive touch screen The position of screen is clicked at family, the topic inquired so as to which user is accurately got to need.
In the embodiment of the present invention, because service equipment can be according in the whole item contents or part topic that user chooses Appearance identifies whole road topic, is required to look up so the clicking operation twice in succession of the user of electronic equipment can be clicked to be directed to Any position of topic;Position such as user's clicking operation twice can be the periphery of item content (upper left corner of topic and Lower right corner etc.) or any two position in the range of topic.
102nd, electronic equipment obtains the first position coordinate and second of first time clicking operation in clicking operation twice in succession The second position coordinate of secondary clicking operation.
In the embodiment of the present invention, electronic equipment can be using the lower left corner of Target Photo as origin, with origin to the lower right corner X-axis is made in direction, makees y-axis to the direction in the upper left corner with origin, generates a plane right-angle coordinate, and the of first time clicking operation One position coordinates and the second position coordinate of second of clicking operation are all obtained based on the plane right-angle coordinate.
As an alternative embodiment, the clicking operation twice that electronic equipment can be carried out at the same time by detecting user First position coordinate and second position coordinate are obtained to realize, electronic equipment obtains first position coordinate and second position coordinate Mode can include:
Electronic equipment detection is for the clicking operation twice of the synchronization of shooting picture;
Electronic equipment obtains two position coordinates in the clicking operation twice of synchronization;
The smaller position coordinates of abscissa in two position coordinates are determined as first position coordinate by electronic equipment, and by two The larger position coordinates of abscissa are determined as second position coordinate in a position coordinates.
Wherein, implement this embodiment, the user that can more simplify electronic equipment selects the operation side of item content Formula improves the efficiency of search topic.
103rd, electronic equipment exchanges the ordinate of the ordinate of first position coordinate and second position coordinate, generates third Position coordinates and the 4th position coordinates.
In the embodiment of the present invention, the ordinate of first position coordinate and the ordinate of second position coordinate exchange, and that is to say The abscissa of first position coordinate and the ordinate combination producing the third place coordinate of second position coordinate, second position coordinate The 4th position coordinates of ordinate combination producing of abscissa and first position coordinate.
104th, electronic equipment identification shooting picture in by first position coordinate, second position coordinate, the third place coordinate and The Target Photo in rectangle frame that 4th position coordinates are surrounded.
Wherein, in the generating process and step 104 of the third place coordinate in step 103 and the 4th position coordinates by The generating process of rectangle frame that first position coordinate, second position coordinate, the third place coordinate and the 4th position coordinates surround please Together referring to Fig.2, Fig. 2 is a kind of schematic diagram for determining a rectangle frame according to 2 points disclosed by the embodiments of the present invention.From Fig. 2 It can be seen a plane right-angle coordinate, x-axis is the horizontal number axis of direction to the right, and y-axis is the upward vertical number axis in direction, x-axis Intersection point with y-axis is that origin O, point A and point B are the clicking operations twice in succession for shooting picture that electronic equipment detects Two positions, point A (a1, b2) it is first position coordinate, wherein, a1For the abscissa of first position coordinate, b2It is sat for first position Target ordinate, point B (b1, a2) it is second position coordinate, wherein, b1For the abscissa of second position coordinate, a2For the second position The ordinate of coordinate.Electronic equipment is by the ordinate b of first position coordinate2With the ordinate a of second position coordinate2Exchange namely It is by the abscissa a of first position coordinate1With the ordinate a of second position coordinate2Combination, generation the third place coordinate points C (a1, a2), by the abscissa b of second position coordinate1With the ordinate b of first position coordinate2Combination generates the 4th position coordinates point D (b1, b2).The mode of rectangle frame is surrounded by first position coordinate, second position coordinate, the third place coordinate and the 4th position coordinates Connect for first position coordinate points A is connect with the third place coordinate points C, by first position coordinate points A and the 4th position coordinates point D It connects, second position coordinate points B is connect with the third place coordinate points C and by second position coordinate points B and the 4th position coordinates Point D connections, so as to surround a rectangle frame, as shown in Fig. 2, the dash area in Fig. 2 is first position coordinate, the second position is sat The part of rectangle frame that mark, the third place coordinate and the 4th position coordinates surround.Picture in rectangle frame is shoot picture one Part, electronic equipment identifies the picture in rectangle frame, and the picture in the rectangle frame that will identify that is determined as Target Photo.
105th, Target Photo is sent to service equipment by electronic equipment, so that service equipment is searched in test item bank and target Target examination question that contents of test question shown by picture matches and target answer simultaneously feed back to electronic equipment.
In the embodiment of the present invention, service equipment is searched in test item bank to match with the contents of test question shown by Target Photo Target examination question before, service equipment needs to identify the contents of test question included in target examination question, and service equipment can use light In the examination question included in character recognition (Optical Character Recognition, OCR) technology identification target examination question Hold.Service equipment is pre-processed using optical character recognition technology identification contents of test question firstly the need of to Target Photo, pre- to locate The content of reason includes image binaryzation (Image Binarization), image denoising (Image Denoising) and tilts text Shelves image rectification etc., wherein, it by the color treatments of Target Photo is black and white that image binaryzation, which is, because user's shooting Target Photo is colored, and the information content that color image is included is huge, is unfavorable for service equipment and quickly identifies topic Content, therefore the content of Target Photo can be divided into foreground information and background information, and foreground information is set by service equipment White is set as black, background information, has thus obtained the Target Photo after figure binaryzation;Image denoising is removal mesh The noise marked on a map in piece, Target Photo may be interfered during generation by imaging device and external environment, so as to Noise is formed on Target Photo, in the mean filter removal Target Photo of neighborhood averaging may be used in service equipment Grain noise;Topic inclined in Target Photo or inclined word can be corrected by tilting file and picture correction, and user takes Target Photo always there is the inclination of certain angle, if needed in Target Photo identification word be hand-written, word also can There are certain angle of inclination, in order to which service equipment quickly identifies item content, it is necessary to which service equipment is in advance to Target Photo Into line tilt file and picture correction process, service equipment first needs to calculate the angle of inclination of topic and progress in Target Photo Correction, then each character is isolated, and processing is corrected successively to each character, service equipment knowledge can be improved in this way The efficiency of other item content.After pretreatment has been performed, service equipment needs to carry out character recognition.Service equipment is tilting text The shelves image rectification stage has isolated all characters, and therefore, service equipment can use feature in the character recognition stage Extraction (Feature Extraction) technology extracts the character feature of each character, character feature can be edge, angle or Region etc., wherein, larger adjacent two pixel of Grad can be used as edge feature in target image;Office in target image The point of portion's curvature mutation can be used as corner characteristics;The more smooth region of target image mean curvature can be used as provincial characteristics.Clothes Be engaged in equipment after the character feature of each character is extracted, service equipment by all character features of each character with Property data base is compared and matches character, and the various features of character and word set can be included in property data base; Each character that service equipment will identify that is combined, and generates first edition item content, because can during identification character Mistake can be will appear, so service equipment needs to carry out first edition item content logic detection, logic detection is that comparison identifies Character and the front and rear word of character composition occurred of the character it is whether identical with a certain word in candidate sub-block, if identical It is considered that this character is correct, and determine final item content.Identification is improved using optical character recognition technology The accuracy rate of item content also allows the answer that service equipment searches more accurate.
In the described methods of Fig. 1, the operation for choosing topic can be simplified, promote the efficiency of search topic.It is in addition, real The described methods of Fig. 1 are applied, can accurately detect that user clicks the position of screen, so as to accurately get user Need the topic inquired.In addition, implementing the described methods of Fig. 1, the user that can more simplify electronic equipment is selected in topic The mode of operation of appearance improves the efficiency of search topic.In addition, implementing the described methods of Fig. 1, identification item content can be improved Accuracy rate, also allow the answer that service equipment searches more accurate.
Embodiment two
It takes pictures referring to Fig. 3, Fig. 3 is another kind disclosed by the embodiments of the present invention and searches the flow diagram of topic method.Such as Fig. 3 Shown, this, which is taken pictures, searches topic method and may comprise steps of:
Step 301~step 302 is identical with step 101~step 102, and the following contents does not repeat.
303rd, electronic equipment judges whether the ordinate of first position coordinate is identical with the ordinate of second position coordinate, such as Fruit is to perform step 304~step 305;If not, perform step 306~step 310.
It, can if the ordinate of first position coordinate is identical with the ordinate of second position coordinate in the embodiment of the present invention To think first position coordinate and second position coordinate on same horizontal linear, the ordinate of first position coordinate and second The ordinates of position coordinates exchanges, the third place coordinate and the 4th position coordinates of generation respectively with first position coordinate and second Position coordinates overlap, and so as to surround a rectangle frame by this four coordinates, while can not also get in shooting picture The Target Photo of identification item content is needed, so needing to perform step 304~step 305;If first position coordinate is vertical The ordinate of coordinate and second position coordinate differs, and a rectangle frame can be surrounded by four position coordinates, performs step 306~step 310.
304th, the ordinate of the ordinate of first position coordinate and second position coordinate is all subtracted default width by electronic equipment Angle value generates the 5th position coordinates and the 6th position coordinates.
Wherein, the ordinate of the ordinate of first position coordinate and second position coordinate is all subtracted to predetermined width value, it is raw Into the 5th position coordinates and the 6th position coordinates process referring to Fig. 4, Fig. 4 is disclosed by the embodiments of the present invention another according to two Point determines the schematic diagram of a rectangle frame.A plane right-angle coordinate as can be seen from Figure 4, x-axis are the level of direction to the right Number axis, y-axis are the upward vertical number axis in direction, and the intersection point of x-axis and y-axis is that electronic equipment detects for origin O, point A and point B For two positions of the clicking operation twice in succession of shooting picture, point A (a, c) is first position coordinate, wherein, a first The abscissa of position coordinates, c are the ordinate of first position coordinate, and point B (b, c) is second position coordinate, wherein, b second The abscissa of position coordinates, c are the ordinate of second position coordinate.When the ordinate and second of judging first position coordinate Put coordinate ordinate it is identical when, the ordinate of the ordinate of first position coordinate and second position coordinate is all subtracted to default width Angle value can generate the 5th position coordinates and the 6th position coordinates, as shown in Figure 4, predetermined width value be d, first position coordinate Ordinate and the ordinate of second position coordinate all subtract predetermined width value d, and the abscissa of first position coordinate and The abscissa of two position coordinates is all constant, can generate the 5th position coordinates point C (a, c-d) and the 6th position coordinates point D (b, c- D), so as to four vertex of this four points that will obtain as rectangle, a rectangle frame is surrounded.As shown in figure 4, in Fig. 4 Dash area be the part of rectangle frame that surrounds of this four points.
In the embodiment of the present invention, it can be sat by preset width value and the first position got coordinate and the second position Mark creates a rectangle frame jointly, and passes through the rectangle frame and get the target figure that identification item content is needed in shooting picture Piece.
305th, the 5th position coordinates and the 6th position coordinates are identified as the third place coordinate and the 4th by electronic equipment Position coordinates, and trigger and perform step 307~step 310.
In the embodiment of the present invention, implement above-mentioned step 303~step 305, it can be in the ordinate of first position coordinate In the case of identical with the ordinate of second position coordinate, pass through preset width value and the first position coordinate that gets and the Two position coordinates create a rectangle jointly, complete so as to get the Target Photo for needing to identify item content in the rectangle frame The generating process of rectangle frame has been apt to it, the probability comprising the Target Photo for identifying item content is needed can not be obtained by reducing.
306th, electronic equipment exchanges the ordinate of the ordinate of first position coordinate and second position coordinate, generates third Position coordinates and the 4th position coordinates.
307th, electronic equipment identification shooting picture in by first position coordinate, second position coordinate, the third place coordinate and The Target Photo in rectangle frame that 4th position coordinates are surrounded.
308th, Target Photo is sent to service equipment by electronic equipment, so that service equipment is searched in test item bank and target Target examination question that contents of test question shown by picture matches and target answer simultaneously feed back to electronic equipment.
309th, electronic equipment searches the similar examination question identical with the classification of target examination question in the memory space of electronic equipment.
In the embodiment of the present invention, the quantity of the identical similar examination question of classification can be one or more, the embodiment of the present invention It does not limit.
In the embodiment of the present invention, the memory space of electronic equipment can be the memory space (such as ROM) of electronic equipment itself, Can also be storage card (such as SD card), the embodiment of the present invention does not limit.
As an alternative embodiment, electronic equipment is searched and target examination question in the memory space of electronic equipment The mode of the identical similar examination question of classification can include:
Electronic equipment detects the classification logotype of target examination question;
Electronic equipment judges to whether there is the generic module identical with category mark in the memory space of terminal device;
If so, electronic equipment obtains similar examination question all in generic module;
If not, electronic equipment is established in the memory space of electronic equipment identifies matched generic mould with the category Block, and will be in the newly-built generic module of target examination question and target answer deposit.
Wherein, implement this embodiment, the similar examination identical with the examination question classification that user's needs are searched for can be found Topic, and user is allowed to carry out special training, while the classification of the examination question preserved in the memory space of electronic equipment can also be enriched And quantity.
310th, electronic equipment exports similar examination question, and user's practice of electronic device is answered.
In the embodiment of the present invention, the quantity of the similar examination question of electronic equipment output can be one or multiple, electricity Sub- equipment can also export the side of similar examination question together by all similar output test papers to the same page with one page Formula exports all similar examination questions, and the embodiment of the present invention does not limit.
As an alternative embodiment, electronic equipment exports similar examination question, user's practice of electronic device is answered Later, can also include the following steps:
Electronic equipment exports arbitrary similar examination question together in training mode, which trains for this The similar examination question not exported;
The standard of the answer of the similar examination question input by user examination question whether similar with this that electronic equipment judgement receives Answer is consistent;
If not, electronic equipment performs the arbitrary similar examination question together of above-mentioned electronic equipment output;
If so, electronic equipment exits training mode.
Wherein, implement this embodiment, it is ensured that the knowledge point that the skilled master goal examination question of user includes, so as to Improve the school grade of user.
In the embodiment of the present invention, implement above-mentioned step 309~step 310, the user of electronic equipment can be allowed to target The knowledge point that examination question includes carries out special training, so as to deepen memory and utilization of the user to the knowledge point.
In the described methods of Fig. 3, the operation for choosing topic can be simplified, promote the efficiency of search topic.It is in addition, real Apply the described methods of Fig. 3, the perfect generating process of rectangle frame, reducing can not obtain comprising needing to identify item content The probability of Target Photo.In addition, the described method of implementing Fig. 3, can find needs the examination question classification phase searched for user Same similar examination question, and user is allowed to carry out special training, while can also enrich what is preserved in the memory space of electronic equipment The classification and quantity of examination question.In addition, the described method of implementing Fig. 3, it is ensured that the skilled master goal examination question of user includes Knowledge point, so as to improve the school grade of user.In addition, the described method of implementing Fig. 3, the user of electronic equipment can be allowed Special training is carried out to the knowledge point that target examination question includes, so as to deepen memory and utilization of the user to the knowledge point.
Embodiment three
It takes pictures referring to Fig. 5, Fig. 5 is another kind disclosed by the embodiments of the present invention and searches the flow diagram of topic method.Such as Fig. 5 Shown, this, which is taken pictures, searches topic method and may comprise steps of:
501st, electronic equipment obtains the shooting picture of the camera shooting of electronic equipment, and shooting to include in the content of picture needs The examination question to be searched for.
In the embodiment of the present invention, the shooting picture that electronic equipment obtains the camera shooting of electronic equipment can be that electronics is set The memory space of electronic equipment is saved in after shot for camera when needing to obtain picture or camera shooting In, it is obtained from the memory space of electronic equipment when electronic equipment needs the picture, in this regard, the embodiment of the present invention does not limit It is fixed.
502nd, whether the contrast of electronic equipment detection shooting picture is less than default contrast, if so, performing step 503;If not, perform step 504~step 506.
In the embodiment of the present invention, the contrast for shooting picture lower is more difficult to identify in the topic included in shooting picture Hold, picture contrast (Image Contrast) refers to measuring the number that the interregional brightness level of light and shade different in image obtains Value, contrast is higher, and image is more clear, and contrast is lower, and image is fuzzyyer, is more difficult to identify the character on image.Default pair Than degree be user for service equipment identification character accuracy the corresponding picture contrast of lowest tolerated degree value, if shooting The contrast of picture is less than default contrast, and the probability of service equipment search target examination question error is excessively high, can not provide a user The service of high quality so to improve the contrast of shooting picture, performs step 503;If the contrast for shooting picture is not small In default contrast, it is believed that service equipment can accurately search target examination question, perform step 504~step 506。
503rd, electronic equipment improves the contrast of shooting picture, and triggers and perform step 504~step 506.
In the embodiment of the present invention, the contrast that electronic equipment improves shooting picture can use image binaryzation technology, electricity The content for shooting picture can be divided into foreground information and background information by sub- equipment, and foreground information is set as black, background Information is set as white, has thus obtained the shooting picture after figure binaryzation, and the contrast of processed shooting picture is big In default contrast, meet the requirement of service equipment identification picture, triggering performs step 504~step 506.
In the embodiment of the present invention, implement above-mentioned step 501~step 503, the comparison of picture can be shot by raising Degree, so as to improve the accuracy rate of contents of test question that service equipment identification shooting picture includes.
504th, electronic equipment detection is for the clicking operation twice in succession of shooting picture.
505th, electronic equipment obtains the first position coordinate and second of first time clicking operation in clicking operation twice in succession The second position coordinate of secondary clicking operation.
506th, electronic equipment judges whether the ordinate of first position coordinate is identical with the ordinate of second position coordinate, such as Fruit is to perform step 507~step 508;If not, perform step 509~step 513.
507th, the ordinate of the ordinate of first position coordinate and second position coordinate is all subtracted default width by electronic equipment Angle value generates the 5th position coordinates and the 6th position coordinates.
508th, the 5th position coordinates and the 6th position coordinates are identified as the third place coordinate and the 4th by electronic equipment Position coordinates, and trigger and perform step 509~step 513.
509th, electronic equipment exchanges the ordinate of the ordinate of first position coordinate and second position coordinate, generates third Position coordinates and the 4th position coordinates.
510th, electronic equipment identification shooting picture in by first position coordinate, second position coordinate, the third place coordinate and The Target Photo in rectangle frame that 4th position coordinates are surrounded.
511st, Target Photo is sent to service equipment by electronic equipment, so that service equipment is searched in test item bank and target Target examination question that contents of test question shown by picture matches and target answer simultaneously feed back to electronic equipment.
512nd, electronic equipment output target examination question and examination question confirmation message, examination question confirmation message is for electronic device User confirms whether the content of target examination question is correct.
In the embodiment of the present invention, in examination question confirmation message can include electronic equipment identify the content of target examination question, ACK button and deny button, when user clicks ACK button, it is believed that the examination question phase that the target examination question is searched for user's needs Together;When user, which clicks, denies button, it is believed that the target examination question needs the examination question searched for differ with user.
513rd, electronic equipment detects whether to receive the content for being used to indicate target examination question of user's triggering of electronic equipment Incorrect instruction, if so, performing step 514;If not, perform step 515~step 516.
In the embodiment of the present invention, the incorrect instruction of content for being used to indicate target examination question of user's triggering can be user That is pressed when the content for confirming target examination question is incorrect denies button.
As an alternative embodiment, electronic equipment is used to indicate mesh in the user's triggering for receiving electronic equipment After the incorrect instruction of content for marking examination question, it can also include the following steps:
The content of the electronic equipment inquiry user target examination question and contents of test question required to look up is entirely different or portion Divide difference;
If electronic equipment receives the content for being used to indicate the target examination question of user's triggering and the examination question required to look up During the entirely different instruction of content, errorlevel is set as high-grade, and high-grade miscue information is sent to service Equipment;
If electronic equipment receives the content for being used to indicate the target examination question of user's triggering and the examination question required to look up During the different instruction in content part, the prompting of electronic equipment output calibration, the correction prompt is for allowing user's mark to go out target examination question The content part different from the contents of test question that needs are searched for;Errorlevel is set as inferior grade by electronic equipment, and will be low Staging error information is sent to service equipment, the inferior grade error message can include the content of target examination question that user's mark goes out with The part for needing the contents of test question searched for different.
Wherein, implement this embodiment, can accurately give service equipment feedback error information, be set so as to promote service Standby identification and the accuracy of search.
514th, miscue information is sent to service equipment by electronic equipment, and exports shooting prompt message, terminates this stream Journey;Wherein, miscue information is used to that the content of target examination question to be prompted to mismatch with the contents of test question that Target Photo is shown, shooting Prompt message is used to prompt the user of electronic equipment to re-shoot the examination question for needing to search for.
In the embodiment of the present invention, electronic equipment output shooting prompt message is because may be the of low quality of shooting picture So as to cause service equipment search target topic error, therefore electronic equipment output shoots prompt message, and user is allowed to clap one again The photo being more clear is opened, improves the correctness of service equipment search topic.
In the embodiment of the present invention, implement above-mentioned step 512~step 514, it can be determined that go out the topic of service equipment search Whether mesh is correct, can also give the information of service equipment feedback search mistake, so as to improve the correct of service equipment search topic Rate.
Step 515~step 516 is identical with step 309~step 310, and the following contents does not repeat.
In the described methods of Fig. 5, the operation for choosing topic can be simplified, promote the efficiency of search topic.It is in addition, real The described methods of Fig. 5 are applied, the contrast of picture can be shot by raising, so as to improve service equipment identification shooting picture packet The accuracy rate of the contents of test question contained.In addition, implementing the described methods of Fig. 5, can accurately believe to service equipment feedback error Breath, so as to promote the accuracy of service equipment identification and search.In addition, implement the described methods of Fig. 5, it can be determined that go out service Whether the topic of equipment search is correct, can also give the information of service equipment feedback search mistake, be searched so as to improve service equipment Rope inscribes purpose accuracy.
Example IV
Referring to Fig. 6, Fig. 6 is the structure diagram of a kind of electronic equipment disclosed by the embodiments of the present invention.As shown in fig. 6, The electronic equipment can include:
First detection unit 601, for detecting the clicking operation twice in succession for shooting picture.
Acquiring unit 602, for obtaining first time point in the clicking operation twice in succession that first detection unit 601 detects Hit the first position coordinate of operation and the second position coordinate of second of clicking operation.
In the embodiment of the present invention, acquiring unit 602 can be using the lower left corner of Target Photo as origin, with origin to the lower right corner Direction make x-axis, y-axis is made to the direction in the upper left corner with origin, generates a plane right-angle coordinate, first time clicking operation First position coordinate and the second position coordinate of second of clicking operation are all obtained based on the plane right-angle coordinate.
It is carried out as an alternative embodiment, the clicking operation twice of user can be synchronization, obtains the The mode of one position coordinates and second position coordinate is specially:
Detection is for the clicking operation twice of the synchronization of shooting picture;
Obtain two position coordinates in the clicking operation twice of synchronization;
The smaller position coordinates of abscissa in two position coordinates are determined as first position coordinate, and two positions are sat The larger position coordinates of abscissa are determined as second position coordinate in mark.
Wherein, implement this embodiment, the user that can more simplify electronic equipment selects the operation side of item content Formula improves the efficiency of search topic.
First generation unit 603, for the ordinate and second of the first position coordinate for getting acquiring unit 602 The ordinate for putting coordinate exchanges, and generates the third place coordinate and the 4th position coordinates.
In the embodiment of the present invention, the ordinate of first position coordinate and the ordinate of second position coordinate exchange, and that is to say The abscissa of first position coordinate and the ordinate combination producing the third place coordinate of second position coordinate, second position coordinate The 4th position coordinates of ordinate combination producing of abscissa and first position coordinate.
Recognition unit 604 is sat for identifying to shoot in picture by first position coordinate, second position coordinate, the third place The Target Photo in rectangle frame that mark and the 4th position coordinates are surrounded.
In the embodiment of the present invention, first position coordinate and second position coordinate are that acquiring unit 602 is got, third position It is the generation of the first generation unit 603 to put coordinate and the 4th position coordinates.
Transmitting element 605, the Target Photo for recognition unit 604 to be identified are sent to service equipment, so that service Equipment is searched the target examination question to match with the contents of test question shown by Target Photo and target answer and is fed back in test item bank To electronic equipment.
As it can be seen that implementing the described electronic equipments of Fig. 6, the operation for choosing topic can be simplified, promote the effect of search topic Rate.In addition, implementing the described electronic equipments of Fig. 6, the user that can more simplify electronic equipment selects the operation of item content Mode improves the efficiency of search topic.
Embodiment five
Referring to Fig. 7, Fig. 7 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 7 Shown electronic equipment is that electronic equipment as shown in Figure 6 optimizes.Compared with electronic equipment shown in fig. 6, Fig. 7 Shown electronic equipment can also include:
Judging unit 606, for of first time clicking operation in obtaining clicking operation twice in succession in acquiring unit 602 After one position coordinates and the second position coordinate of second of clicking operation, the first position that acquiring unit 602 is got is judged Whether the ordinate of coordinate is identical with the ordinate of second position coordinate.
When first generation unit 603 specifically for the result judged in judging unit 606 is no, by acquiring unit 602 The ordinate of the first position coordinate got and the ordinate of second position coordinate exchange, and generate the third place coordinate and the 4th Position coordinates.
Second generation unit 607, the result for judging in judging unit 606 are that when being, acquiring unit 602 is obtained To the ordinate of first position coordinate and the ordinate of second position coordinate all subtract predetermined width value, the 5th position of generation is sat Mark and the 6th position coordinates.
Determination unit 608 is distinguished for the 5th position coordinates for generating the second generation unit 607 and the 6th position coordinates It is determined as the third place coordinate and the 4th position coordinates, and triggers recognition unit 604 and perform in identification shooting picture by first Put the Target Photo in the rectangle frame that coordinate, second position coordinate, the third place coordinate and the 4th position coordinates are surrounded.
In the embodiment of the present invention, can first position coordinate ordinate it is identical with the ordinate of second position coordinate In the case of, a rectangle is created by preset width value and the first position coordinate got and second position coordinate jointly, So as to get the Target Photo for needing to identify item content in the rectangle frame, the perfect generating process of rectangle frame reduces It can not obtain comprising the probability for needing the Target Photo for identifying item content.
As an alternative embodiment, the electronic equipment can also include:
Searching unit 609, for Target Photo to be sent to service equipment in transmitting element 605, so that service equipment exists The target examination question to match with the contents of test question shown by Target Photo and target answer are searched in test item bank and feeds back to electronics After equipment, the similar examination question identical with the classification of target examination question is searched in the memory space of electronic equipment.
In the embodiment of the present invention, specifically, Target Photo is sent to service equipment by transmitting element 605, so that service is set It is standby that the target examination question to match with the contents of test question shown by Target Photo and target answer are searched in test item bank and is fed back to After electronic equipment, triggering searching unit 609 starts.
It is tried as an alternative embodiment, searching unit 609 is searched in the memory space of electronic equipment with target The mode of the identical similar examination question of the classification of topic is specially:
Detect the classification logotype of target examination question;
Judge to whether there is the generic module identical with category mark in the memory space of terminal device;
If so, obtain similar examination question all in generic module;
Matched generic module is identified with the category, and if not, being established in the memory space of electronic equipment by mesh It marks in the examination question generic module newly-built with target answer deposit.
Wherein, implement this embodiment, the similar examination identical with the examination question classification that user's needs are searched for can be found Topic, and user is allowed to carry out special training, while the classification of the examination question preserved in the memory space of electronic equipment can also be enriched And quantity.
First output unit 610, for exporting the similar examination question that searching unit 609 is found, the user of electronic device Practice is answered.
As an alternative embodiment, the first output unit 610 is additionally operable to:
The arbitrary similar examination question together of output in training mode, the arbitrary similar examination question together did not exported for this training Similar examination question;
Judge that whether similar with this model answer of the answer of the similar examination question input by user examination question received be consistent;
If not, perform the arbitrary similar examination question together of above-mentioned electronic equipment output;
If so, exit training mode.
Wherein, implement this embodiment, it is ensured that the knowledge point that the skilled master goal examination question of user includes, so as to Improve the school grade of user.
In the embodiment of the present invention, the user of electronic equipment can be allowed to carry out specific aim instruction to the knowledge point that target examination question includes Practice, so as to deepen memory and utilization of the user to the knowledge point.
As it can be seen that implementing the described electronic equipments of Fig. 7, the operation for choosing topic can be simplified, promote the effect of search topic Rate.In addition, implement the described electronic equipments of Fig. 7, the perfect generating process of rectangle frame reduces not obtaining and includes needs Identify the probability of the Target Photo of item content.In addition, implementing the described electronic equipments of Fig. 7, can find needs with user The identical similar examination question of the examination question classification to be searched for, and user is allowed to carry out special training, while electronic equipment can also be enriched Memory space in the classification and quantity of the examination question that preserve.In addition, implement the described electronic equipments of Fig. 7, it is ensured that user The knowledge point that skilled master goal examination question includes, so as to improve the school grade of user.In addition, implement the described electricity of Fig. 7 Sub- equipment can allow the user of electronic equipment to carry out special training to the knowledge point that target examination question includes, so as to deepen user Memory and utilization to the knowledge point.
Embodiment six
Referring to Fig. 8, Fig. 8 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention.Wherein, Fig. 8 Shown electronic equipment is that electronic equipment as shown in Figure 7 optimizes.Compared with electronic equipment shown in Fig. 7, Fig. 8 Shown electronic equipment can also include:
Second output unit 611, for Target Photo to be sent to service equipment in transmitting element 605, so that service is set It is standby that the target examination question to match with the contents of test question shown by Target Photo and target answer are searched in test item bank and is fed back to After electronic equipment, target examination question and examination question confirmation message are exported, which is used for the user of electronic device Confirm whether the content of target examination question is correct.
In the embodiment of the present invention, specifically, Target Photo is sent to service equipment by transmitting element 605, so that service is set It is standby that the target examination question to match with the contents of test question shown by Target Photo and target answer are searched in test item bank and is fed back to After electronic equipment, the second output unit 611 of triggering starts.
Second detection unit 612, for detecting whether the target that is used to indicate for receiving user's triggering of electronic equipment is tried The incorrect instruction of content of topic.
In the embodiment of the present invention, specifically, the second output unit 611 output target examination question and examination question confirmation message it Afterwards, triggering second detection unit 612 starts.
As an alternative embodiment, second detection unit 612 is additionally operable to:
The content of the inquiry user target examination question is entirely different from the contents of test question required to look up or part is different;
If the content for being used to indicate the target examination question and the contents of test question required to look up that receive user's triggering are complete During different instruction, errorlevel is set as high-grade, and high-grade miscue information is sent to service equipment;
If receive the content for being used to indicate the target examination question of user's triggering and the contents of test question part required to look up During different instruction, output calibration prompting, the content which is used to that user's mark to be allowed to go out target examination question is searched for needing The different part of contents of test question;Errorlevel is set as inferior grade, and inferior grade error message is sent to service equipment, It is different from the contents of test question that needs are searched for that the inferior grade error message can include the content of target examination question that user's mark goes out Part.
Wherein, implement this embodiment, can accurately give service equipment feedback error information, be set so as to promote service Standby identification and the accuracy of search.
Transmitting element 605 is additionally operable to when the result that second detection unit 612 detects is to be, by miscue information Service equipment is sent to, and exports shooting prompt message, wherein, miscue information is used to prompt the content and mesh of target examination question The contents of test question that piece of marking on a map is shown mismatches, and shooting prompt message needs to search for for the user of electronic equipment to be prompted to re-shoot Examination question.
In the embodiment of the present invention, it can be determined that whether the topic for going out service equipment search is correct, can also give service equipment The information of feedback search mistake, so as to improve the accuracy of service equipment search topic.
As an alternative embodiment, the electronic equipment can also include:
Acquiring unit 602 is additionally operable to obtain the shooting picture of the camera shooting of electronic equipment, the content of the shooting picture In comprising needing the examination question searched for.
Third detection unit 613, it is pre- for whether the contrast of shooting picture that measurement acquisition unit 602 is got to be less than If contrast.
Unit 614 is improved, the result for being detected in third detection unit 613 is that pair of shooting picture is improved when being Than degree, and trigger first detection unit 601 and perform twice in succession clicking operation of the detection for shooting picture.
In the embodiment of the present invention, the contrast of picture can be shot by raising, so as to improve service equipment identification shooting The accuracy rate for the contents of test question that picture includes.
As it can be seen that implementing the described electronic equipments of Fig. 8, the operation for choosing topic can be simplified, promote the effect of search topic Rate.In addition, implementing the described electronic equipments of Fig. 8, service equipment feedback error information can be accurately given, so as to promote service Equipment identifies and the accuracy of search.In addition, implement the described electronic equipments of Fig. 8, it can be determined that go out service equipment search Whether topic is correct, can also give the information of service equipment feedback search mistake, so as to improve service equipment search topic just True rate.In addition, implementing the described electronic equipments of Fig. 8, the contrast of picture can be shot by raising, so as to which the service of improving is set The accuracy rate of contents of test question that standby identification shooting picture includes.
Embodiment seven
Referring to Fig. 9, Fig. 9 is the structure diagram of another electronic equipment disclosed by the embodiments of the present invention.Such as Fig. 9 institutes Show, which can include:
It is stored with the memory 901 of executable program code;
The processor 902 coupled with memory 901;
Wherein, processor 902 calls the executable program code stored in memory 901, and execution more than each method is implemented The part or all of step of method in example.
A kind of computer readable storage medium is also disclosed in the embodiment of the present invention, wherein, computer-readable recording medium storage Program code, wherein, program code includes the part or all of step for performing the method in more than each method embodiment Instruction.
A kind of computer program product is also disclosed in the embodiment of the present invention, wherein, when computer program product on computers During operation so that computer is performed such as the part or all of step of the method in more than each method embodiment.
The embodiment of the present invention be also disclosed it is a kind of using distribution platform, wherein, using distribution platform for issuing computer journey Sequence product, wherein, when computer program product is run on computers so that computer performs such as more than each method embodiment In method part or all of step.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these special characteristics, structure Or characteristic can in any suitable manner combine in one or more embodiments.Those skilled in the art should also know, Embodiment described in this description belongs to alternative embodiment, and not necessarily the present invention must for involved action and module Must.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of above-mentioned each process is not meant to perform suitable The inevitable priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without coping with the embodiment of the present invention Implementation process forms any restriction.
In addition, the terms " system " and " network " are often used interchangeably herein.It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of relationships, such as A and/or B, can To represent:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent Forward-backward correlation object is a kind of relationship of "or".
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or storing any other computer-readable medium of data.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can positioned at a place or can also be distributed to multiple nets On network unit.Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit or Each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated unit Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit realized in the form of SFU software functional unit and be independent product sale or in use, It can be stored in a retrievable memory of computer.Based on such understanding, technical scheme of the present invention substantially or Person says all or part of of the part contribute to the prior art or the technical solution, can be in the form of software product It embodies, which is stored in a memory, including several requests with so that a computer is set Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) performs The part or all of step of each embodiment above method of the present invention
It takes pictures above to one kind disclosed by the embodiments of the present invention and searches topic method and electronic equipment is described in detail, herein In apply specific case the principle of the present invention and embodiment be expounded, the explanation of above example is only intended to sides Assistant solves the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, think of according to the present invention Think, in specific embodiments and applications there will be changes, in conclusion the content of the present specification should not be construed as pair The limitation of the present invention.

Claims (10)

1. one kind, which is taken pictures, searches topic method, which is characterized in that the method includes:
Detection and is clicked in clicking operation described in obtaining for the first time twice in succession for the clicking operation twice in succession of shooting picture The second position coordinate of the first position coordinate of operation and second of clicking operation;
The ordinate of the ordinate of the first position coordinate and the second position coordinate is exchanged, generates the third place coordinate With the 4th position coordinates;
Identify it is described shooting picture in by the first position coordinate, the second position coordinate, the third place coordinate and The Target Photo in rectangle frame that 4th position coordinates are surrounded;
The Target Photo is sent to service equipment, so that the service equipment is searched and the Target Photo in test item bank Target examination question that shown contents of test question matches and target answer simultaneously feed back to electronic equipment.
2. according to the method described in claim 1, it is characterized in that, described in the acquisition twice in succession in clicking operation for the first time After the first position coordinate of clicking operation and the second position coordinate of second of clicking operation, the method further includes:
Judge whether the ordinate of the first position coordinate is identical with the ordinate of the second position coordinate;
If not, it is mutual to perform the ordinate by the ordinate of the first position coordinate and the second position coordinate It changes, generates the third place coordinate and the 4th position coordinates;
If so, the ordinate of the ordinate of the first position coordinate and the second position coordinate is all subtracted into predetermined width Value generates the 5th position coordinates and the 6th position coordinates;
5th position coordinates and the 6th position coordinates are identified as the third place coordinate and the 4th position coordinates, And it performs in the identification shooting picture by the first position coordinate, the second position coordinate, the third position Put the Target Photo in the rectangle frame that coordinate and the 4th position coordinates are surrounded.
3. according to the method described in claim 2, it is characterized in that, described be sent to service equipment by the Target Photo, with Make the service equipment searched in test item bank with the target examination question that matches of contents of test question shown by the Target Photo and Target answer is simultaneously fed back to after electronic equipment, and the method further includes:
The similar examination question identical with the classification of the target examination question is searched in the memory space of the electronic equipment;
The similar examination question is exported, user's practice for the electronic equipment is answered.
4. according to the method described in claim 2, it is characterized in that, described be sent to service equipment by the Target Photo, with Make the service equipment searched in test item bank with the target examination question that matches of contents of test question shown by the Target Photo and Target answer is simultaneously fed back to after electronic equipment, and the method further includes:
The target examination question and examination question confirmation message are exported, the examination question confirmation message is used for the user for the electronic equipment Confirm whether the content of the target examination question is correct;
When the incorrect instruction of the content for being used to indicate the target examination question that the user for detecting the electronic equipment triggers, Miscue information is sent to the service equipment, and exports shooting prompt message, wherein, the miscue information is used for It prompts the content of the target examination question and contents of test question that the Target Photo is shown mismatches, the shooting prompt message is used for The user of the electronic equipment is prompted to re-shoot the examination question for needing to search for.
5. method according to claim 3 or 4, which is characterized in that the detection is for the point twice in succession of shooting picture It hits before operation, the method further includes:
The shooting picture of the camera shooting of electronic equipment is obtained, the examination for needing to search for is included in the content of the shooting picture Topic;
Whether the contrast for detecting the shooting picture is less than default contrast;
If so, improving the contrast of the shooting picture, and trigger and perform the detection for continuous the two of shooting picture Secondary clicking operation.
6. a kind of electronic equipment, which is characterized in that including:
First detection unit, for detecting the clicking operation twice in succession for shooting picture;
Acquiring unit, for obtaining the first position coordinate and second of first time clicking operation in the clicking operation twice in succession The second position coordinate of secondary clicking operation;
First generation unit, for the ordinate of the ordinate of the first position coordinate and the second position coordinate is mutual It changes, generates the third place coordinate and the 4th position coordinates;
Recognition unit, for identifying in the shooting picture by the first position coordinate, the second position coordinate, described the The Target Photo in rectangle frame that three position coordinates and the 4th position coordinates are surrounded;
Transmitting element, for the Target Photo to be sent to service equipment, so that the service equipment is searched in test item bank The target examination question to match with the contents of test question shown by the Target Photo and target answer simultaneously feed back to the electronic equipment.
7. electronic equipment according to claim 6, which is characterized in that further include:
Judging unit, for described in being obtained in the acquiring unit twice in succession in clicking operation first time clicking operation first After position coordinates and the second position coordinate of second of clicking operation, judge the ordinate of the first position coordinate with it is described Whether the ordinate of second position coordinate is identical;
When first generation unit specifically for the result judged in the judging unit is no, by the first position The ordinate of the ordinate of coordinate and the second position coordinate exchanges, and generates the third place coordinate and the 4th position coordinates;
Second generation unit, the result for judging in the judging unit are when being, by the vertical of the first position coordinate The ordinate of coordinate and the second position coordinate all subtracts predetermined width value, generates the 5th position coordinates and the 6th position is sat Mark;
Determination unit, for by the 5th position coordinates and the 6th position coordinates be identified as the third place coordinate and 4th position coordinates, and trigger and sat in the recognition unit execution identification shooting picture by the first position The target in rectangle frame that mark, the second position coordinate, the third place coordinate and the 4th position coordinates are surrounded Picture.
8. electronic equipment according to claim 7, which is characterized in that further include:
Searching unit, for the Target Photo to be sent to service equipment in the transmitting element, so that the service equipment The target examination question to match with the contents of test question shown by the Target Photo and target answer are searched in test item bank and is fed back It is identical with the classification of the target examination question same to after the electronic equipment, being searched in the memory space of the electronic equipment Class examination question;
First output unit, for exporting the similar examination question, user's practice for the electronic equipment is answered.
9. electronic equipment according to claim 7, which is characterized in that further include:
Second output unit, for the Target Photo to be sent to service equipment in the transmitting element, so that the service Equipment searches the target examination question to match with the contents of test question shown by the Target Photo and target answer simultaneously in test item bank It feeds back to after the electronic equipment, exports the target examination question and examination question confirmation message, the examination question confirmation message is used for Confirm whether the content of the target examination question is correct for the user of the electronic equipment;
Second detection unit, for detecting whether the target that is used to indicate for receiving user's triggering of the electronic equipment is tried The incorrect instruction of content of topic;
The transmitting element is additionally operable in the result that the second detection unit detects as when being, miscue information is sent out It send to the service equipment, and exports shooting prompt message, wherein, the miscue information is used to prompt the target examination question The contents of test question that show of content and the Target Photo mismatch, the shooting prompt message is used to prompt the electronic equipment User re-shoot and need the examination question searched for.
10. electronic equipment according to claim 8 or claim 9, which is characterized in that further include:
The acquiring unit is additionally operable to obtain the shooting picture of the camera shooting of the electronic equipment, the shooting picture The examination question for needing to search for is included in content;
Whether third detection unit, the contrast for detecting the shooting picture are less than default contrast;
Unit is improved, the result for being detected in the third detection unit is that the comparison of the shooting picture is improved when being Degree, and trigger the first detection unit and perform twice in succession clicking operation of the detection for shooting picture.
CN201810074338.XA 2018-01-25 2018-01-25 Photographing question searching method and electronic equipment Pending CN108196782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810074338.XA CN108196782A (en) 2018-01-25 2018-01-25 Photographing question searching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810074338.XA CN108196782A (en) 2018-01-25 2018-01-25 Photographing question searching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN108196782A true CN108196782A (en) 2018-06-22

Family

ID=62590756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810074338.XA Pending CN108196782A (en) 2018-01-25 2018-01-25 Photographing question searching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108196782A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376612A (en) * 2018-09-27 2019-02-22 广东小天才科技有限公司 Method and system for assisting positioning learning based on gestures
CN109697242A (en) * 2018-12-27 2019-04-30 网易有道信息技术(北京)有限公司 It takes pictures and searches topic method, apparatus, storage medium and calculate equipment
CN109756676A (en) * 2019-01-16 2019-05-14 广东小天才科技有限公司 image processing method and electronic equipment
CN111079760A (en) * 2019-08-02 2020-04-28 广东小天才科技有限公司 Character recognition method and electronic equipment
CN111079737A (en) * 2019-07-02 2020-04-28 广东小天才科技有限公司 Character inclination correction method and electronic equipment
CN111091034A (en) * 2019-05-05 2020-05-01 广东小天才科技有限公司 Multi-finger recognition-based question searching method and family education equipment
CN113010718A (en) * 2021-02-23 2021-06-22 百度在线网络技术(北京)有限公司 Photographing question searching method, device, equipment and storage medium
CN113038022A (en) * 2021-03-26 2021-06-25 北京乐学帮网络技术有限公司 Test question processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678637A (en) * 2013-12-19 2014-03-26 北京快乐学网络科技有限公司 Method and device for acquiring test question information
CN105426518A (en) * 2015-12-03 2016-03-23 广东小天才科技有限公司 Method and system for searching questions by photographing
CN106227809A (en) * 2016-07-22 2016-12-14 广东小天才科技有限公司 Test question pushing method and device
CN106250475A (en) * 2016-07-29 2016-12-21 广东小天才科技有限公司 Method and device for pushing test question answers
CN106294871A (en) * 2016-08-24 2017-01-04 广东小天才科技有限公司 Method and device for searching questions by photographing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678637A (en) * 2013-12-19 2014-03-26 北京快乐学网络科技有限公司 Method and device for acquiring test question information
CN105426518A (en) * 2015-12-03 2016-03-23 广东小天才科技有限公司 Method and system for searching questions by photographing
CN106227809A (en) * 2016-07-22 2016-12-14 广东小天才科技有限公司 Test question pushing method and device
CN106250475A (en) * 2016-07-29 2016-12-21 广东小天才科技有限公司 Method and device for pushing test question answers
CN106294871A (en) * 2016-08-24 2017-01-04 广东小天才科技有限公司 Method and device for searching questions by photographing

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376612A (en) * 2018-09-27 2019-02-22 广东小天才科技有限公司 Method and system for assisting positioning learning based on gestures
CN109697242B (en) * 2018-12-27 2022-03-08 网易有道信息技术(北京)有限公司 Photographing question searching method and device, storage medium and computing equipment
CN109697242A (en) * 2018-12-27 2019-04-30 网易有道信息技术(北京)有限公司 It takes pictures and searches topic method, apparatus, storage medium and calculate equipment
CN109756676A (en) * 2019-01-16 2019-05-14 广东小天才科技有限公司 image processing method and electronic equipment
CN109756676B (en) * 2019-01-16 2021-06-25 广东小天才科技有限公司 Image processing method and electronic equipment
CN111091034A (en) * 2019-05-05 2020-05-01 广东小天才科技有限公司 Multi-finger recognition-based question searching method and family education equipment
CN111091034B (en) * 2019-05-05 2024-05-31 广东小天才科技有限公司 Question searching method based on multi-finger recognition and home teaching equipment
CN111079737A (en) * 2019-07-02 2020-04-28 广东小天才科技有限公司 Character inclination correction method and electronic equipment
CN111079737B (en) * 2019-07-02 2023-09-26 广东小天才科技有限公司 Character inclination correction method and electronic equipment
CN111079760A (en) * 2019-08-02 2020-04-28 广东小天才科技有限公司 Character recognition method and electronic equipment
CN111079760B (en) * 2019-08-02 2023-11-28 广东小天才科技有限公司 Character recognition method and electronic equipment
CN113010718A (en) * 2021-02-23 2021-06-22 百度在线网络技术(北京)有限公司 Photographing question searching method, device, equipment and storage medium
CN113038022A (en) * 2021-03-26 2021-06-25 北京乐学帮网络技术有限公司 Test question processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108196782A (en) Photographing question searching method and electronic equipment
CA2990803C (en) Picture gesture authentication
US9495583B2 (en) Organizing images by correlating faces
CN111753767A (en) Method and device for automatically correcting operation, electronic equipment and storage medium
US10678342B2 (en) Method of virtual user interface interaction based on gesture recognition and related device
CN110781805B (en) Target object detection method, device, computing equipment and medium
US9239961B1 (en) Text recognition near an edge
CN103679147A (en) Method and device for identifying model of mobile phone
CN104636649A (en) Electronic equipment and guiding method thereof
CN103294257B (en) The apparatus and method for being used to guide handwriting input for handwriting recognition
US20200356751A1 (en) Biometric authentication system
CN106529255B (en) Method for identifying ID and device based on person's handwriting fingerprint
CN105094381B (en) One kind writing treating method and apparatus
US10318640B2 (en) Identifying risky translations
AU2014397825A1 (en) Address book based picture matching method and terminal
CN106775182A (en) A kind for the treatment of method and apparatus of suspension control
AU2015296666B2 (en) Reflection-based control activation
CN109145558A (en) Solve lock control method and electronic device
CN110084170A (en) Image processing method and relevant apparatus
CN111881431A (en) Man-machine verification method, device, equipment and storage medium
CN106778568B (en) Method for processing verification code based on WEB page
CN106203029A (en) A kind of verification method and electronic equipment
CN108229428A (en) A kind of character recognition method, device, server and medium
CN109255221A (en) Solve lock control method and electronic device
CN111368674B (en) Image recognition method and device

Legal Events

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

Application publication date: 20180622