Utilize bar code reader field depth characteristic to realize the method for automatic shootingTechnical field
The present invention relates to information technology, automatic identification technology field, relate in particular to and utilize bar code reader field depth characteristic to realize the method for automatic shooting.
Background technology
In the bar code in automatic identification technology field is used, also have a lot of application not develop, for example with bar code as Controlling Source, the opportunity of utilizing bar code reader field depth characteristic control to take, for now some need to take in real time but situation that again can not fine control shooting distance is very practical.
Summary of the invention
Purpose of the present invention is exactly in order to overcome the defective that above-mentioned prior art exists, to provide a kind of easy to operate bar code reader field depth characteristic that utilizes to realize the method for automatic shooting.
Purpose of the present invention can be achieved through the following technical solutions: utilize bar code reader field depth characteristic to realize the method for automatic shooting, it is characterized in that this method may further comprise the steps:
(1) will trigger the control information that filming apparatus takes and write bar code;
(2) bar code and subject are added;
(3) bar code precision and bar-code reader are carried out field depth matching, determine the optimum distance between bar-code reader and the subject;
(4) allow subject before filming apparatus, pass through;
(5) if subject appears in the bar code reader field depth scope, then its add-on is distinguished by bar-code reader, and then triggers filming apparatus and take;
(6) if subject does not appear at the subject in the field depth, then can't trigger filming apparatus and take.
Described bar code comprises bar code, two-dimensional bar code or OCR font literal.
Described bar code adopts and prints, pastes or rotten mode and the subject of carving adds.
Described bar-code reader is located at the camera lens place.
Compared with prior art, the present invention has the following advantages: utilize the precision of bar-code reader to bar code, have the characteristics of recognition scope restriction, realize that the relative position of the image reading device and the article that are taken is realized best fit, guarantee shooting effect, satisfy the needs of using.
Description of drawings
Fig. 1 is that the present invention utilizes bar code reader field depth characteristic to realize the schematic diagram of the method for automatic shooting.
Embodiment
The present invention will be further described below in conjunction with specific embodiment.
Embodiment 1
As shown in Figure 1, among the present invention, generate software by the Codesoft bar code, generation comprises the bar code graphics of control information and is printed on 2.5 centimetres high by 888 type bar code printers, on the 5 centimetres wide art paper label, make the label (A1, A2, A3) of three same precision.Its content is variant mutually, so that distinguish.
Bar-code label is sticked on article (B1, B2, B3) surface respectively subsequently.Utilize MS-890 (C) to bar-code label, focus, determine that the best reads the position, adjust the position of shooting focal length object.Use MS-890 (C) that the bar-code label of object is monitored, in label appeared at MS-890 (C) zone, bar code A2 was distinguished, and triggered filming apparatus and took action, got access to optimal picture.When article do not occur in sweep limits, at this time just can't trigger and take action, just do not have ropy picture yet and be taken.