CN107273402A - Method and device for searching test questions by using double cameras - Google Patents

Method and device for searching test questions by using double cameras Download PDF

Info

Publication number
CN107273402A
CN107273402A CN201710269848.8A CN201710269848A CN107273402A CN 107273402 A CN107273402 A CN 107273402A CN 201710269848 A CN201710269848 A CN 201710269848A CN 107273402 A CN107273402 A CN 107273402A
Authority
CN
China
Prior art keywords
image
similarity
examination question
search
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710269848.8A
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 CN201710269848.8A priority Critical patent/CN107273402A/en
Publication of CN107273402A publication Critical patent/CN107273402A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5846Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • 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/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is suitable for the technical field of computers, and provides a method and a device for searching test questions by using double cameras, wherein the method comprises the following steps: respectively acquiring a first image and a second image, wherein the first image is an image shot by a first camera, and the second image is an image shot by a second camera; calculating the similarity of the first image and the second image; and when the similarity is lower than the preset similarity, performing first synthesis operation on the first image and the second image to obtain a third image, and performing test question search according to the third image. According to the invention, two images are obtained through the double cameras, only a part of the two images are overlapped for the image which cannot be shot to obtain the complete test question content, the image of the complete test question content can be obtained by combining the two images, the test questions with more test question stem content can be shot completely, the searched keywords are completely reserved, and the searching efficiency and the searching precision are improved.

Description

