Summary of the invention
In view of above content, be necessary to provide a kind of commodity catalog display system, it can, according to the movement of reviewer, carry out the rotation of different angles to the commodity catalog showing on electronic board and electronic board automatically.
In view of above content, be also necessary to provide a kind of commodity catalog methods of exhibiting, it can, according to the movement of reviewer, carry out the rotation of different angles to the commodity catalog showing on electronic board and electronic board automatically.
, being applied to electronic board, this system comprises: picture acquisition module, for obtaining the photo current of the camera head picked-up of installing on electronic board; Face recognition module, for identifying face from the photo current obtaining; Computing module, for calculating the maximum surrounded set of photo current face, and the median vertical line of definite this maximum surrounded set; Comparing module, for comparing the median vertical line of this maximum surrounded set and the median vertical line of photo current, determines the change in location of this maximum surrounded set; Rotary module, for according to the change in location of this maximum surrounded set, obtains the moving direction of electronic board, and according to this moving direction rotating electron billboard; Described rotary module, also for according to the moving direction of electronic board and move angle, the commodity catalog showing on the display screen of rotating electron billboard.
A catalog methods of exhibiting, is applied to electronic board, and the method comprises: picture obtaining step, obtains the photo current of the camera head picked-up of installing on electronic board; Face recognition step identifies face from the photo current obtaining; Calculation procedure, calculates the maximum surrounded set of face in photo current, and determines the median vertical line of this maximum surrounded set; Comparison step, compares the median vertical line of this maximum surrounded set and the median vertical line of photo current, determines the change in location of this maximum surrounded set; Rotation step 1, according to the change in location of this maximum surrounded set, obtains the moving direction of electronic board, and according to this moving direction rotating electron billboard; Rotation step 2, according to the moving direction of electronic board and move angle, the commodity catalog showing on the display screen of rotating electron billboard.
Compared to prior art, described commodity catalog display system and method, can be according to the movement of reviewer, automatically display of commodity catalog on electronic board (as advertisement plate) and electronic board is carried out to the rotation of different angles, the commodity catalog that offers reviewer different angles is shown, reach just like the visual effect of watching real goods in glass cabinet, make ad content can more press close to the demand of viewing and admiring of reviewer, also allow traditional plane 2D advertisement vivid and interesting more that becomes, and then attract more reviewer to stop to view and admire.
Embodiment
As shown in Figure 1, be the applied environment schematic diagram of commodity catalog display system of the present invention.In the present embodiment, this commodity catalog display system 24 runs in an electronic board 2.Described electronic board 2 also comprises display screen 20, camera head 21, actuating device 22, storer 23 and the processor 25 being connected with data line by signal wire.Consult shown in Fig. 4, in the present embodiment, described electronic board 2 is rotary 3D(Three Dimensional) catalog advertisement broadcasting billboard.
Wherein, described camera head 21 is installed on the place ahead of electronic board 2, for absorbing the picture of reviewer.In the present embodiment, described camera head 21 is network camera (IPCamera), and can absorb the picture of 30 reviewer p.s., that is to say, the interval photography time of camera head 21 is 0.03 second, and camera head 21 can absorb the picture of a reviewer every 0.03 second.
Described actuating device 22 is installed on the base of electronic board 2, for controlling electronic board 2 rotations.For example, this actuating device 22 can be the electric device that comprises X-axis CD-ROM drive motor and Y-axis CD-ROM drive motor.
The 3D virtual image of the promotion item that described storer 23 is shown for the needs of storing the program code of described commodity catalog display system 24 and making in advance.For example, can utilize array type video camera to carry out filming image to all angles of physical commodity (as 360 degree), obtain after the image data of each angle of physical commodity, the image store that commodity 360 are spent to each angles is in storer 23.While rotating, will on display screen 20, show the commodity image that different angles are corresponding on the display screen 20 of this commodity catalog at electronic board 2.
Described commodity catalog display system 24 is for obtaining the picture of camera head 21 picked-ups, from the picture obtaining, identify the face of reviewer, and automatically the commodity catalog showing on electronic board 2 and electronic board 2 display screens 20 is rotated according to the movement of face.In the present embodiment, described commodity catalog display system 24 can be divided into one or more modules, described one or more module is stored in described storer 23 and is configured to and carried out by one or more processors (the present embodiment is a processor 25), to complete the present invention.For example, consult shown in Fig. 2, described commodity catalog display system 24 is divided into picture acquisition module 240, face recognition module 241, computing module 242, comparing module 243 and rotary module 244.The alleged module of the present invention has been the program segment of a specific function, than program, is more suitable in describing the implementation of software in electronic board 2, about the function of each module, will in the process flow diagram of Fig. 3, specifically describe.
As shown in Figure 3, be the process flow diagram of commodity catalog methods of exhibiting of the present invention preferred embodiment.
Step S10, picture acquisition module 240 is for every Preset Time (as 1 second), obtains the photo current (or be referred to as " scene instant video ") 30 in electronic board 2 the place aheads of camera head 21 picked-ups, consults shown in Fig. 5 A.
Step S11, face recognition module 241 is utilized face's detection techniques, identifies the face of reviewer from the photo current 30 obtaining.Wherein, described face recognition module 241 can utilize the colour of skin theoretical (as YCbCr color space model) to identify face from the photo current obtaining, and also can utilize face feature sample correlation technique (Face Template Matching) or other facial recognition techniques to identify face from the photo current obtaining.The present embodiment be take colour of skin theory and is described as example, and first, face recognition module 241 utilizes the colour of skin theoretical, according to face's colour of skin scope, by the face locating of reviewer out.The judgment formula of described face colour of skin scope is as follows:
In above-mentioned formula, P represents a pixel in photo current 30, the coordinate of (x, y) represent pixel point P.In the present embodiment, if the value of P (x, y) equals 1, the pixel P that represents current detection is face's colour of skin, if the value of P (x, y) equals 0, represents the pixel P Bu Shi face colour of skin of current detection.
Step S12, by face locating out after, computing module 242 calculates the maximum surrounded set 40 of photo current 30Zhong faces, obtains the scope of described face area, is about to the circumscription of described face area in a rectangle.Then, computing module 242, according to the center point coordinate of this maximum surrounded set 40, is determined the median vertical line H1 of this maximum surrounded set 40, and the change in location of the median vertical line H1 of this maximum surrounded set 40 is using the foundation as judgement reviewer moving direction.
Step S13, comparing module 243 is compared the median vertical line H1 of this maximum surrounded set 40 and the median vertical line H2 of photo current 30, determines the change in location (consulting shown in Fig. 5 B) of the maximum surrounded set 40 of reviewer face.Wherein, the median vertical line H2 of photo current 30 is definite according to the center point coordinate of photo current 30, and coordinate origin is the position, the upper left corner of photo current 30.
Particularly, comparing module 243 calculates the side-play amount between the X-axis coordinate (as X=x1) of median vertical line H1 of maximum surrounded set 40 and the X-axis coordinate (as X=x0) of the median vertical line H2 of photo current 30, judges the change in location of the maximum surrounded set 40 of reviewer face according to the above-mentioned side-play amount calculating.
If in step S11, face recognition module 241 identifies the face of a plurality of reviewer from the photo current 30 obtaining, and in step S12, computing module 242 calculates the maximum surrounded set 40 of each face in photo currents 30.Then, in step S13, comparing module 243 is chosen the maximum surrounded set 40 of area maximum as basis.The area that is appreciated that maximum surrounded set 40 is larger, represent reviewer from electronic board 2 more close to.
Step S14, rotary module 244 is according to the change in location of the maximum surrounded set 40 of calculated face, obtain the moving direction of described electronic board 2, by actuating device 22, control speed (as the 1m/s) rotation to preset according to this moving direction of this electronic board 2, until the median vertical line H1 of maximum surrounded set 40 and the median vertical line H2 of photo current 30 overlap (consulting shown in Fig. 5 C).Meanwhile, rotary module 244 will be recorded the move angle of electronic board 2.
Particularly, the moving direction that rotary module 244 obtains electronic board 2 according to the change in location of the maximum surrounded set 40 of face comprises the steps:
Consult shown in Fig. 5 B, if the X-axis coordinate of the median vertical line H1 of maximum surrounded set 40 is offset (being that reviewer moves to the right side of electronic board 2) to X-axis positive dirction, the moving direction that rotary module 244 is judged electronic board 2 is as to the right.If the X-axis coordinate of the median vertical line H1 of maximum surrounded set 40 is to X-axis negative direction skew (being that reviewer moves to the left side of electronic board 2), the moving direction that rotary module 244 is judged electronic board 2 is as left.
For example, the X-axis coordinate of supposing median vertical line H1 is x1, and the X-axis coordinate of median vertical line H2 is x0, if x1-x0 is greater than zero, the moving direction that rotary module 244 is judged described electronic board 2 is as to the right.If x1-x0 is less than zero, the moving direction that rotary module 244 is judged described electronic board 2 is as left.If x1-x0 equals zero, rotary module 244 judges that described electronic board 2 is without movement.
Step S15, rotary module 244 when controlling electronic board 2 rotations, according to the moving direction of described electronic board 2 and move angle, the commodity catalog on rotational display screen 20.
For example, if the moving direction of described electronic board 2 for to the right, rotary module 244 is recorded to right rotation commodity-type according to the move angle of electronic board 2; If the moving direction of described electronic board 2 is for left, rotary module 244 is recorded to anticlockwise commodity-type according to the move angle of electronic board 2.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.