CN109324651A - A kind of camera shooting picture system and control method - Google Patents
A kind of camera shooting picture system and control method Download PDFInfo
- Publication number
- CN109324651A CN109324651A CN201811237339.8A CN201811237339A CN109324651A CN 109324651 A CN109324651 A CN 109324651A CN 201811237339 A CN201811237339 A CN 201811237339A CN 109324651 A CN109324651 A CN 109324651A
- Authority
- CN
- China
- Prior art keywords
- driver
- paintbrush
- connect
- camera
- camera shooting
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D27/00—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
- G05D27/02—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means
Abstract
The invention discloses a kind of camera shooting picture systems, including drawing board, camera, picture mechanism and host computer platform, the top of drawing board is arranged in camera, for acquiring target object image on drawing board, camera and picture mechanism are connect with host computer platform, picture mechanism includes paintbrush, three spindle motors, driver and controller for controlling paintbrush, host computer platform includes display screen and controlling terminal, display screen is for showing image and control interface, controlling terminal is connect with controller, controller is connect with driver, and driver is connect with three spindle motors.The invention also discloses a kind of camera shooting picture system control methods.The present invention relates to fields of automation technology.A kind of camera shooting picture system and control method acquire target object image by camera, control the lines figure that controller driver driving motor drives paintbrush to depict target object image by controlling terminal, easy to operate, effectively improve the precision for drawing picture.
Description
Technical field
The present invention relates to field of automation technology more particularly to a kind of camera shooting picture systems and control method.
Background technique
When scanner is scanned image frame, scan image is divided into threadiness by linear CCD, and the width of every line is big
About 10 μm.Light is irradiated on picture original to be scanned by light source, generates reflected light (caused by reflection original text) or transmission
Light (caused by transmitting manuscript), is then reflected into linear CCD through reflective microscope group.Ccd image sensor is strong according to reflection light
Weak different switching converts the electrical signal to digital signal through A/D conversion process at different size of electric current, i.e. generation a line
Image data.Meanwhile mechanical transmission mechanism is under the control of the control circuit, stepper motor rotation drives drive belt, to drive
Dynamic optical system and CCD scanning means are done in drive rail with original copy to be swept to be moved in parallel relatively, will picture original one be swept
Being swept into for bar one line of line, is finally completed the scanning of whole original images.Existing picture is printed by scanner/printer,
Precision is lower, for the lines picture of the industrial circles complexity such as such as laser cutting, it is desirable that picture precision is higher, and common scanning is beaten
Print machine is not suitable for printing the picture high to picture required precision.And figure is directly printed as after existing scanner/printer scanned picture
The picture of scanning is not shown that some pictures for needing to show details can not directly be found out from the picture of printing, precision by piece
It is low.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to provide a kind of camera shooting picture system and control method, easy to operate, effectively improves the precision for drawing picture.
The technical scheme adopted by the invention is that: a kind of camera shooting picture system, including drawing board, camera, picture mechanism and
The top of the drawing board is arranged in host computer platform, the camera, for acquiring target object image on drawing board, the camera
It is connect with the host computer platform with the picture mechanism, the picture mechanism includes paintbrush, three axis for controlling paintbrush
Motor, driver and controller, the host computer platform include display screen and controlling terminal, and the display screen is for showing image
And control interface, the controlling terminal are connect with the controller, the controller is connect with the driver, the driver
It is connect with three spindle motor.
As a further improvement of the foregoing solution, the driver includes X-axis driver, Y-axis driver and Z axis driving
Device, three spindle motor include X-axis motor, y-axis motor and Z axis motor, and the X-axis driver is connect with the X-axis motor, institute
It states Y-axis driver to connect with the y-axis motor, the Z axis driver is connect with the Z axis motor.
As a further improvement of the foregoing solution, the system also includes light source controller and light source, the light source settings
Near the camera, the light source controller is connect with the controlling terminal, and the light source controller is connect with the light source,
For controlling the opening and closing and brightness of the light source.
As a further improvement of the foregoing solution, the system also includes the control button for controlling motor work, institutes
Control button is stated to connect with the driver.
As a further improvement of the foregoing solution, the system also includes the state instructions for being used to indicate electric machine operation state
Lamp, the status indicator lamp are connect with the driver.
A kind of camera shooting picture system control method, which comprises
Target object image is obtained, target object image is handled to obtain the skeleton drawing of object;
The pixel coordinate for extracting each skeletal point in skeleton drawing is closed according to preset pixel coordinate and world coordinates mapping
The pixel coordinate of skeletal point, is converted to the world coordinates where paintbrush by system;
Paintbrush is controlled according to the world coordinates of paintbrush and is moved to corresponding position, describes corresponding lines.
As a further improvement of the foregoing solution, the acquisition target object image, is handled to obtain to target object image
The skeleton drawing of object specifically includes:
Camera obtains target object image, and target object image is sent to controlling terminal;
Controlling terminal handles target object image to obtain contour images, then is carried out by Framework Arithmetic to contour images
Processing, obtains the skeleton drawing of object, and the skeleton drawing of object is sent to display screen and is shown.
As a further improvement of the foregoing solution, the pixel coordinate for extracting each skeletal point in skeleton drawing, according to pre-
If pixel coordinate and world coordinates mapping relations, the world coordinates where the pixel coordinate of skeletal point is converted to paintbrush is specific
Include:
Controlling terminal extracts the pixel coordinate of each skeletal point in skeleton drawing, according to preset pixel coordinate and time coordinate
The pixel coordinate of skeletal point is converted to the world coordinates where paintbrush by mapping relations.
As a further improvement of the foregoing solution, described that corresponding positions are moved to according to the world coordinates of paintbrush control paintbrush
It sets, describes corresponding lines and specifically include:
The world coordinates of paintbrush is sent to controller by controlling terminal, and controller controls driver driving motor according to paintbrush
World coordinates moved, motor drive paintbrush be moved to corresponding position, describe corresponding lines.
As a further improvement of the foregoing solution, in the acquisition target object image, target object image handle
To before the skeleton drawing of object, the method also includes: obtain light source control instruction, according to light source control instruction to light source into
Row open and close control or brightness control.
The beneficial effects of the present invention are:
A kind of camera shooting picture system and control method acquire target object image by camera, pass through controlling terminal control control
Device driver driving motor drive paintbrush processed depicts the lines figure of target object image, easy to operate, effectively improves drafting picture
Precision.
Detailed description of the invention
Specific embodiments of the present invention will be further explained with reference to the accompanying drawing:
Fig. 1 is a kind of one module frame chart of camera shooting picture system embodiment of the present invention;
Fig. 2 is a kind of two module frame chart of camera shooting picture system embodiment of the present invention;
Fig. 3 is a kind of three module frame chart of camera shooting picture system embodiment of the present invention;
Fig. 4 is a kind of four module frame chart of camera shooting picture system embodiment of the present invention;
Fig. 5 is a kind of five flow chart of camera shooting picture system control method embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
Embodiment one
Fig. 1 is a kind of one module frame chart of camera shooting picture system embodiment of the present invention, referring to Fig.1, a kind of camera shooting picture system,
Including drawing board (not shown in figure 1), camera, picture mechanism and host computer platform, camera and picture mechanism are flat with host computer
Platform connection.
Wherein, the top of drawing board is arranged in camera, for acquiring target object image on drawing board, in the present embodiment, and phase
Machine is using face battle array CMOS camera.
In the present embodiment, host computer platform includes display screen and controlling terminal, and display screen is connect with controlling terminal.Wherein,
Controlling terminal is industrial personal computer, and controlling terminal handles the image of acquisition, and treated that image is sent to is aobvious by acquisition
Display screen, for showing the image received and control interface, operator can carry out display image by control interface display screen
The operations such as amplification, diminution, mobile and preservation.
In the present embodiment, picture structure includes paintbrush, three spindle motors, driver and controller for controlling paintbrush.Its
In, controlling terminal is connect with controller, for sending control instruction to controller.Controller is connect with driver, driver with
The connection of three spindle motors, specifically, driver includes X-axis driver, Y-axis driver and Z axis driver, three spindle motors include X-axis
Motor, y-axis motor and Z axis motor, X-axis driver are connect with X-axis motor, and Y-axis driver is connect with y-axis motor, Z axis driver
It is connect with Z axis motor.After controller receives control instruction, it is mobile that three spindle motors are driven to control driver, and then with animation
Pen is mobile, depicts corresponding lines.In the present embodiment, controller uses softMC7 motion controller, and driver uses CDHD
Servo-driver, three spindle motors are linear motor, and controller is communicated with driver real-time ethernet.Operator can be by aobvious
The control interface of display screen carries out kinematic parameter setting to three spindle motors, including carries out coordinate to three spindle motors and return to zero operation, movement
Speed setting, rotating forward, reversion and stopping etc..
In the present embodiment, drawing board includes first area and second area, and first area is used for drop target object, the secondth area
For placing machine cartridge paper, side carries out Image Acquisition to object to camera on the first region, and the image after acquisition is sent out in domain
It send to controlling terminal and carries out image procossing, the image received is sent to display screen and shown by controlling terminal, and user can be aobvious
Processing parameter setting is carried out to picture in display screen.The pixel coordinate of image after controlling terminal extraction process, and convert it into picture
World coordinates where pen, is sent to controller for world coordinates, instructs controller control driver driving motor according to the world
Coordinate is mobile, and motor drives and depicts corresponding lines on the mobile machine cartridge paper in the second area of paintbrush.
Embodiment two
The purpose of the present embodiment is that illustrating preferred embodiment
Fig. 2 is a kind of two module frame chart of camera shooting picture system embodiment of the present invention, referring to Fig. 2, the present embodiment two and implementation
The difference of example one is that the camera shooting picture system of embodiment two further includes light source controller and light source, and light source is arranged in drawing board
Top, near camera, for giving camera shooting to provide light filling, be more clear camera acquired image.Specifically, light source
Controller is connect with controlling terminal, and by serial communication, light source controller uses DPS2- for controlling terminal and light source controller
24W125-4T controller, light source controller are connect with light source, for controlling the opening and closing and brightness of light source.
Embodiment three
The purpose of the present embodiment is that illustrating preferred embodiment
Fig. 3 is a kind of three module frame chart of camera shooting picture system embodiment of the present invention, referring to Fig. 3, the present embodiment three and implementation
The difference of example two is, the camera shooting picture system of embodiment three further includes that control button for controlling motor work and button refer to
Show that lamp, control button, button indicating lamp are connect with driver.In the present embodiment, control button include start button, stop by
Button, reset button and scram button.The control system further includes button indicating lamp, and button indicating lamp includes start indicator lamp, stops
Only indicator light, homing light and emergency stop indicator light, the light on and off working condition of button indicating lamp and the switch state of control button
It corresponds, for example, start indicator lamp is bright when start button presses unlatching, when start button, which resets, closes, starting instruction
Lamp goes out.In the present embodiment, the control button and button indicating lamp for imaging picture system are connect with driver, have saved controller
I/O mouth resource, reduce controller calculation process information content, effectively improve the operation efficiency of controller.
Example IV
The purpose of the present embodiment is that illustrating preferred embodiment
Fig. 4 is a kind of four module frame chart of camera shooting picture system embodiment of the present invention, referring to Fig. 4, the present embodiment four and implementation
The difference of example three is that the camera shooting picture system of example IV further includes in the status indicator lamp of indication motor working condition, shape
State indicator light is connect with driver.Status indicator lamp includes abnormal indicator light, warning indicator light and normal indicator light, abnormal instruction
Lamp, warning indicator light and normal indicator light respectively correspond as red colored lamp, amber light and green light.When driver detects that motor is transported
When row is abnormal, it is bright to control abnormal indicator light;When driver detects that motor operation is normal but pause conditions occurs in equipment, control
It is bright to alert indicator light;When driver detects that motor operates normally, it is bright to control normal indicator light.In the present embodiment, picture is imaged
The status indicator lamp of drawing system is connect with driver, has saved the I/O mouth resource of controller, reduces the letter of controller calculation process
Breath amount effectively improves the operation efficiency of controller.
Embodiment five
A kind of camera shooting picture system control method provided in an embodiment of the present invention.
Fig. 5 is a kind of five flow chart of camera shooting picture system control method embodiment of the present invention, referring to Fig. 5, a kind of camera shooting picture
Drawing system control method, including step S1 to step S4.
S1 obtains light source control instruction, and control is opened and closed to light source according to light source control instruction or brightness controls;
S2 obtains target object image, is handled target object image to obtain the skeleton drawing of object;
S3 extracts the pixel coordinate of each skeletal point in skeleton drawing, is mapped according to preset pixel coordinate and world coordinates
The pixel coordinate of skeletal point is converted to the world coordinates where paintbrush by relationship;
S4 controls paintbrush according to the world coordinates of paintbrush and is moved to corresponding position, describes corresponding lines.
In the present embodiment, step S2 specifically includes sub-step:
S21, camera obtain target object image, target object image are sent to controlling terminal;
S22, controlling terminal handle target object image to obtain contour images, then by Framework Arithmetic to contour images
It is handled, obtains the skeleton drawing of object, and the skeleton drawing of object is sent to display screen and is shown.
In the present embodiment, step S3 is specifically included: controlling terminal extracts the pixel coordinate of each skeletal point in skeleton drawing, root
According to preset pixel coordinate and time coordinate mapping relations, the world where the pixel coordinate of skeletal point to be converted to paintbrush is sat
Mark.
In the present embodiment, step S4 is specifically included: the world coordinates of paintbrush is sent to controller, controller by controlling terminal
Control driver driving motor is moved according to the world coordinates of paintbrush, and motor drives paintbrush to be moved to corresponding position, is described
Corresponding lines.
A kind of camera shooting picture system and control method acquire target object image by camera, pass through controlling terminal control control
Device driver driving motor drive paintbrush processed depicts the lines figure of target object image, easy to operate, effectively improves drafting picture
Precision.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.
Claims (10)
1. a kind of camera shooting picture system, which is characterized in that it includes drawing board, camera, picture mechanism and host computer platform, described
The top of the drawing board is arranged in camera, for acquiring target object image on drawing board, the camera and the picture mechanism
It is connect with the host computer platform, the picture mechanism includes paintbrush, three spindle motors, driver and control for controlling paintbrush
Device processed, the host computer platform include display screen and controlling terminal, and the display screen is described for showing image and control interface
Controlling terminal is connect with the controller, and the controller is connect with the driver, the driver and three spindle motor
Connection.
2. a kind of camera shooting picture system according to claim 1, which is characterized in that the driver include X-axis driver,
Y-axis driver and Z axis driver, three spindle motor include X-axis motor, y-axis motor and Z axis motor, the X-axis driver with
The X-axis motor connection, the Y-axis driver are connect with the y-axis motor, and the Z axis driver and the Z axis motor connect
It connects.
3. a kind of camera shooting picture system according to claim 2, which is characterized in that the system also includes light source controllers
And light source, the light source are arranged near the camera, the light source controller is connect with the controlling terminal, the light source control
Device processed is connect with the light source, for controlling the opening and closing and brightness of the light source.
4. a kind of camera shooting picture system according to claim 1 or 3, which is characterized in that the system also includes for controlling
The control button of motor work processed, the control button are connect with the driver.
5. a kind of camera shooting picture system according to claim 4, which is characterized in that the system also includes be used to indicate electricity
The status indicator lamp of machine working condition, the status indicator lamp are connect with the driver.
6. a kind of camera shooting picture system control method, which is characterized in that the described method includes:
Target object image is obtained, target object image is handled to obtain the skeleton drawing of object;
The pixel coordinate for extracting each skeletal point in skeleton drawing will according to preset pixel coordinate and world coordinates mapping relations
The pixel coordinate of skeletal point is converted to the world coordinates where paintbrush;
Paintbrush is controlled according to the world coordinates of paintbrush and is moved to corresponding position, describes corresponding lines.
7. a kind of camera shooting picture system control method according to claim 6, which is characterized in that the acquisition object figure
Picture, the skeleton drawing for being handled to obtain object to target object image specifically include:
Camera obtains target object image, and target object image is sent to controlling terminal;
Controlling terminal is handled to obtain contour images to target object image, then by Framework Arithmetic to contour images at
Reason, obtains the skeleton drawing of object, and the skeleton drawing of object is sent to display screen and is shown.
8. a kind of camera shooting picture system control method according to claim 6, which is characterized in that in the extraction skeleton drawing
The pixel coordinate of each skeletal point, according to preset pixel coordinate and world coordinates mapping relations, by the pixel coordinate of skeletal point
World coordinates where being converted to paintbrush specifically includes:
Controlling terminal extracts the pixel coordinate of each skeletal point in skeleton drawing, is mapped according to preset pixel coordinate and time coordinate
The pixel coordinate of skeletal point is converted to the world coordinates where paintbrush by relationship.
9. a kind of camera shooting picture system control method according to claim 6, which is characterized in that the generation according to paintbrush
Boundary's coordinate control paintbrush is moved to corresponding position, describes corresponding lines and specifically includes:
The world coordinates of paintbrush is sent to controller by controlling terminal, and controller controls driver driving motor according to the generation of paintbrush
Boundary's coordinate is moved, and motor drives paintbrush to be moved to corresponding position, describes corresponding lines.
10. according to a kind of described in any item camera shooting picture system control methods of claim 6 to 9, which is characterized in that described
Target object image is obtained, before being handled to obtain the skeleton drawing of object to target object image, the method also includes: it obtains
Light source control instruction is opened and closed control to light source according to light source control instruction or brightness controls.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237339.8A CN109324651A (en) | 2018-10-23 | 2018-10-23 | A kind of camera shooting picture system and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237339.8A CN109324651A (en) | 2018-10-23 | 2018-10-23 | A kind of camera shooting picture system and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109324651A true CN109324651A (en) | 2019-02-12 |
Family
ID=65262547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811237339.8A Pending CN109324651A (en) | 2018-10-23 | 2018-10-23 | A kind of camera shooting picture system and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324651A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0939487A (en) * | 1995-07-24 | 1997-02-10 | Max Co Ltd | Coordinates correction device in xy plotter |
CN105608730A (en) * | 2014-10-28 | 2016-05-25 | 富泰华工业(深圳)有限公司 | Point-cloud paintbrush selection system and point-cloud paintbrush selection method |
CN106651988A (en) * | 2016-10-13 | 2017-05-10 | 中国科学院半导体研究所 | Automatic drawing system for face line paint |
CN108230238A (en) * | 2017-12-22 | 2018-06-29 | 苏州灵猴机器人有限公司 | Robot human face sketch system and its drawing practice |
CN108257146A (en) * | 2018-01-15 | 2018-07-06 | 新疆大学 | Movement locus display methods and device |
CN108363986A (en) * | 2018-03-07 | 2018-08-03 | 曲阜师范大学 | Face literary sketch system based on improved sobel method and contour extraction method |
CN108482000A (en) * | 2018-05-25 | 2018-09-04 | 北京科技大学 | A kind of auto-portrait robot system |
CN209118159U (en) * | 2018-10-23 | 2019-07-16 | 深圳市盛世智能装备有限公司 | A kind of camera shooting picture system |
-
2018
- 2018-10-23 CN CN201811237339.8A patent/CN109324651A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0939487A (en) * | 1995-07-24 | 1997-02-10 | Max Co Ltd | Coordinates correction device in xy plotter |
CN105608730A (en) * | 2014-10-28 | 2016-05-25 | 富泰华工业(深圳)有限公司 | Point-cloud paintbrush selection system and point-cloud paintbrush selection method |
CN106651988A (en) * | 2016-10-13 | 2017-05-10 | 中国科学院半导体研究所 | Automatic drawing system for face line paint |
CN108230238A (en) * | 2017-12-22 | 2018-06-29 | 苏州灵猴机器人有限公司 | Robot human face sketch system and its drawing practice |
CN108257146A (en) * | 2018-01-15 | 2018-07-06 | 新疆大学 | Movement locus display methods and device |
CN108363986A (en) * | 2018-03-07 | 2018-08-03 | 曲阜师范大学 | Face literary sketch system based on improved sobel method and contour extraction method |
CN108482000A (en) * | 2018-05-25 | 2018-09-04 | 北京科技大学 | A kind of auto-portrait robot system |
CN209118159U (en) * | 2018-10-23 | 2019-07-16 | 深圳市盛世智能装备有限公司 | A kind of camera shooting picture system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104175031B (en) | A kind of welding robot system with autonomous centering capacity carries out the method for welding | |
CN104439729B (en) | A kind of Laser Processing vision positioning system | |
EP1185074A2 (en) | Method and system for scanning an image using a look-down linear array scanner | |
JP2016017961A (en) | Imaging method having projecting light source and imaging apparatus thereof | |
CN206348537U (en) | Towards the double-colored light source optical path beam merging apparatus of paper chart operation | |
CN207816184U (en) | A kind of external dimensions detection device of part or exemplar | |
CN108098761A (en) | A kind of the arm arm device and method of novel robot crawl target | |
CN102582329A (en) | Automatic laser engraving and code reading equipment for oil spraying nozzle | |
CN103252989A (en) | Silk-screen printing machine based on CCD (charge coupled device) automatic alignment printing system | |
CN209118159U (en) | A kind of camera shooting picture system | |
CN109215110A (en) | Whole scene scanning means and 3-D scanning modeling | |
CN109597337A (en) | A kind of machine vision intelligent acquisition and control system | |
CN105578162B (en) | A kind of laser projection for optimizing projected picture dynamic contrast | |
CN206661588U (en) | A kind of point gum machine vision servo system | |
CN106102217A (en) | A kind of polychromatic source automatic regulating system being applied to vision-based detection and method | |
CN109324651A (en) | A kind of camera shooting picture system and control method | |
CN110791943B (en) | Intelligent cloth inspecting machine control system | |
CN104815804A (en) | Tank upside-down detection device and detection method | |
CN107977694A (en) | A kind of sample is taken pictures the automatic analysis system of typing and identification | |
CN207867299U (en) | A kind of machine vision intelligence control system | |
CN212847248U (en) | Control circuit of industrial vision application training device | |
CN107743182A (en) | Multispectral image scanning collection device | |
CN214704985U (en) | Micro digital interactive teaching device with built-in display module | |
CN115504311A (en) | Sheet splicing and aligning system and method based on double CCD sensors | |
CN201497977U (en) | Photoelectric interaction white board device capable of switching light filter |
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 |