A kind of method and device that examination question is searched for dual camera
Technical field
The invention belongs to field of computer technology, more particularly to a kind of method and device that examination question is searched for dual camera.
Background technology
Current user generally carries out acquisition figure of taking pictures when using terminal equipment carries out examination question search by single camera Piece, examination question search is carried out according to image, but during taking pictures, is often occurred because stem is oversize, and content is too many, is shot Image it is imperfect, cause to lack keyword when search examination question, influence search precision, search efficiency is relatively low.
The content of the invention
It is an object of the invention to provide a kind of method and device that examination question is searched for dual camera, it is intended to solves existing skill In art when shooting examination question using single camera, it is impossible to obtain complete examination question image, cause content to lack, influence examination question search As a result the problem of.
On the one hand, the invention provides a kind of method that examination question is searched for dual camera, methods described comprises the steps:
The first image and the second image are obtained respectively, and described first image is the image shot by the first camera, described Second image is the image shot by second camera;
Calculate described first image and the similarity of the second image;
When the similarity is less than default similarity, described first image and the second image are subjected to the first synthesis and grasped Make, obtain the 3rd image, and examination question search is carried out according to the 3rd image.
On the other hand, the invention provides a kind of device that examination question is searched for dual camera, described device includes:
Image acquisition unit, for obtaining the first image and the second image respectively, described first image is by the first shooting The image that head is shot, second image is the image shot by second camera;
Similarity calculated, the similarity for calculating described first image and the second image;And
3rd picture search unit, for when the similarity is less than default similarity, by described first image and the Two images carry out the first synthetic operation, obtain the 3rd image, and carry out examination question search according to the 3rd image.
The embodiment of the present invention obtains two images by dual camera, and the figure of complete contents of test question is obtained for that can shoot Picture, two images are basically identical, obtain the image of complete contents of test question for that can not shoot, two images only some weight It is folded, by being merged to two images, the image of complete contents of test question can be obtained, stem can intactly be shot by realizing The more examination question of content, the complete keyword for remaining search, improves search efficiency and search precision.
Brief description of the drawings
Fig. 1 is the implementation process figure for the method that examination question is searched for dual camera that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process figure for the method that examination question is searched for dual camera that the embodiment of the present invention two is provided;
Fig. 3 is the structural representation for the device that examination question is searched for dual camera that the embodiment of the present invention three is provided;And
Fig. 4 is the structural representation for the device that examination question is searched for dual camera that the embodiment of the present invention four is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Implementing for the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process figure for the method that examination question is searched for dual camera that the embodiment of the present invention one is provided, and is It is easy to explanation, illustrate only the part related to the embodiment of the present invention, details are as follows:
In step S101, the first image and the second image are obtained respectively, and first image is to be shot by the first camera Image, second image is the image that is shot by second camera.
In embodiments of the present invention, two cameras are set on the terminal device, when user runs into and needs to search for examination question, Examination question is shot by two cameras, two cameras are adjusted by user to acquisition parameters, obtain two Image, respectively the first image and the second image, wherein, the first image is the image shot by the first camera, second figure As the image to be shot by second camera.
In step s 102, the similarity of the first image and the second image is calculated.
In embodiments of the present invention, because user is when shooting, meeting is according to the stem length of examination question, content length, to two Individual camera carries out acquisition parameters adjustment, therefore, obtained the first image and the second image, and possibility is identical or differs or part It is identical, in this regard, two images are carried out alignment processing by the similarity by calculating the first image and the second image.
In step s 103, when similarity is less than default similarity, the first image and the second image is carried out first and closed Into operation, the 3rd image is obtained, and examination question search is carried out according to the 3rd image.
In embodiments of the present invention, when similarity is less than default similarity, two images is represent and are differed or portion Split-phase is same, and the examination question stem content of search is more, it is necessary to distinguish fetching portion by two cameras needed for such case illustrates Image could be shot completely, be less than the first image and the second image of default similarity, it is necessary to carry out the first conjunction for similarity Into operation, the 3rd image is obtained, the 3rd image includes complete contents of test question, in order to extract complete key in search Word, carries out precise search.
Further, the first image and the second image same section and difference section are extracted;
First image and the second image same section are merged, the difference section of the first image and the second image is entered Row splicing, obtains the 3rd image.
Specifically, the first image and the second image of default similarity are less than for similarity, two images are represent not Identical or part is identical, accordingly, it would be desirable to the first image and the second image same section and difference section are extracted, it is identical existing During part, the first image and the second image same section are merged, the difference section of the first image and the second image is entered Row splicing, obtains the 3rd image.
Further, the contents of test question in the 3rd image is identified, examination question search is carried out in exam pool according to contents of test question.
Specifically, the contents of test question in the 3rd image is identified, the contents of test question is the keyword of examination question stem, utilizes pass Keyword carries out examination question search in examination question exam pool, is not only able to shorten search time, improves search efficiency, additionally it is possible to improves search Accuracy.
In embodiments of the present invention, two images are obtained by dual camera, obtained for that can shoot in complete examination question The image of appearance, two images are basically identical, and the image of complete contents of test question is obtained for that can not shoot, and two images only have one Partly overlap, by being merged to two images, the image of complete contents of test question can be obtained, realizing intactly to clap Take the photograph the more examination question of stem content, the complete keyword for remaining search improves search efficiency and search precision.
Embodiment two:
Fig. 2 shows the implementation process figure for the method that examination question is searched for dual camera that the embodiment of the present invention two is provided, and is It is easy to explanation, illustrate only the part related to the embodiment of the present invention, details are as follows:
In step s 201, the first image and the second image are obtained respectively, and first image is to be shot by the first camera Image, second image is the image that is shot by second camera.
In step S202, the similarity of the first image and the second image is calculated.
In step S203, when similarity is less than default similarity, the first image and the second image are carried out first and closed Into operation, the 3rd image is obtained, and examination question search is carried out according to the 3rd image.
In embodiments of the present invention, step S201-S203 embodiment can be corresponded to reference to step in previous embodiment one S101-S103 description, will not be repeated here.
In step S204, when similarity exceeds default similarity, the first image and the second image are carried out second and closed Into operation, the 4th image is obtained, and examination question search is carried out according to the 4th image.
In embodiments of the present invention, when similarity exceeds default similarity, illustrate that the first image and the second image are basic It is identical, in order to obtain the image that quality is higher, the second synthetic operation can be carried out to the first image and the second image, that is, will Two images are overlapped one image of synthesis, obtain the 4th image.
Further, displacement vector is calculated according to the first image and the second image, and compensated, obtain the 4th image.
Specifically, in order to further improve picture quality, especially there is a situation where shake when shooting, the first image and There is displacement vector in the image border of the second image, by calculating displacement vector, then edge is compensated, can obtain quality compared with The 4th high image, so as to improve picture quality, is conducive to improving the search efficiency of examination question.
Further, for similarity higher the first image and the second image, the first image and the second figure can be obtained The definition values of picture;By the higher image of definition values, the 4th image is used as.
In embodiments of the present invention, two images are obtained by dual camera, obtained for that can shoot in complete examination question The image of appearance, two images are basically identical, and the image of complete contents of test question is obtained for that can not shoot, and two images only have one Partly overlap, by being merged to two images, the image of complete contents of test question can be obtained, realizing intactly to clap Take the photograph the more examination question of stem content, the complete keyword for remaining search improves search efficiency and search precision.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium, Described storage medium, such as ROM/RAM, disk, CD.
Embodiment three:
Fig. 3 shows the structural representation for the device that examination question is searched for dual camera that the embodiment of the present invention three is provided, and is It is easy to explanation, illustrate only the part related to the embodiment of the present invention.In embodiments of the present invention, searched for and tried with dual camera The device of topic includes:Image acquisition unit 31, the picture search unit 33 of similarity calculated 32 and the 3rd, wherein:
Image acquisition unit 31, for obtaining the first image and the second image respectively, first image is by the first shooting The image that head is shot, second image is the image shot by second camera.
In embodiments of the present invention, two cameras are set on the terminal device, when user runs into and needs to search for examination question, Examination question is shot by two cameras, two cameras are adjusted by user to acquisition parameters, obtain two Image, respectively the first image and the second image, wherein, the first image is the image shot by the first camera, second figure As the image to be shot by second camera.
Similarity calculated 32, the similarity for calculating the first image and the second image.
In embodiments of the present invention, because user is when shooting, meeting is according to the stem length of examination question, content length, to two Individual camera carries out acquisition parameters adjustment, therefore, obtained the first image and the second image, and possibility is identical or differs or part It is identical, in this regard, two images are carried out alignment processing by the similarity by calculating the first image and the second image.
3rd picture search unit 33, for when similarity is less than default similarity, by the first image and the second image The first synthetic operation is carried out, the 3rd image is obtained, and examination question search is carried out according to the 3rd image.
In embodiments of the present invention, when similarity is less than default similarity, two images is represent and are differed or portion Split-phase is same, and the examination question stem content of search is more, it is necessary to distinguish fetching portion by two cameras needed for such case illustrates Image could be shot completely, be less than the first image and the second image of default similarity, it is necessary to carry out the first conjunction for similarity Into operation, the 3rd image is obtained, the 3rd image includes complete contents of test question, in order to extract complete key in search Word, carries out precise search.
Further, the 3rd picture search unit 33, including:
Extraction unit 331, for extracting the first image and the second image same section and difference section;
3rd graphics processing unit 332, for the first image and the second image same section to be merged, by the first figure The difference section of picture and the second image is spliced, and obtains the 3rd image.
Specifically, the first image and the second image of default similarity are less than for similarity, two images are represent not Identical or part is identical, accordingly, it would be desirable to the first image and the second image same section and difference section are extracted, it is identical existing During part, the first image and the second image same section are merged, the difference section of the first image and the second image is entered Row splicing, obtains the 3rd image.
Further, the 3rd picture search unit 33, in addition to:
Content recognition unit 333, for identifying the contents of test question in the 3rd image, enters according to contents of test question in exam pool Row examination question is searched for.
Specifically, the contents of test question in the 3rd image is identified, the contents of test question is the keyword of examination question stem, utilizes pass Keyword carries out examination question search in examination question exam pool, is not only able to shorten search time, improves search efficiency, additionally it is possible to improves search Accuracy.
In embodiments of the present invention, two images are obtained by dual camera, obtained for that can shoot in complete examination question The image of appearance, two images are basically identical, and the image of complete contents of test question is obtained for that can not shoot, and two images only have one Partly overlap, by being merged to two images, the image of complete contents of test question can be obtained, realizing intactly to clap Take the photograph the more examination question of stem content, the complete keyword for remaining search improves search efficiency and search precision.
Example IV:
Fig. 4 shows the structural representation for the device that examination question is searched for dual camera that the embodiment of the present invention four is provided, and is It is easy to explanation, illustrate only the part related to the embodiment of the present invention.In embodiments of the present invention, searched for and tried with dual camera The device of topic includes:
Image acquisition unit 41, for obtaining the first image and the second image respectively, first image is by the first shooting The image that head is shot, second image is the image shot by second camera.
Similarity calculated 42, the similarity for calculating the first image and the second image.
3rd picture search unit 43, for when similarity is less than default similarity, by the first image and the second image The first synthetic operation is carried out, the 3rd image is obtained, and examination question search is carried out according to the 3rd image.
4th picture search unit 44, for when similarity exceeds default similarity, by the first image and the second image The second synthetic operation is carried out, the 4th image is obtained, and examination question search is carried out according to the 4th image.
In embodiments of the present invention, when similarity exceeds default similarity, illustrate that the first image and the second image are basic It is identical, in order to obtain the image that quality is higher, the second synthetic operation can be carried out to the first image and the second image, that is, will Two images are overlapped one image of synthesis, obtain the 4th image.
Further, the 4th picture search unit 44, including:
4th graphics processing unit 441, for calculating displacement vector according to the first image and the second image, and is mended Repay, obtain the 4th image.
Specifically, in order to further improve picture quality, especially there is a situation where shake when shooting, the first image and There is displacement vector in the image border of the second image, by calculating displacement vector, then edge is compensated, can obtain quality compared with The 4th high image, so as to improve picture quality, is conducive to improving the search efficiency of examination question.
In embodiments of the present invention, the device each unit for searching for examination question with dual camera can be by corresponding hardware or software list Member realizes that each unit can be independent soft and hardware unit, a soft and hardware unit can also be integrated into, herein not to limit The system present invention.The embodiment of the device each unit specifically refers to the description of previous embodiment one, will not be repeated here.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of method that examination question is searched for dual camera, it is characterised in that methods described comprises the steps:
The first image and the second image are obtained respectively, and described first image is the image shot by the first camera, described second Image is the image shot by second camera;
Calculate described first image and the similarity of the second image;
When the similarity is less than default similarity, described first image and the second image are subjected to the first synthetic operation, obtained Examination question search is carried out to the 3rd image, and according to the 3rd image.
2. the method as described in claim 1, it is characterised in that when the similarity is less than default similarity, by described the One image and the second image carry out the first synthetic operation, obtain the 3rd image, and carry out examination question search according to the 3rd image The step of, including:
Extract described first image and the second image same section and difference section;
Described first image and the second image same section are merged, by described first image and the difference portion of the second image Divide and spliced, obtain the 3rd image.
3. the method as described in claim 1, it is characterised in that when the similarity is less than default similarity, by described the One image and the second image carry out the first synthetic operation, obtain the 3rd image, and carry out examination question search according to the 3rd image The step of, in addition to:
The contents of test question in the 3rd image is identified, examination question search is carried out in exam pool according to the contents of test question.
4. the method as described in claim 1, it is characterised in that methods described also includes:
When the similarity exceeds default similarity, described first image and the second image are subjected to the second synthetic operation, obtained Examination question search is carried out to the 4th image, and according to the 4th image.
5. method as claimed in claim 4, it is characterised in that described first image and the second image are subjected to the second synthesis and grasped Make, the step of obtaining four images, including:
Displacement vector is calculated according to described first image and the second image, and compensated, the 4th image is obtained.
6. a kind of device that examination question is searched for dual camera, it is characterised in that described device includes:
Image acquisition unit, for obtaining the first image and the second image respectively, described first image is to be clapped by the first camera The image taken the photograph, second image is the image shot by second camera;
Similarity calculated, the similarity for calculating described first image and the second image;And
3rd picture search unit, for when the similarity is less than default similarity, by described first image and the second figure As carrying out the first synthetic operation, the 3rd image is obtained, and examination question search is carried out according to the 3rd image.
7. device as claimed in claim 6, it is characterised in that the 3rd picture search unit, including:
Extraction unit, for extracting described first image and the second image same section and difference section;
3rd graphics processing unit, for described first image and the second image same section to be merged, by described first The difference section of image and the second image is spliced, and obtains the 3rd image.
8. device as claimed in claim 6, it is characterised in that the 3rd picture search unit, in addition to:
Content recognition unit, for identifying the contents of test question in the 3rd image, according to the contents of test question in exam pool Carry out examination question search.
9. device as claimed in claim 6, it is characterised in that described device also includes:
4th picture search unit, for when the similarity exceeds default similarity, by described first image and the second figure As carrying out the second synthetic operation, the 4th image is obtained, and examination question search is carried out according to the 4th image.
10. device as claimed in claim 9, it is characterised in that the 4th picture search unit, including:
4th graphics processing unit, for calculating displacement vector according to described first image and the second image, and compensates, obtains To the 4th image.
CN201710269848.8A 2017-04-24 2017-04-24 Method and device for searching test questions by using double cameras Pending CN107273402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710269848.8A CN107273402A (en) 2017-04-24 2017-04-24 Method and device for searching test questions by using double cameras

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710269848.8A CN107273402A (en) 2017-04-24 2017-04-24 Method and device for searching test questions by using double cameras

