The filming apparatus that 3D printer uses
Technical field
The present invention relates to 3D printing field, more particularly to the filming apparatus that a kind of 3D printer uses.
Background technology
3D printing thought originates from the U.S. in 19 end of the centurys, and is able to develop in the 1980s and promotes.3D printing
It is one of embodiment of height " dimension " newest in S&T integration body Model, alliance of Chinese Internet of Things school-run enterprise is referred to as it " upper last
The thought in century, the technology of eighties of last century, the market in this century ".
In 19 end of the centurys, the photosculpture and landforms forming technique that American Studies have gone out, then generate the 3D of printing technique
Print core manufacture thought.Before the 1980s, three-dimensional printer quantity is seldom, has focused largely on " Frankenstein " and electricity
In sub- product fan hand.It is mainly used to printing as the thing of jewelry, toy, instrument, kitchen article etc.Even there is car
Auto parts and components have been printed in family, then remove the customized parts really bought on the market according to plastic pattern.
1979, American scientist RF Housholder obtained the patent of similar " rapid shaping " technology, but not by business
Industry.The 1980s has blank, and its scientific name is " rapid shaping ".The 1980s mid-term, SLS obtained gram in the U.S.
Karr doctor Deckard of Sa Si states university Austin is developed and patented, and project is supported by DARPA.
To the late 1980s, American scientist has invented a kind of printer that can print out 3-D effect, and
It is successfully introduced to the market, 3D printing technique mature is simultaneously widely used.It is flat that common print function prints some reports etc.
Facial tissue data.And this newly-invented printer, it not only reduces the cost of stereo article, and excites thinking for people
As power.The application of following 3D printer will be more extensive.
Nineteen ninety-five, Massachusetts science and engineering create " 3 D-printing " one word, graduate Jim Bredt and Tim at that time
Anderson have modified ink-jet printer scheme, be changed into constraint solvent being expressed to powdered solution, rather than ink
Water is squeezed in the scheme on paper.The sale of three-dimensional printer gradually expands since 2003.
Because 3D printer cost is very high, equipment damage is easily caused when using 3D printer without credit personnel
It is bad, it is therefore desirable to which that the use to 3D printer introduces credit mechanism, however, in the prior art and in the absence of such scheme.
The content of the invention
In order to solve the above problems, the invention provides the filming apparatus that a kind of 3D printer uses, and transforms 3D printer,
Form in 3D printer that recognition speed is fast, identification by the network communications technology of high-precision face recognition technology and high bandwidth
The high personal identification credit mechanism of precision, so as to ensure the safety in utilization of 3D printer.
According to an aspect of the present invention, there is provided the filming apparatus that a kind of 3D printer uses, described device include high definition
Camera, 3D printer main body and Freescale MC9S12 chips, Freescale MC9S12 chips are connected with 3D printer main body,
High-definition camera is connected with 3D printer main body, for exporting scene to 3D printer main body in order to the 3D of 3D printer main body
Image prints.
More specifically, in the filming apparatus that the 3D printer uses, including:High-definition camera, it is arranged on 3D printing
Machine front end, for carrying out IMAQ to the user in front of 3D printer to export high-definition image;High-definition camera is also beaten with 3D
The connection of owner's body is printed, is printed for exporting scene to 3D printer main body in order to the 3D rendering of 3D printer main body;3D printing
Owner's body, the scene for being exported based on high-definition camera carry out corresponding 3D rendering printing;Freescale MC9S12 chips, point
Equipment and 3D printer main body more not sub- with characteristic vector are connected, fair for being sent when receiving recognition of face pass signal
Perhaps 3D printing signal, it is additionally operable to send when receiving recognition of face failure signal and forbids 3D printing signal;Facial image detection
Equipment, it is connected with high-definition camera, for receiving high-definition image, and is identified at high-definition image and be partitioned into face-image;People
Eye location detecting apparatus, with face image detecting apparatus, for receiving face-image, and is based on facial image detection face image
In whether there is left eye profile and right eye profile, when left eye profile be present and right eye profile be present, send face detection success
Signal, when in the absence of left eye profile or in the absence of right eye profile, send face detection failure signal;Feature extracting device, point
Equipment is not unpacked with position of human eye detection device and IP to be connected, when receiving face detection pass signal, enter from battery saving mode
Enter mode of operation, the face-image received is handled, when receiving face detection failure signal, into power saving mould
Formula;Feature extracting device includes fluctuation threshold and selects sub- equipment, the sub- equipment of processes pixel, the sub- equipment of matrix-split, the decimal system to turn
Change sub- equipment, characteristic vector obtains sub- equipment and the more sub- equipment of characteristic vector;Fluctuation threshold selects sub- equipment and position of human eye
Detection device connects, for calculating the complexity of face-image, the complexity selection fluctuation threshold size based on face-image, and face
The complexity of portion's image is higher, and the fluctuation threshold of selection is bigger, and fluctuation threshold is positive number;The sub- equipment of processes pixel respectively with fluctuation
Threshold value selects sub- equipment to be connected with position of human eye detection device, for receiving face-image, for each picture of face-image
Element performs following handle as object pixel:The pixel centered on object pixel, pair of 3 × 3 sizes is obtained in face-image
As picture element matrix, using each pixel in object pixel matrix in addition to object pixel as reference pixel and object pixel
It is compared, to obtain binaryzation matrix, binaryzation matrix is 3 × 3 sizes, and binaryzation matrix is made up of 8 binaryzation pixels,
Reference pixel is more than or equal to object pixel and fluctuation threshold sum, then the pixel value of binaryzation pixel corresponding to reference pixel is 1,
Reference pixel subtracts the difference after fluctuation threshold less than object pixel, then the pixel value of binaryzation pixel corresponding to reference pixel
For ﹣ 1, the pixel value of binaryzation pixel corresponding to the reference pixel of other values is 0;The sub- equipment of matrix-split and processes pixel
Equipment connects, for by binaryzation matrix conversion corresponding to each object pixel into a positive binaryzation matrix and one minus two
Value matrix, positive binaryzation matrix are made up of 8 binaryzation pixel values, bear binaryzation matrix also by 8 binaryzation pixel value groups
Into, positive binaryzation matrix each binaryzation pixel value subtract the binaryzation pixel value of negative binaryzation matrix relevant position can
Obtain the pixel value of the binaryzation pixel of corresponding binaryzation matrix relevant position;The decimal system is changed sub- equipment and set with matrix-split
Standby connection, for all binaryzation pixel values of positive binaryzation matrix corresponding to each object pixel to be pressed into it in positive binaryzation
Position in matrix forms a binary number as the positive binary number of target using first left and then right first up and then down order again, then will
The positive binary number of target changes into decimal number as the positive decimal number of target, to be additionally operable to corresponding to each object pixel
All binaryzation pixel values of negative binaryzation matrix are by its position in negative binaryzation matrix with first left and then right first up and then down again
Order form a binary number change into decimal number as target negative binary number, then by target negative binary number to make
Decimal number is born for target;Characteristic vector obtains sub- equipment and changes sub- equipment company with position of human eye detection device and the decimal system respectively
Connect, for the pixel value of each object pixel in face-image to be substituted for into positive goal decimal number corresponding to the object pixel
It is and according to position of the object pixel in face-image that positive goal decimal number composition corresponding to all object pixels is just one-dimensional
Characteristic vector, exported as positive goal characteristic vector, be additionally operable to replace the pixel value of each object pixel in face-image
Into bearing target decimal number corresponding to the object pixel and according to position of the object pixel in face-image by all subject images
Target decimal number composition negative one dimensional feature vector is born corresponding to element, is exported as negative target feature vector;Characteristic vector compares
Sub- equipment obtains sub- equipment with characteristic vector respectively and IP unpacks equipment and is connected, for by positive goal characteristic vector respectively with it is each
The positive characteristic vector of benchmark is matched, and negative target feature vector is matched with each benchmark negative feature vector respectively, the two
Authorized user's title corresponding to the positive characteristic vector of benchmark that all the match is successful and matches and the benchmark negative feature vector matched
When corresponding authorized user's title is identical, then recognition of face pass signal and the positive characteristic vector pair of the benchmark with matching are exported
The authorized user's title answered, it otherwise will export recognition of face failure signal;IP unpack equipment, for long-range data server
Network connection, the IP packets at data server are received by network, and IP packets are unpacked to obtain 6LowPAN
Packet;Wherein, IP packets are that 6LowPAN packets are carried out to beat after IP bags the packet obtained, 6LowPAN packets
In load include the positive characteristic vector of each benchmark at data server and each benchmark negative feature vector, 6LowPAN data
Head in bag is compressed data, and the head in 6LowPAN packets after decompression is used for the load in 6LowPAN packets
Parsed;Wherein, the positive characteristic vector of each benchmark is to the advance progress of corresponding authorized user's benchmark face-image and feature
The positive characteristic vector pickup of extraction equipment same operation and the vector obtained, each benchmark negative feature vector are to be authorized to corresponding
User's benchmark face-image carries out the vector for extracting and obtaining with the negative feature of feature extracting device same operation vector in advance;Side
Edge sensing equipment, unpack equipment with IP and be connected, the 6LowPAN packets of equipment output are unpacked for receiving IP, are rendered as
The head of the 6LowPAN packets of compressed data, the heads of 6LowPAN packets is decompressed with the 6LowPAN after being decompressed
Head in packet;6LowPAN unpacks equipment, is connected with edge sensing equipment, for receiving 6LowPAN packets to obtain
Load in 6LowPAN packets, and based on the head in the 6LowPAN packets after decompression in 6LowPAN packets
Load is parsed, to obtain the positive characteristic vector of each benchmark and each benchmark negative feature vector;Wherein, 3D printer main body exists
Receiving allows from battery saving mode to enter mode of operation during 3D printing signal, also receive forbid 3D printing signal when from work
Pattern enters battery saving mode.
More specifically, in the filming apparatus that the 3D printer uses, in addition to:Wireless communication interface, taken the photograph with high definition
As head connection, for transmitting wirelessly the picture material of high-definition camera output.
More specifically, in the filming apparatus that the 3D printer uses:Wireless communication interface includes compressed encoding device,
Picture material for being exported to high-definition camera carries out MPEG-4 standard compressions to obtain compression image.
More specifically, in the filming apparatus that the 3D printer uses:Wireless communication interface includes multi objective encoder
Part, it is connected with compressed encoding device, for carrying out multi objective coding to compression image to obtain channel-encoded data.
More specifically, in the filming apparatus that the 3D printer uses:Wireless communication interface includes frequency duplex communications
Equipment.
More specifically, in the filming apparatus that the 3D printer uses:Wireless communication interface includes time division duplex communication
Equipment.
More specifically, in the filming apparatus that the 3D printer uses:Wireless communication interface include GPRS receiver,
GPRS transmitters and AT89C51 single-chip microcomputers, AT89C51 single-chip microcomputers are connected with GPRS receiver and GPRS transmitters respectively.
Brief description of the drawings
Embodiment of the present invention is described below with reference to accompanying drawing, wherein:
Fig. 1 is the block diagram for the filming apparatus that the 3D printer according to embodiment of the present invention uses.
Reference:1 high-definition camera;2 3D printer main bodys;3 Freescale MC9S12 chips
Embodiment
The embodiment of the filming apparatus used below with reference to accompanying drawings the 3D printer of the present invention is described in detail.
3D printer is currently increasingly to popularize the electronic product used, and it involves great expense, and user of service needs when in use
Especially careful, untrained librarian use easily causes product facility damage, therefore, it is necessary to user to 3D printer
Carry out credit operation.It there is currently no such technical scheme.
In order to overcome above-mentioned deficiency, the present invention has built the filming apparatus that a kind of 3D printer uses, in 3D printer
Efficient personnel's credit equipment is introduced, so as to solve above-mentioned technical problem.
Fig. 1 is the block diagram for the filming apparatus that the 3D printer according to embodiment of the present invention uses, described
Device includes high-definition camera, 3D printer main body and Freescale MC9S12 chips, and Freescale MC9S12 chips are beaten with 3D
The connection of owner's body is printed, high-definition camera is connected with 3D printer main body, for exporting scene to 3D printer main body in order to 3D
The 3D rendering printing of printer main body.
Then, the concrete structure for the filming apparatus for continuing to use the 3D printer of the present invention is further detailed.
Described device includes:High-definition camera, 3D printer front end is arranged on, for entering to the user in front of 3D printer
Row IMAQ is to export high-definition image;High-definition camera is also connected with 3D printer main body, for exporting scene to 3D printing
Owner's body prints in order to the 3D rendering of 3D printer main body.
Described device includes:3D printer main body, the scene for being exported based on high-definition camera carry out corresponding 3D figures
As printing;Freescale MC9S12 chips, respectively more sub- with characteristic vector equipment and 3D printer main body be connected, for connecing
Being sent when receiving recognition of face pass signal allows 3D printing signal, is additionally operable to send when receiving recognition of face failure signal
Forbid 3D printing signal.
Described device includes:Face image detecting apparatus, it is connected with high-definition camera, for receiving high-definition image, and from
Identified at high-definition image and be partitioned into face-image;Position of human eye detection device, and face image detecting apparatus, for receiving plane
Portion's image, and based on whether there is left eye profile and right eye profile in facial image detection face image, when left eye profile being present
And when right eye profile be present, face detection pass signal is sent, when in the absence of left eye profile or in the absence of right eye profile, send
Face detection failure signal.
Described device includes:Feature extracting device, unpack equipment with position of human eye detection device and IP respectively and be connected, when connecing
When receiving face detection pass signal, enter mode of operation from battery saving mode, the face-image received is handled, when connecing
When receiving face detection failure signal, into battery saving mode;Feature extracting device includes fluctuation threshold and selects sub- equipment, at pixel
Manage the sub- equipment of sub- equipment, matrix-split, the decimal system changes sub- equipment, characteristic vector obtains sub- equipment and characteristic vector is more sub sets
It is standby;Fluctuation threshold selects sub- equipment to be connected with position of human eye detection device, for calculating the complexity of face-image, based on face
The complexity selection fluctuation threshold size of image, the complexity of face-image is higher, and the fluctuation threshold of selection is bigger, fluctuation threshold
For positive number;The sub- equipment of processes pixel selects sub- equipment and position of human eye detection device to be connected with fluctuation threshold respectively, for receiving
Face-image, following handle is performed as object pixel for each pixel of face-image:The picture centered on object pixel
Element, in face-image obtain 3 × 3 sizes object pixel matrix, by object pixel matrix in addition to object pixel
Each pixel is as reference pixel compared with object pixel, and to obtain binaryzation matrix, binaryzation matrix is 3 × 3 big
Small, binaryzation matrix is made up of 8 binaryzation pixels, and reference pixel is more than or equal to object pixel and fluctuation threshold sum, then joins
The pixel value for examining binaryzation pixel corresponding to pixel is 1, and reference pixel subtracts the difference after fluctuation threshold less than object pixel, then
The pixel value of binaryzation pixel corresponding to reference pixel is ﹣ 1, the pixel of binaryzation pixel corresponding to the reference pixel of other values
It is worth for 0;The sub- equipment of matrix-split is connected with the sub- equipment of processes pixel, for by binaryzation matrix corresponding to each object pixel
It is converted into a positive binaryzation matrix and a negative binaryzation matrix, positive binaryzation matrix is made up of 8 binaryzation pixel values, bears
Binaryzation matrix is also made up of 8 binaryzation pixel values, and each binaryzation pixel value of positive binaryzation matrix subtracts negative two-value
The pixel of binaryzation pixel of corresponding binaryzation matrix relevant position can be obtained by changing the binaryzation pixel value of matrix relevant position
Value;The decimal system is changed sub- equipment and is connected with the sub- equipment of matrix-split, for by positive binaryzation square corresponding to each object pixel
All binaryzation pixel values of battle array are formed by its position in positive binaryzation matrix with first left and then right first up and then down order again
One binary number changes into decimal number to be used as target positive ten as the positive binary number of target, then by the positive binary number of target
System number, it is additionally operable to all binaryzation pixel values of negative binaryzation matrix corresponding to each object pixel by it in negative two-value
The position changed in matrix forms a binary number as target negative binary number using first left and then right first up and then down order again, then
Target negative binary number is changed into decimal number to bear decimal number as target;Characteristic vector obtain sub- equipment respectively with people
Eye location detecting apparatus is changed sub- equipment with the decimal system and connected, for the pixel value of each object pixel in face-image to be replaced
Change positive goal decimal number corresponding to the object pixel into and according to position of the object pixel in face-image by all objects
Positive goal decimal number corresponding to pixel forms positive one-dimensional characteristic vector, exports, is additionally operable to face as positive goal characteristic vector
The pixel value of each object pixel, which is substituted for corresponding to the object pixel, in portion's image bears target decimal number and according to object
Position of the pixel in face-image will bear target decimal number composition negative one dimensional feature vector corresponding to all object pixels, make
For negative target feature vector output;The more sub- equipment of characteristic vector obtains sub- equipment with characteristic vector respectively and IP unpacks equipment and connected
Connect, for positive goal characteristic vector to be matched with the positive characteristic vector of each benchmark respectively, negative target feature vector is distinguished
Matched with each benchmark negative feature vector, the two all the match is successful and the positive characteristic vector of benchmark that matches corresponding to authorize
When user's name is identical with authorized user's title corresponding to the benchmark negative feature vector matched, then exports recognition of face and successfully believe
Number and the corresponding authorized user's title of the positive characteristic vector of the benchmark with matching, otherwise will export recognition of face failure signal.
Described device includes:IP unpack equipment, for being connected with long-range data server network, by network reception come
Unpacked from the IP packets at data server, and to IP packets to obtain 6LowPAN packets;Wherein, IP packets are
To 6LowPAN packets beat the packet of acquisition after IP bags, the load in 6LowPAN packets includes data server
The positive characteristic vector of each benchmark and each benchmark negative feature at place are vectorial, and the head in 6LowPAN packets is compressed data, solution
The head in 6LowPAN packets after pressure is used to parse the load in 6LowPAN packets;Wherein, each base
Accurate positive characteristic vector is to carry out the positive spy with feature extracting device same operation in advance to corresponding authorized user's benchmark face-image
The vector that sign vector is extracted and obtained, each benchmark negative feature vector are pre- advanced to corresponding authorized user's benchmark face-image
The vector that row and the negative feature vector of feature extracting device same operation are extracted and obtained.
Described device includes:Edge sensing equipment, unpack equipment with IP and be connected, equipment output is unpacked for receiving IP
6LowPAN packets, the head for the 6LowPAN packets for being rendered as compressed data is obtained, the head of 6LowPAN packets is solved
Pressure is with the head in the 6LowPAN packets after being decompressed.
Described device includes:6LowPAN unpacks equipment, is connected with edge sensing equipment, for receiving 6LowPAN packets
To obtain the load in 6LowPAN packets, and based on the head in the 6LowPAN packets after decompression to 6LowPAN data
Load in bag is parsed, to obtain the positive characteristic vector of each benchmark and each benchmark negative feature vector.
Wherein, 3D printer main body enters mode of operation when receiving permission 3D printing signal from battery saving mode, also exists
Receive and enter battery saving mode from mode of operation when forbidding 3D printing signal.
Alternatively, in the control platform:Wireless communication interface, it is connected with high-definition camera, for transmitting wirelessly height
The picture material of clear camera output;Wireless communication interface includes compressed encoding device, for the figure exported to high-definition camera
As content carries out MPEG-4 standard compressions to obtain compression image;Wireless communication interface includes multi objective code devices, with compression
Code devices connect, for carrying out multi objective coding to compression image to obtain channel-encoded data;Wireless communication interface includes
Frequency duplex communications equipment;Wireless communication interface includes tdd communication apparatus;And wireless communication interface connects including GPRS
Device, GPRS transmitters and AT89C51 single-chip microcomputers, AT89C51 single-chip microcomputers is received to be connected with GPRS receiver and GPRS transmitters respectively.
In addition, 4G LTE are the standards of a global general-use, including two kinds of network modes FDD and TDD, it is respectively used in pairs
Frequency spectrum and non-paired frequency spectrum.Operator's initially choice between two patterns is purely for the consideration to spectrum availability.Greatly
Multi-operator will dispose two kinds of networks simultaneously, so as to all frequency spectrum resources for making full use of it to possess.FDD and TDD are in technology
Very little, the main distinction are that using different duplex modes, FDD (FDD) and time division duplex (TDD) in fact for upper difference
It is two kinds of different duplex modes.
FDD is received and transmitted on two symmetrical frequency channels of separation, with protection frequency range come separate receive and
Send channel.FDD must use paired frequency, carry out differentiating uplink and downlink link by frequency, its unidirectional resource is in the time
On be continuous.FDD can make full use of the frequency spectrum of up-downgoing when supporting symmetrical service, but when supporting non-symmetrical service, frequency
Spectrum utilization rate will substantially reduce.
TDD receives and sent channel with the time to separate.In the GSM of TDD modes, receive and transmission makes
By the use of the different time-gap of same frequency carrier wave as the carrying of channel, its unidirectional resource is discontinuous, the time in time
Resource is distributed in the two directions.Some period sends a signal to mobile station by base station, and the time in addition is by moving
Platform sends a signal to base station, must harmonious ability work well between base station and mobile station.
The filming apparatus used using the 3D printer of the present invention, it is easily impaired for 3D printer in the prior art
Technical problem, by adding credit mechanism in 3D printer, it is allowed to by the librarian use authorized, refuse without mandate
Librarian use, so as to ensure the safe operation of electronic equipment, the economic interests of relevant departments are avoided to incur loss.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.