CN108917644B - Three-dimensional stereo measurement system - Google Patents

Three-dimensional stereo measurement system Download PDF

Info

Publication number
CN108917644B
CN108917644B CN201810795571.7A CN201810795571A CN108917644B CN 108917644 B CN108917644 B CN 108917644B CN 201810795571 A CN201810795571 A CN 201810795571A CN 108917644 B CN108917644 B CN 108917644B
Authority
CN
China
Prior art keywords
module
image
processing module
user interface
result
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.)
Active
Application number
CN201810795571.7A
Other languages
Chinese (zh)
Other versions
CN108917644A (en
Inventor
马宏宾
蒋孜萌
屠馨元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gongji Beijing Intelligent Technology Co ltd
Original Assignee
Gongji Beijing Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gongji Beijing Intelligent Technology Co ltd filed Critical Gongji Beijing Intelligent Technology Co ltd
Priority to CN201810795571.7A priority Critical patent/CN108917644B/en
Publication of CN108917644A publication Critical patent/CN108917644A/en
Application granted granted Critical
Publication of CN108917644B publication Critical patent/CN108917644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures

Abstract

The three-dimensional measuring system comprises an input module, a processing module, an adjusting module and an output module, wherein the input module is used for processing image input, storing a frame satisfied by a user and transmitting a result to the image processing module and the output module; the output module is electrically connected with the processing module, is mapped to a display of the three-dimensional measuring instrument, and displays the image of the input module and the result obtained by the processing module on a user interface; the processing module processes the image stored by the input module, performs length conversion on the result of image processing, calculates the volume and displays the result to the output module; the adjusting module is electrically connected with the processing module and carries out data interaction, and the result of obvious error is corrected. The method has the advantages of simple operation, high imaging and calculating speed, high measuring efficiency and accurate measuring result, can be suitable for rapidly processing large-batch express delivery, and is suitable for popularization.

Description

Three-dimensional stereo measurement system
Technical Field
The invention relates to the field of measurement, in particular to a three-dimensional measurement software system.
Background
With the development of the internet industry, online shopping through various large e-commerce platforms becomes one of the main channels of mass shopping, and the trend provides higher requirements for the efficiency and the accuracy of the logistics industry. However, at present, most express delivery receiving outlets still adopt pure manual operation to measure according to traditional solutions, and workers hold tools such as a tape measure, a ruler and a scale to carry out manual measurement.
In order to improve the current situation and solve the problem of low processing speed, some network points adopt equipment for quick measurement, but most of the equipment is professional equipment, adopts expensive precise sensors and has no universality; these instruments still require that operating personnel place the object to be measured and can not deviate to a certain specific position, have higher requirement to operating personnel, have also reduced measurement of efficiency, can not satisfy the demand of most express delivery logistics processing branches equally. Therefore, the express parcel measuring equipment with high cost performance, high processing speed, high efficiency, full automation and expandability and a system matched with the express parcel measuring equipment are needed in the field.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a three-dimensional measurement system.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
the three-dimensional measurement system comprises an input module, a processing module, an adjusting module and an output module, wherein the input module is electrically connected with the camera of the three-dimensional measurement instrument, is electrically connected with the processing module and is used for processing image input, storing a frame satisfied by a user and transmitting a result to the image processing module and the output module; the output module is electrically connected with the processing module, is mapped to a display of the three-dimensional measuring instrument, and displays the image of the input module and the result obtained by the processing module on a user interface; the processing module processes the image stored by the input module, performs length conversion on the result of image processing, calculates the volume, and displays the result to the output module, wherein the processing module comprises an image processing module, a feature classification module and a calculation module; the adjusting module is electrically connected with the processing module and carries out data interaction, and the result of obvious error is corrected.
In the invention, a side view image and a top view image of an object to be detected and an operation button are respectively arranged on the user interface, wherein the top left corner of the user interface is a side view acquired by a camera, the bottom left corner is a top view acquired by the camera, the right start button is used for the camera to start acquisition work, the save button is used for the camera to capture an image picture at the moment, the threshold value 1 is a side view edge extraction algorithm threshold value parameter, the threshold value 2 is a top view edge extraction algorithm threshold value parameter, and the bottom right corner displays the calculated height, length, width and volume information of the object to be detected.
In the present invention, based on the user interface, the operation and operation process of the three-dimensional measurement system includes:
① waiting for the user to click the start button;
② clicking start to start image capture, and entering the input module;
③ waiting for the user to click on the save button;
④ clicking save, automatically storing the current frame images of the two cameras, and entering a processing module (sub-modules: image processing module, feature classification module, and calculation module);
⑤ entering into image processing module for determining image complexity, image binarization, contour extraction, and line identification;
⑥ entering into a feature classification module for classifying the recognized straight lines and recognizing the length, width and height of the object;
⑦ entering into a calculation module for conversion according to the conversion relationship between the pixel and the actual length;
⑧, entering an output module, displaying the calculated length, width, height and volume in a user interface, if the result is satisfied, returning to step ①, otherwise, carrying out the next step;
⑨, the adjustment module changes the threshold parameter in the image processing module to adjust the measurement results until the user is satisfied, and by the end of this single measurement, clicks the start button to make a new round of measurement, and so on.
In the invention, the three-dimensional measurement system measures the length, width and height of a regular three-dimensional object and further calculates the volume of the regular three-dimensional object based on an OpenCV computer vision library and a Qt user interface development framework, wherein the OpenCV is a cross-platform computer vision library issued based on BSD permission (open source), the Qt is a cross-platform C + + graphic user interface application program development framework, and the cross-platform C + + graphic user interface application program development framework is applied to Unix, L inux, Windows and Mac OS operating system platforms, has small volume and good cross-platform performance, and is suitable for embedded development.
Compared with the prior art, the invention has the advantages of convenient operation, high response speed, fast volume measurement of the regular object to be measured when being used in cooperation with hardware, length, width, height and volume size display in the interface, fast measurement speed and high precision.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a schematic view of a display screen user interface of the present invention;
fig. 3 is a flow chart of the working process of the present invention.
Detailed Description
The invention is further described below with reference to the drawings and specific preferred embodiments of the description, without thereby limiting the scope of protection of the invention.
Referring to the three-dimensional measurement system shown in fig. 1-3, based on the three-dimensional measurement instrument, the three-dimensional measurement instrument includes three two-by-two perpendicular oblique planes forming a platform for placing an object to be measured, a camera arranged on the platform for collecting images of a side view and a top view of the object to be measured, a processor for processing the collected images and a display with a user interface, the three-dimensional measurement system includes an input module, a processing module, an adjustment module and an output module, the input module is electrically connected with the camera of the three-dimensional measurement instrument, and is electrically connected with the processing module for processing image input, storing a frame satisfied by a user, and transmitting the result to the image processing module and the output module; the output module is electrically connected with the processing module, is mapped to a display of the three-dimensional measuring instrument, and displays the image of the input module and the result obtained by the processing module on a user interface; the processing module processes the image stored by the input module, performs length conversion on the result of image processing, calculates the volume, and displays the result to the output module, wherein the processing module comprises an image processing module, a feature classification module and a calculation module; the adjusting module is electrically connected with the processing module and carries out data interaction, and the result of obvious error is corrected.
In the invention, a side view image and a top view image of an object to be detected and an operation button are respectively arranged on a user interface of a display, wherein the top left corner of the user interface is a side view acquired by a camera, the bottom left corner is a top view acquired by the camera, a 'start' button on the right side is used for the camera to start acquisition work, a 'save' button is used for the camera to capture an image picture at the moment, a 'threshold value 1' is a side view edge extraction algorithm threshold value parameter, a 'threshold value 2' is a top view edge extraction algorithm threshold value parameter, and the bottom right corner displays the height, length, width and volume information of the object to be detected obtained through calculation.
Based on the three-dimensional measurement system, the operation process flow comprises the following steps that ① after an object to be measured is placed on a platform to be placed, the object to be measured slides to the lowest point, a camera starts to acquire images, ② side views of the object to be measured are subjected to image preprocessing, edge extraction, linear clustering and other work, height information of the object can be obtained through simple linear conversion through a scale calculated in advance due to the fact that the distance between the camera and the object to be measured is fixed, ③ top views of the object to be measured are subjected to image preprocessing, edge extraction, linear clustering and other work, the distance between the camera and the platform minus the height of the object is the distance between the camera and the object, the actual length of a detected line segment is obtained through experiment and the scale of the actual distance between the current distance of a proportional model and the actual distance, the actual length of the detected line segment is obtained through simple linear conversion, length and width information of the object to be measured are screened through angles of the line segment, a ④ processor calculates the volume of the object to be measured and displays the volume in a user interface, when the obtained volume is obviously different from the actual volume, an operator adjusts a program to return to the ①, an edge extraction algorithm is adjusted, and the single measurement is.
Therefore, the method is simple to operate, high in imaging and calculating speed, high in measuring efficiency and accurate in measuring result, can be suitable for rapidly processing large-batch express delivery, and is suitable for popularization.

Claims (3)

1. The three-dimensional measurement system is characterized by comprising a placing table, a camera, a processor and a display, wherein the placing table is formed by three oblique planes which are perpendicular in pairs and used for placing an object to be measured, the camera is arranged on the placing table and used for collecting images of a side view and a top view of the object to be measured, the processor is used for processing the collected images and the display is provided with a user interface; the output module is electrically connected with the processing module, is mapped to a display of the three-dimensional measuring instrument, and displays the image of the input module and the result obtained by the processing module on a user interface; the processing module processes the image stored by the input module, performs length conversion on the result of image processing, calculates the volume, and displays the result to the output module, wherein the processing module comprises an image processing module, a feature classification module and a calculation module; the adjusting module is electrically connected with the processing module and carries out data interaction, and the result of obvious error is corrected.
2. The three-dimensional stereo measurement system according to claim 1, wherein the user interface is provided with a side view image and a top view image of the object to be measured, and an operation button, wherein the top left corner of the user interface is a side view image acquired by the camera, the bottom left corner is a top view image acquired by the camera, the right "start" button is used for the camera to start acquisition, the "save" button is used for the camera to capture an image picture at the moment, "threshold 1" is a side view edge extraction algorithm threshold parameter, "threshold 2" is a top view edge extraction algorithm threshold parameter, and the bottom right corner displays the calculated height, length, width and volume information of the object to be measured;
based on the user interface, the operation and running process of the three-dimensional measurement system comprises the following steps:
① waiting for the user to click the start button;
② clicking start to start image capture, and entering the input module;
③ waiting for the user to click on the save button;
④ clicking save, automatically saving the current frame images of the two cameras, and entering a processing module;
⑤ entering into image processing module for determining image complexity, image binarization, contour extraction, and line identification;
⑥ entering into a feature classification module for classifying the recognized straight lines and recognizing the length, width and height of the object;
⑦ entering into a calculation module for conversion according to the conversion relationship between the pixel and the actual length;
⑧, entering an output module, displaying the calculated length, width, height and volume in a user interface, if the result is satisfied, returning to step ①, otherwise, carrying out the next step;
⑨, the adjustment module changes the threshold parameter in the image processing module to adjust the measurement results until the user is satisfied, and by the end of this single measurement, clicks the start button to make a new round of measurement, and so on.
3. The three-dimensional stereo measurement system according to claim 1, wherein the three-dimensional stereo measurement system measures the length, width and height of a regular three-dimensional object and further calculates the volume of the regular three-dimensional object based on an OpenCV computer vision library and a Qt user interface development framework, the OpenCV is a cross-platform computer vision library based on BSD licensing, and the Qt is a cross-platform C + + graphical user interface application development framework applied to Unix, L inux, Windows and Mac OS operating system platforms.
CN201810795571.7A 2018-07-19 2018-07-19 Three-dimensional stereo measurement system Active CN108917644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810795571.7A CN108917644B (en) 2018-07-19 2018-07-19 Three-dimensional stereo measurement system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810795571.7A CN108917644B (en) 2018-07-19 2018-07-19 Three-dimensional stereo measurement system

Publications (2)

Publication Number Publication Date
CN108917644A CN108917644A (en) 2018-11-30
CN108917644B true CN108917644B (en) 2020-07-28

Family

ID=64415059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810795571.7A Active CN108917644B (en) 2018-07-19 2018-07-19 Three-dimensional stereo measurement system

Country Status (1)

Country Link
CN (1) CN108917644B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05322782A (en) * 1992-05-21 1993-12-07 Matsushita Electron Corp Semiconductor inspecting device
CN101865666A (en) * 2010-03-18 2010-10-20 苏州工业园区高登威科技有限公司 Appearance detection equipment
CN203091293U (en) * 2012-12-19 2013-07-31 东莞市三瑞自动化科技有限公司 Sorting automation equipment for visual inspection of profile
CN103278090A (en) * 2013-05-14 2013-09-04 陕西科技大学 Visual measurement method for volume of irregular object

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN166426B (en) * 1986-02-24 1990-05-05 Combustion Eng
GB2446206A (en) * 2007-01-30 2008-08-06 Trevor Maddison Fishing scope
CN201375291Y (en) * 2009-03-12 2010-01-06 金音股份有限公司 Combined type photo holder frame
CN102366746B (en) * 2011-11-02 2013-04-03 宁波韵升股份有限公司 Three-dimensional size sorting device for products
CN103630074B (en) * 2013-11-29 2016-09-21 北京京东尚科信息技术有限公司 A kind of method and apparatus of Measuring Object minimum package volume
CN104808177A (en) * 2015-04-08 2015-07-29 南京邮电大学 Indoor positioning system and method based on rotatable inclined receiving end
CN108212597A (en) * 2018-01-09 2018-06-29 惠安闽神石材加工设备开发有限公司 Spray painting processing unit before a kind of timber processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05322782A (en) * 1992-05-21 1993-12-07 Matsushita Electron Corp Semiconductor inspecting device
CN101865666A (en) * 2010-03-18 2010-10-20 苏州工业园区高登威科技有限公司 Appearance detection equipment
CN203091293U (en) * 2012-12-19 2013-07-31 东莞市三瑞自动化科技有限公司 Sorting automation equipment for visual inspection of profile
CN103278090A (en) * 2013-05-14 2013-09-04 陕西科技大学 Visual measurement method for volume of irregular object

Also Published As

Publication number Publication date
CN108917644A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN110017773B (en) Package volume measuring method based on machine vision
CN108537834B (en) Volume measurement method and system based on depth image and depth camera
CN111080693A (en) Robot autonomous classification grabbing method based on YOLOv3
CN106935683B (en) A kind of positioning of solar battery sheet SPEED VISION and correction system and its method
CN110246124B (en) Target size measuring method and system based on deep learning
CN102901444B (en) Method for detecting component size based on matching pursuit (MP) wavelet filtering and detecting system thereof
CN110174056A (en) A kind of object volume measurement method, device and mobile terminal
CN108647677A (en) The ammeter appearance and performance intelligent detecting method and device that view-based access control model calculates
CN110608685A (en) Object size rapid measurement method based on raspberry pie
CN112825190A (en) Precision evaluation method, system, electronic equipment and storage medium
WO2021103558A1 (en) Rgb-d data fusion-based robot vision guiding method and apparatus
US11875524B2 (en) Unmanned aerial vehicle platform based vision measurement method for static rigid object
CN112815924B (en) Quantitative evaluation method for verticality of building structure
CN108917644B (en) Three-dimensional stereo measurement system
US20100073550A1 (en) System and method for measuring a border of an image of an object
CN112230236A (en) Spectrum confocal displacement sensor distance measurement calculation method, system, device and storage medium
CN110930393A (en) Chip material pipe counting method, device and system based on machine vision
CN107884049A (en) A kind of weighing products and three-dimensional dimension measurement apparatus
CN112153320B (en) Method and device for measuring size of article, electronic equipment and storage medium
CN110060339B (en) Three-dimensional modeling method based on cloud computing graphic image
CN115035481A (en) Image object distance fusion method, device, equipment and storage medium
CN112613369A (en) Method and system for calculating area of building window
CN113869112A (en) Instrument automatic reading method and device based on machine vision
CN214410073U (en) Three-dimensional detection positioning system combining industrial camera and depth camera
CN110807416A (en) Digital instrument intelligent recognition device and method suitable for mobile detection device

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
GR01 Patent grant
GR01 Patent grant