Background technique
Traditionally, it is shot by camera and is easy to fake, and be not easy to differentiate for whether the content of shooting fakes, shooting is madeVacation usually has following several forms:
First is that shooting time is faked;The first fraud mode is: when common camera is taken pictures, photo opporunity is derived from camera localSystem time, photographer can be the fraud of non-present time by setting local system;Second of fraud mode is: clapping in photoAfter taking the photograph, faked with the attribute information of photo processing software modification photograph taking time;The third fraud mode is: when will clapWhen taking the photograph the time and directly adding, be shown in some position of photo, by photo-editing software, modify on (being commonly called as PS) photo whenBetween text fake.
Second is that content of shooting can carry out fraud of posing for photograph by closely blocking camera lens;With positioning, compass headingPopularizing for sensing technology, has the field of strict demand in certain pairs of content of shooting authenticities, when can be shot by record cameraCoordinate setting, direction where carving solve the problems, such as that photographer does not shoot with direction in defined position;But only records photographingPosition and direction, photographer still can carry out fraud of posing for photograph by closely blocking camera lens;Counterfeiting method is: photographerIn specified position, it is specified that direction target is shot, between camera lens and photographic subjects, printed with one itsThe photo of his scene or the electronic display for showing other scenes, closely block taking lens, then photographer takesIt is the scene of non-real goal.
Third is that modification content of shooting is faked;After the completion of shooting, edited with content of the image processing software to shootingWith modification (being commonly called as PS), under the prior art, by the image of professional treatment, whether the content of image was once difficult by artificial processingDifferentiate;In addition, the gauge outfits attribute information such as image capturing time, author will be lost after image is printed as papery photo.
Summary of the invention
The first object of the present invention is to provide a kind of based on network time, positioning, direction, random number, bar code sum numberThe image pickup method of word encryption technology solves the problems, such as that above-mentioned shooting is faked, and checks card suitable for attendance of taking pictures, evidence obtaining etc. of enforcing the law requiresThe field that shooting behavior and content cannot fake.
The second object of the present invention is to provide a kind of effectively retrieval whether edited method of image.
The third object of the present invention is to provide a kind of method for saving paper image Table Header information based on two dimensional code.
The first purpose to realize the present invention, better embodiment according to the present invention, the present invention provides one kind to be based onNetwork time, positioning, direction, random number, bar code and digital-scrambling techniques image pickup method, prevent shooting fake;The sideMethod the following steps are included:
1) network time for recording camera shooting time avoids faking because of modification local zone time, and network time is by with public credibilityThe third party of degree authorizes, and when not connected network, the not connected status information of record network is distinguished with showing;
2) coordinate setting, the compass azimuth for recording camera shooting time, avoid not in designated position, not by prescribed direction to meshThe problem of mark shooting;
3) in shooting in the previous very short period, one group of random code is shown on capture apparatus, photographer or shooting helpThe random code ought to be copied on paper or other intermediaries immediately, and by the paper for having copied random code withThe similar form for lifting board is stood between taking lens and photographic subjects, and photographer is simultaneously by the photographic subjects and the intermediaryOn the random code copied beat in image content, prevent from closely being blocked camera lens with fault image and pose for photograph fraud;In shooting buttonWhile being pressed, capture apparatus records the random code, for comparing with the random code in shooting achievement, by differentiating two groupsThe consistency of random code judges the authenticity of image;
4) network time for recording camera shooting time, the coordinate setting, the compass azimuth, the random codeBar code image is converted to after encryption, and the bar code is added to some or multiple positions of the shooting achievement image frameIt sets;When judging the shooting achievement authenticity, the bar code image is decoded using the corresponding decryption rule of encryption rule;ByIt is generated in the bar code applications encryption rule, other users can not generate one in the case where not grasping the encryption ruleThe bar code image of sample can not also decode correct content, to can not be faked by editing the text being added on photo;
5) digital-scrambling techniques are used, a rule is taken by preset, chooses several position pixels from the shooting achievement imageSelected color of image value is converted to bar code using the encryption and decoding rule of the 4th step by the color of image of point,One or more positions of write-in shooting achievement image frame;Since color of image value is written in the bar code, user is notIn the case where grasping the encryption decoding rule, the same bar code can not be generated, correct content can not be also decoded, thusIt seems no edited that the shooting result map, which can be retrieved,;
6) when whether retrieval picture material is once edited, the rule for the location point that gets colors for the first time using described image againThen, the color value that same position is read from described image, is compared with color value decoded from the bar code, passes through twoWhether the consistency interpretation described image of group color value is modified, and prevents the later period from faking by editor's shooting achievement content.
Further, described image is photo, video.
Further, the bar code is bar code, two-dimensional bar code, dimensional bar code.
Further, the random code is the combination of random digit, random text, random mark, random digit letter symbol.
Further, the shooting previous very short period, the period should be short enough, allows photographer when describedBetween be unable to complete the false scene with the random digital content in section and find a view;It is shot when photographer does not complete during the period of time,Capture apparatus can replace one group of new random code of display.
Further, the color of image that several position pixels are chosen from image, several positions should be intensive enough,So that the probability that user avoids chosen position point when editing picture material is extremely low;The preset reconnaissance rule choosing of location applicationIt takes, when retrieving for the second time, decoding device reads the color value of same position pixel, the reconnaissance rule using same reconnaissance ruleThen maintain secrecy to other users.
The second purpose to realize the present invention, the present invention provides a kind of effectively retrieval whether edited sides of imageMethod;It the described method comprises the following steps:
1) default rule is pressed, the color of image of several position pixels is chosen from image, it, will be selected using digital-scrambling techniquesThe color of image value taken is converted to bar code, and one or more positions of image frame are written;Since institute is written in color of image valueIt states in bar code, user can not generate the same bar code, can not also decode in the case where not grasping encryption decoding ruleCorrect content;
2) when whether retrieval picture material is once edited, the rule of color position point is taken for the first time using described image again,The color value that same position pixel is read from described image, is compared with color value decoded from the two dimensional code, leads toWhether the consistency interpretation image for crossing two groups of color values was edited.
Further, described image is photo, video.
Further, the bar code is bar code, two-dimensional bar code, dimensional bar code.
Further, the color of image that several position pixels are chosen from image, several positions should be intensive enough,So that the probability that user avoids chosen position point when editing picture material is extremely low;The preset reconnaissance rule choosing of location applicationIt takes, when retrieving for the second time, decoding device reads the color value of same position pixel, the reconnaissance rule using same reconnaissance ruleThen maintain secrecy to other users.
Third purpose to realize the present invention, the present invention provides one kind to save paper image Table Header information based on two dimensional codeMethod;It the described method comprises the following steps: utilizing two dimensional code to generate and scanning technique is simple, efficiently, with covert expression believesThe characteristics of breath, the tables such as the shooting time that electronic image is recorded, shooting location, shooting author, image resolution ratio, camera parameterHead attribute information is converted to image in 2 D code, and is printed on some or multiple positions of paper image, passes through scanning solutionThe code gauge outfit attribute information, the beneficial effect is that gauge outfit attribute information will not be lost after electronic pictures are printed as paper image.
Specific embodiment
In the present invention, bar code image can be one-dimension code, two dimensional code or multidimensional code;Although the storage information of one-dimension codeIt measures limited but theoretically and feasible;Herein by taking two dimensional code as an example, method of the invention is described in detail.
Below in conjunction with attached drawing, the invention will be further described;Referring to Fig. 1, it is based on time, position, random number and bar codeTake pictures and check card or evidence collecting method, which is characterized in that its step are as follows:
1) network time 2 for recording 1 shooting time of camera avoids passing through the shooting that modification local system time records imageTime fakes;Network time is authorized by the third party with public credibility degree, since the time of user's shooting comes automatic network, Wu FaxiuChange;When not connected network, the not connected status information of record network is distinguished with showing;
2) camera position 3, camera orientation angle 4 locating for 1 shooting time of camera are recorded, is avoided not in designated position, not by regulation sideTo the problem of shooting to photographic subjects 10;
3) in shooting in the previous very short period, one group of random code 5 is shown on capture apparatus, photographer or shooting helpReason immediately copies the random code 5 on paper or other act board intermediaries 9, and has copied described in random code 5The paper of appearance is stood in the form of lifting board between taking lens and photographic subjects 10, and photographer by photographic subjects 10 and lifts board simultaneouslyContained random code beats in image content in intermediary 9, prevents photographer from closely blocking camera lens with fault image and poses for photograph fraud;It is pressingWhile lower shooting button, capture apparatus records the random code 5, for comparing with the random code in shooting achievement picture, leads toThe consistency for differentiating two groups of random codes is crossed, judges the authenticity for shooting achievement image;
4) by 1 shooting time of camera record the network time 2, the camera position 3, the camera orientation angle 4, it is described withMachine code 5 encrypt after be converted to bar code 8, by the bar code 8 be written it is described shooting achievement image frame some or it is multiplePosition;When judgement shoots achievement image's authenticity, using the corresponding decryption rule decoding bar code 8 of encryption rule;By instituteIt states the application encryption rule of bar code 8 to generate, other users can not generate the same bar shaped in the case where not grasping encryption ruleCode image, can not also decode correct content, to can not be faked by editing the text being added on photo;
5) digital-scrambling techniques are used, take a rule 7 by preset, from the color of several position pixels of image selection, applicationThe encryption of 4th step and decoding rule, are converted to bar code 8 for selected color of image value, be written one of image frame orMultiple positions;Since color of image value is written in the bar code 8, user is not in the case where grasping encryption decoding rule, nothingMethod generates the same bar code, can not also decode correct content, so as to avoid editor's picture material from faking;
6) whether out-of-date, the location point that gets colors for the first time using described image again takes a little if being edited in retrieval picture materialRule 7 reads the color value of same position pixel from described image, is compared with from the decoded color value of the two dimensional code 8It is right, whether modified by the consistency interpretation photo of two groups of color values.
Preferable specific embodiment of the invention is described in detail above, the present invention is not limited to examples detailed above, this technology necksThe those of ordinary skill in domain, within the essential scope of the present invention, made variation, addition or replacement also should belong to the present inventionProtection scope.