Publications (1)

Publication Number Publication Date
CN107273402A true CN107273402A (en) 2017-10-20

Family

ID=60073818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710269848.8A Pending CN107273402A (en) 2017-04-24 2017-04-24 Method and device for searching test questions by using double cameras

Country Status (1)

Country Link
CN (1) CN107273402A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916582A (en) * 2013-01-07 2014-07-09 华为技术有限公司 Image processing method and device
CN106023073A (en) * 2016-05-06 2016-10-12 安徽伟合电子科技有限公司 Image splicing system
CN106095998A (en) * 2016-06-21 2016-11-09 广东小天才科技有限公司 Precise question searching method and device applied to intelligent terminal
CN106899781A (en) * 2017-03-06 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of image processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916582A (en) * 2013-01-07 2014-07-09 华为技术有限公司 Image processing method and device
CN106023073A (en) * 2016-05-06 2016-10-12 安徽伟合电子科技有限公司 Image splicing system
CN106095998A (en) * 2016-06-21 2016-11-09 广东小天才科技有限公司 Precise question searching method and device applied to intelligent terminal
CN106899781A (en) * 2017-03-06 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of image processing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柯友良: ""高等学校档案管理基础"", 《高等学校档案管理基础》 *

Similar Documents

Publication Publication Date Title
Harwath et al. Deep multimodal semantic embeddings for speech and images
Harwath et al. Vision as an interlingua: Learning multilingual semantic embeddings of untranscribed speech
CN108307229B (en) Video and audio data processing method and device
Tapaswi et al. Book2movie: Aligning video scenes with book chapters
EP2641401B1 (en) Method and system for video summarization
Sah et al. Semantic text summarization of long videos
US20110304774A1 (en) Contextual tagging of recorded data
CN111062871A (en) Image processing method and device, computer equipment and readable storage medium
CN110839173A (en) Music matching method, device, terminal and storage medium
WO2022134698A1 (en) Video processing method and device
CN113014988B (en) Video processing method, device, equipment and storage medium
CN104883515A (en) Video annotation processing method and video annotation processing server
US20180018348A1 (en) Method And Apparatus For Searching Information
CN112287168A (en) Method and apparatus for generating video
CN105807917A (en) Method and device for assisting user in learning characters
CN108229285B (en) Object classification method, object classifier training method and device and electronic equipment
CN110347869B (en) Video generation method and device, electronic equipment and storage medium
Twinanda et al. Fisher kernel based task boundary retrieval in laparoscopic database with single video query
CN112528049B (en) Video synthesis method, device, electronic equipment and computer readable storage medium
CN102073668B (en) Searching and extracting digital images from digital video files
CN116320659A (en) Video generation method and device
KR20200066134A (en) Method and device for multimodal character identification on multiparty dialogues
CN107273402A (en) Method and device for searching test questions by using double cameras
Cohendet et al. Transfer Learning for Video Memorability Prediction.
Favre et al. PERCOLI: a person identification system for the 2013 REPERE challenge

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: 20171020