CN106354777B - A method and device for searching questions applied to an electronic terminal - Google Patents
A method and device for searching questions applied to an electronic terminal Download PDFInfo
- Publication number
- CN106354777B CN106354777B CN201610705498.0A CN201610705498A CN106354777B CN 106354777 B CN106354777 B CN 106354777B CN 201610705498 A CN201610705498 A CN 201610705498A CN 106354777 B CN106354777 B CN 106354777B
- Authority
- CN
- China
- Prior art keywords
- screen
- corresponding position
- question
- searching
- instruction
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012360 testing method Methods 0.000 claims abstract description 39
- 238000013507 mapping Methods 0.000 claims abstract description 16
- 210000001747 pupil Anatomy 0.000 claims abstract description 13
- 230000008569 process Effects 0.000 claims description 19
- 230000009471 action Effects 0.000 claims description 5
- 230000004397 blinking Effects 0.000 claims description 5
- 230000008030 elimination Effects 0.000 claims description 2
- 238000003379 elimination reaction Methods 0.000 claims description 2
- 230000001960 triggered effect Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000004424 eye movement Effects 0.000 description 4
- 238000012015 optical character recognition Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/532—Query formulation, e.g. graphical querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明属于电子终端技术领域,尤其涉及一种应用于电子终端的搜题方法及装置。The invention belongs to the technical field of electronic terminals, and in particular relates to a method and device for searching questions applied to electronic terminals.
背景技术Background technique
目前,市面上的很多电子教育产品都可以实现拍照搜题功能,通过拍摄单词或词组以搜索对应的释义,或者通过拍摄题目以搜索对应的答案。现有拍照搜题功能的实现大都需要经过以下步骤:启动摄像头-点击拍照-在图像中截取搜索对象-通过OCR技术将搜索对象转换成文本-服务器搜索并匹配搜索结果-服务器将搜索结果反馈给电子终端。At present, many electronic education products on the market can realize the function of searching for questions by taking photos, searching for corresponding definitions by taking photos of words or phrases, or searching for corresponding answers by taking photos of questions. Most of the existing photo search functions need to go through the following steps: start the camera - click to take a photo - intercept the search object in the image - convert the search object into text through OCR technology - search and match the search result by the server - feed the search result to the server electronic terminal.
从上述可以看出,现有的拍照搜题方法步骤较多,操作繁琐且方式单一(例如手动点击、手动框选试题)。故,有必要提出一种新的技术方案,以解决上述技术问题。As can be seen from the above, the existing methods for taking photos and searching for questions have many steps, cumbersome operations and a single method (such as manual clicking, manual frame selection of test questions). Therefore, it is necessary to propose a new technical solution to solve the above technical problems.
发明内容Contents of the invention
鉴于此,本发明实施例提供一种应用于电子终端的搜题方法及装置,以通过眼动感应控制电子终端搜索试题,减少搜题的步骤,提高搜题的效率。In view of this, the embodiments of the present invention provide a method and device for searching questions applied to electronic terminals, so as to control the electronic terminal to search for test questions through eye movement sensing, reduce the steps of searching for questions, and improve the efficiency of searching for questions.
第一方面,本发明实施例提供了一种应用于电子终端的搜题方法,所述搜题方法包括:In the first aspect, an embodiment of the present invention provides a method for searching a question applied to an electronic terminal, and the method for searching a question includes:
当接收到搜题触发指令时,启动电子终端的后置摄像头;When receiving the search trigger command, start the rear camera of the electronic terminal;
在所述电子终端的屏幕上显示所述后置摄像头拍摄到的预览画面;displaying the preview picture captured by the rear camera on the screen of the electronic terminal;
启动电子终端的前置摄像头,通过所述前置摄像头捕捉用户瞳孔的运动轨迹;Start the front camera of the electronic terminal, and capture the movement track of the user's pupil through the front camera;
将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面;Mapping the captured motion track to a corresponding position on the screen, and intercepting a preview image in the corresponding position of the screen;
将截取的预览画面上传至服务器进行识别以及试题匹配;Upload the captured preview screen to the server for identification and test question matching;
接收并显示所述服务器反馈的与本次匹配到的试题对应的解题结果。Receiving and displaying the problem-solving results corresponding to the matched test questions fed back by the server.
第二方面,本发明实施例提供了一种应用于电子终端的搜题装置,所述搜题装置包括:In a second aspect, an embodiment of the present invention provides a question searching device applied to an electronic terminal, and the question searching device includes:
启动模块,用于当接收到搜题触发指令时,启动电子终端的后置摄像头;The starting module is used to start the rear camera of the electronic terminal when receiving the trigger command of the search question;
第一显示模块,用于在所述电子终端的屏幕上显示所述后置摄像头拍摄到的预览画面;A first display module, configured to display a preview image captured by the rear camera on the screen of the electronic terminal;
捕捉模块,用于启动电子终端的前置摄像头,通过所述前置摄像头捕捉用户瞳孔的运动轨迹;The capture module is used to start the front camera of the electronic terminal, and capture the movement track of the user's pupil through the front camera;
截取模块,用于将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面;An intercepting module, configured to map the captured motion trajectory to a corresponding position on the screen, and intercept a preview image in the corresponding position of the screen;
上传模块,用于将截取的预览画面上传至服务器进行识别以及试题匹配;The upload module is used to upload the intercepted preview screen to the server for identification and test item matching;
第二显示模块,用于接收并显示所述服务器反馈的与本次匹配到的试题对应的解题结果。The second display module is used to receive and display the problem-solving results corresponding to the matched test questions fed back by the server.
本发明实施例与现有技术相比存在的有益效果是:本发明实施例在启动摄像头后,通过捕捉用户瞳孔的运动轨迹直接在预览界面进行截图操作,不需等拍摄图片后再截取试题,简化了操作流程,提高了搜题效率。而且,采用眼动感应控制电子终端搜索试题,解决了现有搜题方式单一的问题,满足了用户的个性化需求,且具有较强的易用性和实用性。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: after the camera is started, the embodiment of the present invention captures the movement trajectory of the user's pupils and directly performs a screenshot operation on the preview interface, without waiting for the picture to be taken before intercepting the test questions. It simplifies the operation process and improves the efficiency of searching questions. Moreover, the use of eye movement sensing to control the electronic terminal to search for test questions solves the problem of a single way to search for existing questions, meets the individual needs of users, and has strong ease of use and practicability.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those skilled in the art can also obtain other drawings according to these drawings without paying creative efforts.
图1是本发明实施例提供的应用于电子终端的搜题方法的实现流程示意图;FIG. 1 is a schematic diagram of an implementation flow of a method for searching a question applied to an electronic terminal provided by an embodiment of the present invention;
图2是本发明实施例提供的应用于电子终端的搜题装置的组成结构示意图。Fig. 2 is a schematic diagram of the composition and structure of a question searching device applied to an electronic terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透切理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
请参阅图1,为本发明实施例提供的应用于电子终端的搜题方法的实现流程,其主要包括以下步骤:Please refer to Fig. 1, the implementation flow of the search question method applied to the electronic terminal provided by the embodiment of the present invention, which mainly includes the following steps:
步骤S101,当接收到搜题触发指令时,启动电子终端的后置摄像头。Step S101, when receiving a topic search trigger command, start the rear camera of the electronic terminal.
本发明实施例中,为电子终端配置“搜题触发指令”的输入接口,以便用户可以通过该输入接口输入上述搜题触发指令。示例性的,该输入接口可以表现为一实体按键,以便通过该实体按键输入上述搜题触发指令;或者该输入接口可以表现为一特定的触摸操作,例如在监测到用户在屏幕上的触摸动作为两点触摸且滑动轨迹为纵向相对滑动后,判断两触摸点纵向相对滑动的位移是否同时大于预设的第一阈值、所述两触摸点最终落点的距离差是否小于预设的第二阈值、且所述两触摸点滑动的速度是否同时大于预设的第三阈值,若是,则判定为搜题触发指令。又或者,该输入接口还可以表现为应用程序(如搜题类App)的启动接口,当用户启动该搜题类App时,即相当于输入上述搜题触发指令。本发明实施例中不对上述搜题触发指令的具体输入方式进行限定。In the embodiment of the present invention, the electronic terminal is configured with an input interface of "triggering instruction for searching questions", so that the user can input the above-mentioned triggering instruction for searching questions through the input interface. Exemplarily, the input interface can be represented as a physical key, so that the above-mentioned search trigger command can be input through the physical key; or the input interface can be represented as a specific touch operation, for example, when the user's touch action on the screen is detected After a two-point touch and the sliding trajectory is a vertical relative slide, it is judged whether the displacement of the two touch points relative to the vertical slide is greater than the preset first threshold at the same time, and whether the distance difference between the final landing points of the two touch points is smaller than the preset second threshold. Threshold, and whether the sliding speed of the two touch points is greater than the preset third threshold at the same time, if so, it is determined as a search question trigger command. Alternatively, the input interface can also be represented as a start-up interface of an application program (such as a question-searching App), and when the user starts the question-searching App, it is equivalent to inputting the above-mentioned question-searching trigger command. The embodiment of the present invention does not limit the specific input method of the above-mentioned search question trigger command.
在本发明实施例中,当接收到上述搜题触发指令时,启动电子终端的后置摄像头(该后置摄像头可以为上述电子终端的内置摄像头,也可以为上述电子终端的外置摄像头),进一步,还可以在上述后置摄像头启动后,在上述电子终端的屏幕上加载上述后置摄像头的预览界面,以便用户可通过该预览界面浏览到上述后置摄像头的取景范围,控制对所述取景范围内搜索对象的拍摄。其中,所述搜索对象包括但不限于单词、词组、试题等。In the embodiment of the present invention, when the above-mentioned search question trigger command is received, the rear camera of the electronic terminal is started (the rear camera can be the built-in camera of the above-mentioned electronic terminal, and can also be the external camera of the above-mentioned electronic terminal), Further, after the above-mentioned rear camera is started, the preview interface of the above-mentioned rear camera can be loaded on the screen of the above-mentioned electronic terminal, so that the user can browse the viewfinder range of the above-mentioned rear camera through the preview interface, and control the viewing of the viewfinder. Shooting within the search object. Wherein, the search objects include but not limited to words, phrases, test questions and the like.
步骤S102,在所述电子终端的屏幕上显示所述后置摄像头拍摄到的预览画面。Step S102, displaying the preview image captured by the rear camera on the screen of the electronic terminal.
步骤S103,启动电子终端的前置摄像头,通过所述前置摄像头捕捉用户瞳孔的运动轨迹。Step S103, start the front camera of the electronic terminal, and use the front camera to capture the movement track of the user's pupil.
在本发明实施例中,该前置摄像头可以为上述电子终端的内置摄像头,也可以为上述电子终端的外置摄像头。可选的是,所述前置摄像头也可以采用眼动仪,通过眼动仪捕捉用户瞳孔的运动轨迹。In the embodiment of the present invention, the front camera may be a built-in camera of the above-mentioned electronic terminal, or may be an external camera of the above-mentioned electronic terminal. Optionally, the front camera may also use an eye tracker to capture the movement track of the user's pupils through the eye tracker.
步骤S104,将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面。Step S104, mapping the captured motion trajectory to a corresponding position on the screen, and intercepting a preview image in the corresponding position on the screen.
例如,当所述运动轨迹为一圆形或椭圆形时,则映射到屏幕对应位置的轨迹也为一圆形或椭圆形。For example, when the motion trajectory is a circle or an ellipse, the trajectory mapped to the corresponding position on the screen is also a circle or an ellipse.
较佳的,所述将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面包括:Preferably, mapping the captured motion track to a corresponding position on the screen, and intercepting the preview image in the corresponding position on the screen includes:
将捕捉到的所述运动轨迹映射到屏幕的对应位置,并在映射到屏幕对应位置的轨迹形成一闭环时,截取所述闭环内的预览画面。Mapping the captured motion trajectory to a corresponding position on the screen, and when the trajectory mapped to the corresponding position on the screen forms a closed loop, intercepting a preview image in the closed loop.
较佳的,所述将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面还可以包括:Preferably, the mapping the captured motion trajectory to the corresponding position of the screen, and intercepting the preview picture in the corresponding position of the screen may also include:
将捕捉到的所述运动轨迹映射到屏幕的对应位置,并在接收到拍照指令时,截取所述屏幕对应位置内的预览画面。其中,所述拍照指令具体可以为在所述前置摄像头捕捉到用户的眨眼动作(例如在预定时间内连续眨眼两次以上)时,触发拍照指令。示例性的,可以是在接收到拍照指令后,对当前的预览画面进行拍照,再截取拍照后的所述屏幕对应位置内的图片。Mapping the captured motion trajectory to a corresponding position on the screen, and intercepting a preview image in the corresponding position on the screen when a photographing instruction is received. Wherein, the photographing instruction may be specifically triggering the photographing instruction when the front-facing camera captures the user's blinking action (for example, blinking more than twice within a predetermined time period). Exemplarily, it may be to take a picture of the current preview screen after receiving the picture taking instruction, and then capture the picture in the corresponding position of the screen after taking the picture.
步骤S105,将截取的预览画面上传至服务器进行识别以及试题匹配。Step S105, uploading the intercepted preview screen to the server for identification and test item matching.
在本发明实施例中,文字识别技术包括但不限于光学字符识别(OCR,OpticalCharacter Recognition)技术、场景文本识别(STR,Scene Text Recognition)技术等。在通过所述文字识别技术对截取的预览画面进行文字识别后,将识别后的文字放入题库进行搜索匹配,并将匹配后的结果反馈给所述电子终端。In the embodiment of the present invention, the character recognition technology includes but not limited to Optical Character Recognition (OCR, Optical Character Recognition) technology, Scene Text Recognition (STR, Scene Text Recognition) technology, and the like. After character recognition is performed on the intercepted preview screen by the character recognition technology, the recognized characters are put into the question bank for search and matching, and the matched results are fed back to the electronic terminal.
步骤S106,接收并显示所述服务器反馈的与本次匹配到的试题对应的解题结果。Step S106, receiving and displaying the problem-solving results corresponding to the matched test questions fed back by the server.
例如,当本次匹配到的试题数量为1时,接收并显示与匹配到的试题对应的一个或多个结果。其中,所述解题结果可以包括:解题过程和答案。For example, when the number of matched test questions is 1, one or more results corresponding to the matched test questions are received and displayed. Wherein, the problem-solving result may include: a problem-solving process and an answer.
较佳的,由于传统的搜题类App采用单一的呈现方式直接显示解题结果,使学生容易形成依赖思想,直接搜题和抄袭答案,缺乏过程思考及参与感,很难激发解题兴趣。因此,可选的,本发明实施例在显示解题结果的同时使用非透明蒙层遮挡该解题结果,只有在通过输入蒙层消除指令消除该非透明蒙层后才能查看到相应的解题结果,从而为学生提供更多的思考时间。Preferably, because traditional question-searching apps use a single presentation method to directly display the problem-solving results, it is easy for students to form dependent thinking, directly search for questions and plagiarize answers, lack process thinking and sense of participation, and it is difficult to stimulate interest in problem-solving. Therefore, optionally, the embodiment of the present invention uses a non-transparent mask to block the problem-solving result while displaying the problem-solving result, and the corresponding problem-solving can only be viewed after the non-transparent mask is eliminated by inputting a mask removal command As a result, students are given more time to think.
其中,所述显示所述服务器反馈的与本次匹配到的试题对应的解题结果可以包括:Wherein, the displaying the problem-solving results fed back by the server and corresponding to the matched test questions this time may include:
显示所述服务器反馈的与本次匹配到的试题对应的解题过程并使用预设的第一非透明蒙层遮挡所述解题过程;Displaying the problem-solving process fed back by the server corresponding to the matched test question this time and using the preset first non-transparent mask to block the problem-solving process;
显示所述服务器反馈的与本次匹配到的试题对应的答案并使用预设的第二非透明蒙层遮挡所述答案;Displaying the answers fed back by the server corresponding to the matched test questions this time and using a preset second non-transparent mask to block the answers;
在显示所述服务器反馈的与本次匹配到的试题对应的解题结果之后,还可以包括:After displaying the problem-solving results fed back by the server and corresponding to the matched test questions this time, it may also include:
当接收到第一蒙层消除指令时,在所述第一蒙层消除指令的指示下消除所述第一非透明蒙层;When a first mask removal instruction is received, remove the first opaque mask under the instruction of the first mask removal instruction;
当接收到第二蒙层消除指令时,在所述第二蒙层消除指令的指示下消除所述第二非透明蒙层。When a second mask removal instruction is received, the second non-transparent mask layer is removed under the instruction of the second mask removal instruction.
具体地,用户可以分别通过预设的不同的实体按键输入上述第一蒙层消除指令和上述第一蒙层消除指令,或者,也可以通过触摸操作输入该第一蒙层消除指令和该第二蒙层消除指令。对于上述触摸操作,可以设定当检测到用户触摸上述第一非透明蒙层(或上述第二非透明蒙层)所在的区域时,即判定接收到上述第一蒙层消除指令(或上述第二蒙层消除指令),并可以在上述第一蒙层消除指令(或上述第二蒙层消除指令)的指示下,消除上述第一非透明蒙层(或上述第一非透明蒙层)的全部区域或者被触摸区域(消除上述第一非透明蒙层(或上述第二非透明蒙层)的被触摸区域类似于刮奖形式)。Specifically, the user can respectively input the first mask removal instruction and the first mask removal instruction through different preset physical buttons, or can also input the first mask removal instruction and the second mask removal instruction through touch operation. Mask removal command. For the above-mentioned touch operation, it can be set that when it is detected that the user touches the area where the above-mentioned first non-transparent mask layer (or the above-mentioned second non-transparent layer) is located, it is determined that the above-mentioned first mask layer removal instruction (or the above-mentioned second non-transparent layer) two mask removal instructions), and can eliminate the above-mentioned first non-transparent mask layer (or the above-mentioned first non-transparent mask layer) under the instruction of the above-mentioned first mask layer removal instruction (or the above-mentioned second mask layer removal instruction). The entire area or the touched area (the touched area that eliminates the above-mentioned first non-transparent mask layer (or the above-mentioned second non-transparent mask layer) is similar to the form of a scratch prize).
本发明实施例通过后置摄像头拍摄预览画面,前置摄像头捕捉用户瞳孔的运动轨迹,并将捕捉到的所述运动轨迹映射到屏幕的对应位置,以截取所述对应位置内的预览画面。本发明实施例不需等拍摄图片后再截取试题,简化了操作流程,提高了搜题效率。而且,采用眼动感应控制电子终端搜索试题,解决了现有搜题方式单一的问题,满足了用户的个性化需求。In the embodiment of the present invention, the rear camera captures a preview image, and the front camera captures the motion trajectory of the user's pupil, and maps the captured motion trajectory to a corresponding position on the screen, so as to intercept the preview image in the corresponding position. The embodiment of the present invention does not need to wait for the picture to be taken before intercepting the test questions, which simplifies the operation process and improves the efficiency of searching questions. Moreover, the use of eye movement sensing to control the electronic terminal to search for test questions solves the problem of a single way of searching for existing questions and meets the individual needs of users.
请参阅图2,为本发明实施例提供的应用于电子终端的搜题装置的组成结构示意图。为了便于说明,仅示出了与本发明实施例相关的部分。Please refer to FIG. 2 , which is a schematic structural diagram of a question searching device applied to an electronic terminal provided by an embodiment of the present invention. For ease of description, only parts related to the embodiments of the present invention are shown.
所述应用于电子终端的搜题装置可以是内置于电子终端(例如手机、平板电脑等)内的软件单元、硬件单元或者是软硬结合的单元,也可以作为独立的挂件集成到所述电子终端中。The question searching device applied to an electronic terminal can be a software unit, a hardware unit, or a combination of software and hardware built into an electronic terminal (such as a mobile phone, a tablet computer, etc.), or it can be integrated into the electronic terminal as an independent pendant. in the terminal.
所述应用于电子终端的搜题装置包括:The question searching device applied to the electronic terminal includes:
启动模块21,用于当接收到搜题触发指令时,启动电子终端的后置摄像头;The starting module 21 is used to start the rear camera of the electronic terminal when receiving the trigger command of the search question;
第一显示模块22,用于在所述电子终端的屏幕上显示所述后置摄像头拍摄到的预览画面;The first display module 22 is configured to display the preview picture captured by the rear camera on the screen of the electronic terminal;
捕捉模块23,用于启动电子终端的前置摄像头,通过所述前置摄像头捕捉用户瞳孔的运动轨迹;The capture module 23 is used to start the front camera of the electronic terminal, and capture the movement track of the user's pupil through the front camera;
截取模块24,用于将捕捉到的所述运动轨迹映射到屏幕的对应位置,截取所述屏幕对应位置内的预览画面;An intercepting module 24, configured to map the captured motion trajectory to a corresponding position on the screen, and intercept a preview image in the corresponding position of the screen;
上传模块25,用于将截取的预览画面上传至服务器进行识别以及试题匹配;The upload module 25 is used to upload the captured preview screen to the server for identification and test item matching;
第二显示模块26,用于接收并显示所述服务器反馈的与本次匹配到的试题对应的解题结果。The second display module 26 is configured to receive and display the problem-solving results fed back by the server and corresponding to the matched test questions this time.
可选的,所述截取模块24具体用于:Optionally, the interception module 24 is specifically used for:
将捕捉到的所述运动轨迹映射到屏幕的对应位置,并在映射到屏幕对应位置的轨迹形成一闭环时,截取所述闭环内的预览画面。Mapping the captured motion trajectory to a corresponding position on the screen, and when the trajectory mapped to the corresponding position on the screen forms a closed loop, intercepting a preview image in the closed loop.
可选的,所述截取模块24具体用于:Optionally, the interception module 24 is specifically used for:
将捕捉到的所述运动轨迹映射到屏幕的对应位置,并在接收到拍照指令时,截取所述屏幕对应位置内的预览画面。Mapping the captured motion trajectory to a corresponding position on the screen, and intercepting a preview image in the corresponding position on the screen when a photographing instruction is received.
可选的,所述截取模块24具体用于:Optionally, the interception module 24 is specifically used for:
将捕捉到的所述运动轨迹映射到屏幕的对应位置,并在所述前置摄像头捕捉到用户的眨眼动作时,触发拍照指令,截取所述屏幕对应位置内的预览画面。Map the captured motion trajectory to the corresponding position of the screen, and when the front camera captures the user's blinking action, trigger a camera instruction, and intercept the preview image in the corresponding position of the screen.
可选的,所述解题结果包括:解题过程和答案;Optionally, the problem-solving results include: problem-solving process and answers;
所述第二显示模块26具体用于,显示所述服务器反馈的与本次匹配到的试题对应的解题过程并使用预设的第一非透明蒙层遮挡所述解题过程,以及显示所述服务器反馈的与本次匹配到的试题对应的答案并使用预设的第二非透明蒙层遮挡所述答案;The second display module 26 is specifically configured to display the problem-solving process fed back by the server and corresponding to the matched test question this time and use the preset first non-transparent mask to cover the problem-solving process, and display the problem-solving process. The answer corresponding to the matched test question fed back by the server and using the preset second non-transparent mask to block the answer;
所述装置还包括:The device also includes:
消除模块27,用于在显示所述服务器反馈的与本次匹配到的试题对应的解题结果之后,当接收到第一蒙层消除指令时,在所述第一蒙层消除指令的指示下消除所述第一非透明蒙层;当接收到第二蒙层消除指令时,在所述第二蒙层消除指令的指示下消除所述第二非透明蒙层。The elimination module 27 is configured to, after displaying the problem-solving results fed back by the server and corresponding to the matched test questions this time, when receiving the first mask removal instruction, under the instruction of the first mask removal instruction Eliminate the first non-transparent mask layer; when a second mask layer removal instruction is received, remove the second non-transparent mask layer under the instruction of the second mask layer removal instruction.
综上所述,本发明实施例通过后置摄像头拍摄预览画面,前置摄像头捕捉用户瞳孔的运动轨迹,并将捕捉到的所述运动轨迹映射到屏幕的对应位置,以截取所述对应位置内的预览画面。本发明实施例不需等拍摄图片后再截取试题,简化了操作流程,提高了搜题效率。而且,采用眼动感应控制电子终端搜索试题,解决了现有搜题方式单一的问题,满足了用户的个性化需求,具有较强的易用性和实用性。To sum up, in the embodiment of the present invention, the rear camera captures the preview image, and the front camera captures the movement trajectory of the user's pupils, and maps the captured movement trajectory to the corresponding position of the screen, so as to intercept the corresponding position. preview screen. The embodiment of the present invention does not need to wait for the picture to be taken before intercepting the test questions, which simplifies the operation process and improves the efficiency of searching questions. Moreover, the use of eye movement sensing to control the electronic terminal to search for test questions solves the problem of a single way to search for existing questions, meets the individual needs of users, and has strong ease of use and practicability.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述装置中模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules according to needs. That is, the internal structure of the device is divided into different functional units or modules, so as to complete all or part of the functions described above. Each functional module in the embodiment can be integrated into one processing unit, or each unit can exist separately physically, or two or more units can be integrated into one unit, and the above-mentioned integrated units can be implemented in the form of hardware , can also be implemented in the form of software functional units. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the modules in the above-mentioned device, reference may be made to the corresponding process in the aforementioned method embodiments, which will not be repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the modules and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明实施例各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage In the medium, several instructions are included to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例各实施例技术方案的精神和范围。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610705498.0A CN106354777B (en) | 2016-08-22 | 2016-08-22 | A method and device for searching questions applied to an electronic terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610705498.0A CN106354777B (en) | 2016-08-22 | 2016-08-22 | A method and device for searching questions applied to an electronic terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106354777A CN106354777A (en) | 2017-01-25 |
CN106354777B true CN106354777B (en) | 2019-09-17 |
Family
ID=57843741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610705498.0A Active CN106354777B (en) | 2016-08-22 | 2016-08-22 | A method and device for searching questions applied to an electronic terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354777B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168536A (en) * | 2017-05-19 | 2017-09-15 | 广东小天才科技有限公司 | Test question searching method, test question searching device and electronic terminal |
CN107872622B (en) * | 2017-11-24 | 2020-12-25 | 广东小天才科技有限公司 | Close-range imaging method and mobile terminal |
CN107992816B (en) * | 2017-11-28 | 2020-09-04 | 广东小天才科技有限公司 | A photo search method, device, electronic device and computer-readable storage medium |
CN107944400B (en) * | 2017-11-28 | 2020-07-31 | 广东小天才科技有限公司 | Photographing search method and device, intelligent terminal and computer readable storage medium |
CN108197620B (en) * | 2018-01-23 | 2021-11-26 | 广东小天才科技有限公司 | Photographing and question searching method and system based on eye positioning and handheld photographing equipment |
CN108289176B (en) * | 2018-02-11 | 2020-05-15 | 广东小天才科技有限公司 | Photographing question searching method, question searching device and terminal equipment |
CN114596575A (en) * | 2022-03-09 | 2022-06-07 | 广州小宇宙科技有限公司 | Method, device, system and medium for searching questions based on terminal equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860679A (en) * | 2009-04-07 | 2010-10-13 | 联发科技股份有限公司 | Image capturing method and digital camera |
CN102393796A (en) * | 2011-07-25 | 2012-03-28 | 金宇 | Control method based on winking-characteristic extraction and shooting spectacles based on the same |
CN103220467A (en) * | 2013-04-10 | 2013-07-24 | 广东欧珀移动通信有限公司 | A smart camera method and system for a mobile terminal |
CN103853507A (en) * | 2012-11-30 | 2014-06-11 | 三星电子株式会社 | Mobile apparatus displaying end effect and control method thereof |
CN103914147A (en) * | 2014-03-29 | 2014-07-09 | 朱定局 | Eye-controlled video interaction method and eye-controlled video interaction system |
CN103955525A (en) * | 2014-05-09 | 2014-07-30 | 北京奇虎科技有限公司 | Method and client for searching answer to test question |
CN104023127A (en) * | 2014-05-16 | 2014-09-03 | 深圳市中兴移动通信有限公司 | Short message processing method and device |
CN104360751A (en) * | 2014-12-05 | 2015-02-18 | 三星电子(中国)研发中心 | Method and equipment realizing intelligent control |
CN104468995A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Method and mobile terminal for controlling camera |
CN104991642A (en) * | 2015-06-18 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method for intelligent terminal question answering |
CN105373766A (en) * | 2014-08-14 | 2016-03-02 | 由田新技股份有限公司 | Pupil positioning method and device |
CN105518666A (en) * | 2013-08-29 | 2016-04-20 | 索尼公司 | Information processing device and information processing method |
CN105630135A (en) * | 2014-10-27 | 2016-06-01 | 中兴通讯股份有限公司 | Intelligent terminal control method and device |
CN105787480A (en) * | 2016-02-26 | 2016-07-20 | 广东小天才科技有限公司 | Method and device for shooting test questions |
CN105843855A (en) * | 2016-03-16 | 2016-08-10 | 广东小天才科技有限公司 | Question searching method and device and intelligent equipment |
-
2016
- 2016-08-22 CN CN201610705498.0A patent/CN106354777B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860679A (en) * | 2009-04-07 | 2010-10-13 | 联发科技股份有限公司 | Image capturing method and digital camera |
CN102393796A (en) * | 2011-07-25 | 2012-03-28 | 金宇 | Control method based on winking-characteristic extraction and shooting spectacles based on the same |
CN103853507A (en) * | 2012-11-30 | 2014-06-11 | 三星电子株式会社 | Mobile apparatus displaying end effect and control method thereof |
CN103220467A (en) * | 2013-04-10 | 2013-07-24 | 广东欧珀移动通信有限公司 | A smart camera method and system for a mobile terminal |
CN105518666A (en) * | 2013-08-29 | 2016-04-20 | 索尼公司 | Information processing device and information processing method |
CN103914147A (en) * | 2014-03-29 | 2014-07-09 | 朱定局 | Eye-controlled video interaction method and eye-controlled video interaction system |
CN103955525A (en) * | 2014-05-09 | 2014-07-30 | 北京奇虎科技有限公司 | Method and client for searching answer to test question |
CN104023127A (en) * | 2014-05-16 | 2014-09-03 | 深圳市中兴移动通信有限公司 | Short message processing method and device |
CN105373766A (en) * | 2014-08-14 | 2016-03-02 | 由田新技股份有限公司 | Pupil positioning method and device |
CN105630135A (en) * | 2014-10-27 | 2016-06-01 | 中兴通讯股份有限公司 | Intelligent terminal control method and device |
CN104468995A (en) * | 2014-11-28 | 2015-03-25 | 广东欧珀移动通信有限公司 | Method and mobile terminal for controlling camera |
CN104360751A (en) * | 2014-12-05 | 2015-02-18 | 三星电子(中国)研发中心 | Method and equipment realizing intelligent control |
CN104991642A (en) * | 2015-06-18 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method for intelligent terminal question answering |
CN105787480A (en) * | 2016-02-26 | 2016-07-20 | 广东小天才科技有限公司 | Method and device for shooting test questions |
CN105843855A (en) * | 2016-03-16 | 2016-08-10 | 广东小天才科技有限公司 | Question searching method and device and intelligent equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106354777A (en) | 2017-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106354777B (en) | A method and device for searching questions applied to an electronic terminal | |
CN106294871A (en) | Method and device for searching questions by photographing | |
CN107886032B (en) | Terminal device, smart phone, authentication method and system based on face recognition | |
CN106372126A (en) | Method and device for searching questions by photographing | |
CN106326406A (en) | Question searching method and device applied to electronic terminal | |
CN106161939B (en) | Photo shooting method and terminal | |
CN109871843B (en) | Character recognition method and device for character recognition | |
CN109040474B (en) | Photo display method, device, terminal and storage medium | |
WO2021208633A1 (en) | Method and device for determining item name, computer apparatus, and storage medium | |
CN106227331A (en) | Test question searching method and device applied to electronic terminal | |
CN105956079B (en) | Test question searching method and device applied to electronic terminal | |
CN106326415A (en) | Method and device for searching questions by photographing | |
CN106372243A (en) | Test question searching method and device applied to electronic terminal | |
CN107977146B (en) | A mask-based topic search method and electronic device | |
CN105975553A (en) | Photographing search method and device | |
EP4191513A1 (en) | Image processing method and apparatus, device and storage medium | |
CN106325522A (en) | Method and device for adjusting size of cursor by electronic terminal | |
CN107168536A (en) | Test question searching method, test question searching device and electronic terminal | |
CN105956092B (en) | A test question search method and device applied to an electronic terminal | |
CN106406527A (en) | Input method and device based on virtual reality and virtual reality device | |
CN111627115A (en) | Interactive group photo method and device, interactive device and computer storage medium | |
CN109547678B (en) | Processing method, device, equipment and readable storage medium | |
CN105138763A (en) | Method for real scene and reality information superposition in augmented reality | |
CN107992816B (en) | A photo search method, device, electronic device and computer-readable storage medium | |
CN105956555A (en) | Method and device for searching questions by photographing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |