CN109540002A - Cargo compartment dimension measurement method and device - Google Patents

Cargo compartment dimension measurement method and device Download PDF

Info

Publication number
CN109540002A
CN109540002A CN201910034071.6A CN201910034071A CN109540002A CN 109540002 A CN109540002 A CN 109540002A CN 201910034071 A CN201910034071 A CN 201910034071A CN 109540002 A CN109540002 A CN 109540002A
Authority
CN
China
Prior art keywords
cargo compartment
measured
face list
profile
dimension
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
Application number
CN201910034071.6A
Other languages
Chinese (zh)
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.)
Shanghai Kai Tak Mdt Infotech Ltd
Original Assignee
Shanghai Kai Tak Mdt Infotech 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 Shanghai Kai Tak Mdt Infotech Ltd filed Critical Shanghai Kai Tak Mdt Infotech Ltd
Priority to CN201910034071.6A priority Critical patent/CN109540002A/en
Publication of CN109540002A publication Critical patent/CN109540002A/en
Pending legal-status Critical Current

Links

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/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/022Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of tv-camera scanning
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F17/00Methods or apparatus for determining the capacity of containers or cavities, or the volume of solid bodies

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The present invention provides a kind of cargo compartment dimension measurement method and device, it is related to logistics and transportation technical field, this method comprises: based on default face list style library, the target face list pattern for the face list that cargo compartment to be measured includes is identified from view-finder, target face list pattern based on identification determines the dimension information of the face list, then by determining the single ratio between cargo compartment size to be measured in face, it determines the volume parameter of cargo compartment to be measured, and then determines the volume of cargo compartment to be measured.It that is to say, by the measurement method of automation, improve the efficiency and accuracy for measuring cargo compartment volume to be measured.

Description

Cargo compartment dimension measurement method and device
Technical field
The present invention relates to logistics and transportation technical fields, in particular to a kind of cargo compartment dimension measurement method and device.
Background technique
Logistic industry is the compound service industry for merging transport service, warehousing industry and e-commerce industry etc., is current its people Economic important component, with the fast development of Chinese economy, the system of logistic industry is also constantly improve, industry operation Increasingly mature and specification.
In logistic industry, generally measured by the volume to cargo compartment to calculate the freight of cargo, entrucking Compartment charging ratio and storage storage when warehouse utilization rate.Traditional is by with volume to the measurement method of cargo compartment volume Ruler measurement, but not only time-consuming, low efficiency for the mode of this manual measurement, but also mistake easily occurs.
Summary of the invention
It is an object of the present invention in view of the deficiency of the prior art, provide a kind of cargo compartment dimension measurement method And device, to improve to the measuring speed of cargo compartment size and the accuracy of measurement.
To achieve the above object, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of cargo compartment dimension measurement methods, comprising: based on default face list sample Formula library identifies the target face list pattern for the face list that cargo compartment to be measured includes from view-finder;Based on the target face list pattern, really The dimension information of the fixed face list;Based on the dimension information of the face list, the volume parameter of the cargo compartment to be measured is determined;It is based on The volume parameter of the cargo compartment to be measured determines the volume of the cargo compartment to be measured.
Optionally, the dimension information based on the face list, determines the volume parameter of the cargo compartment to be measured, comprising: Extract the profile of the cargo compartment to be measured;6 vertex for obtaining the profile of the cargo compartment to be measured are mapped in three-dimensional space D coordinates value;Dimension information based on the D coordinates value and face list calculates the volume ginseng of the cargo compartment to be measured Number.
Optionally, described to be based on the target face list pattern, determine the dimension information of the face list, comprising: based on described It is single to obtain the face from the incidence relation configuration file between preset face list pattern and dimension information for target face list pattern Dimension information.
Optionally, before the profile for extracting the cargo compartment to be measured, the method also includes: receive the hand of user Gesture operation;Target measurement region is determined based on the gesture operation;The profile for extracting the cargo compartment to be measured, comprising: from The profile of the cargo compartment to be measured is extracted in the target measurement region.
Optionally, the method also includes the wheels in: opposite list region, the target measurement region and the cargo compartment to be measured Exterior feature is marked;Image after storage label.
Second aspect, the embodiment of the invention also provides a kind of cargo compartment dimension measuring device, which includes: identification mould Block, for identifying the target face list pattern for the face list that cargo compartment to be measured includes from view-finder based on default face list style library;The One determining module determines the dimension information of the face list based on the face list pattern of the face list;Second determining module is based on institute The dimension information for stating face list determines the volume parameter of the cargo compartment to be measured;Third determining module is based on the cargo compartment to be measured Volume parameter, determine the volume of the cargo compartment to be measured.
Optionally, second determining module includes: extracting sub-module, for extracting cargo to be measured described in described image The profile of case;First acquisition submodule is mapped in three-dimensional space for obtaining 6 vertex of profile of the cargo compartment to be measured D coordinates value;Computational submodule, for the dimension information based on the D coordinates value and face list, calculate it is described to Survey the volume parameter of cargo compartment.
Optionally, first determining module includes: the second acquisition submodule, for being based on the target face list pattern, From the incidence relation configuration file between preset face list pattern and dimension information, the dimension information of the face list is obtained.
Optionally, described device further include: receiving module, for receiving the gesture operation of user;4th determining module, base Target measurement region is determined in the gesture operation;The extracting sub-module is specifically used for, and mentions from the target measurement region Take the profile of the cargo compartment to be measured.
Optionally, described device further include: mark module, opposite list region, the target measurement region and described to be measured The profile of cargo compartment is marked;Memory module, for storing the image after marking.
The beneficial effects of the present invention are: providing a kind of cargo compartment dimension measurement method, comprising: by the image in view-finder It does and matches with the face list pattern contained in the list style library of face, it, can be to the image in collected view-finder when successful match In the face list region that recognizes be tracked, to show AR (Augmented Reality, augmented reality) on cargo compartment The effect of superposition.Then can be single for object of reference with face, the face list surrounding of cargo compartment to be measured in the effect picture based on AR superposition The frame that profile occurs, determines the single ratio between cargo compartment size to be measured in face, so that it is determined that the volume of cargo compartment to be measured is joined Number, and then determine the volume of cargo compartment to be measured.It that is to say, by the measurement method of automation, improve and measure cargo cabinet to be measured Long-pending efficiency and accuracy.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of cargo compartment dimension measurement method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of another cargo compartment dimension measurement method provided in an embodiment of the present invention;
Fig. 3 is a kind of cargo compartment dimensional measurement interface schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of module diagram of cargo compartment dimension measuring device provided in an embodiment of the present invention;
Fig. 5 is the module diagram of another cargo compartment dimension measuring device provided in an embodiment of the present invention;
Fig. 6 is the module diagram of another cargo compartment dimension measuring device provided in an embodiment of the present invention;
Fig. 7 is the module diagram of another cargo compartment dimension measuring device provided in an embodiment of the present invention;
Fig. 8 is the module diagram of another cargo compartment dimension measuring device provided in an embodiment of the present invention;
Fig. 9 is the module diagram of another cargo compartment dimension measuring device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.
Fig. 1 is please referred to, is a kind of flow chart of cargo compartment dimension measurement method provided in an embodiment of the present invention.
Step S101 identifies the target for the face list that cargo compartment to be measured includes based on default face list style library from view-finder Face list pattern.
Due in the image in view-finder include face list region image, can by view-finder image with The face list pattern contained in default face list style library does matching, when successful match, around the profile of face list surrounding in view-finder It will appear a frame, the region in the frame is therefore the face list region of face list can know from the image in view-finder The face list region of other face list.
Face be singly logistics company during transporting cargo to record sender, addressee and containing other and goods The document of object case relevant information, face can be singly attached on some face of cargo compartment.
Face list pattern is feature possessed by the list of face, the information such as type, quantity and position distribution including label.
Wherein, label may include character and/or pattern.Certainly, in practical applications, special marking may be other It can be used for identifying the information of face list.
Default face list style library can store there are many face list pattern.
It should be noted that the image of a variety of single sides can be obtained in advance, the image of the how middle face list is handled, is known Do not obtain the face list pattern of each face list, and by the face list styles store of the multiple faces list recognized to default face list style library.
View-finder is the reference frame that cargo compartment image to be measured is acquired for camera.
In embodiments of the present invention, the solid images of cargo compartment to be measured can be acquired by the camera of mobile terminal.Its In, mobile terminal can be handheld terminals such as PDA (PersonalDigital Assistant, personal digital assistants), facilitate use Family carries and uses.
Specifically, in embodiments of the present invention, by singly being identified to the face on collected cargo compartment to be measured, and root The information such as type, quantity and position distribution according to the label on the list of face generate one such as the description file as described in marker recognition degree (i.e. face list pattern).Front end SDK (Software Development Kit, Software Development Kit) can download to the description File, and done and matched according to the face list pattern contained in the image and face list style library in collected view-finder.It matches into When function, the face list region recognized in the image in collected view-finder is tracked, mobile terminal is calculated and is being moved through The rigid body rotation parameter in the region in journey, front end SDK are folded according to the content of rigid body rotation parameter superimposed image to show AR The effect added.The profile of the face list surrounding of cargo compartment to be measured shows a side in the effect picture of the AR superposition of final successful match Frame.
Step S102, the face list pattern based on face list, determines the dimension information of face list.
Since the dimension information of different types of face list pattern is different, face is recognized from the image in view-finder Dan Hou can determine the dimension information of face list based on the face list pattern of face list.
Wherein, dimension information includes the length and width of face list.
It should be noted that the dimension information of a variety of face lists can be stored in advance, to be known according to the determination of face list pattern The face not obtained is single, and then determines the dimension information of face list.Certainly, in practical applications, can also come otherwise Determine the dimension information of face list.
Step S103 determines the volume parameter of cargo compartment to be measured based on the dimension information of face list.
Since face is singly pasted on cargo compartment, it can be using face nonoculture as object of reference, by the ruler for calculating face list The very little ratio between cargo compartment size to be measured, is then based on the dimension information of face list, determines the body of cargo compartment to be measured in image Product parameter.
Wherein, the volume parameter of cargo compartment to be measured includes length, width and the height of cargo compartment to be measured.
It should be noted that the face list surrounding of cargo compartment to be measured in the effect picture being superimposed due to the AR of final successful match Profile will appear a frame, therefore, can calculate the single ratio between cargo compartment size to be measured in face on the basis of the frame Then example establishes coordinate system as axis using three frames that one of vertex of cargo compartment to be measured is drawn, determines cargo compartment to be measured Three frames be mapped to the coordinate value of coordinate system and face is singly mapped to the coordinate value of coordinate system, it is finally single with goods to be measured based on face The volume parameter of ratio-dependent cargo compartment to be measured between object case size.
Due to that can determine cargo compartment to be measured in image by the dimension information for the face list pasted on cargo compartment to be measured Volume parameter improves the rate for measuring cargo compartment size to be measured, to accelerate the rate for calculating transportation charges, in turn Accelerate the rate of logistics transportation.
Step S104 determines the volume of cargo compartment to be measured based on the volume parameter of cargo compartment to be measured.
The expense as needed for can calculate transport cargo by the volume of determination cargo compartment to be measured, and the body of cargo compartment Product can be determined by volume parameter, therefore, can determine the body of cargo compartment to be measured based on the volume parameter of cargo compartment to be measured Product.
Wherein it is possible to the length of cargo compartment to be measured, width are multiplied with height, to obtain the body of cargo compartment to be measured Product.
It certainly, in practical applications, can also be with if the volume parameter of cargo compartment to be measured includes other types of volume parameter The volume of cargo compartment to be measured is determined by other corresponding modes.
In embodiments of the present invention, a kind of cargo compartment dimension measurement method is provided, by the image and face list in view-finder The face list pattern contained in style library does matching, can be to identifying in the image in collected view-finder when successful match To face list region be tracked, thus showed on cargo compartment AR superposition effect.Then can be single for object of reference with face, The frame that the profile of the face list surrounding of cargo compartment to be measured occurs in effect picture based on AR superposition determines that face is single with cargo compartment to be measured Ratio between size, so that it is determined that the volume parameter of cargo compartment to be measured, and then fortune is calculated by the volume of cargo compartment to be measured Expense needed for defeated cargo.Due to not needing to be measured again with tape measure to cargo compartment volume, measurement cargo compartment is improved The efficiency of volume to accelerate the rate for calculating transportation charges, and then accelerates the rate of logistics transportation.In addition, this The measurement method of kind automation is higher compared to the accuracy rate of manual measurement, reduces the mistake in manual measurement.
It referring to figure 2., is the flow chart of another cargo compartment dimension measurement method provided in an embodiment of the present invention.
Step S201 identifies the target for the face list that cargo compartment to be measured includes based on default face list style library from view-finder Face list pattern.
Wherein, based on default face list style library, the target face list for the face list that cargo compartment to be measured includes is identified from view-finder The mode of pattern may refer to the pass description in aforementioned, no longer repeat one by one herein.
Step S202, the face list pattern based on target, the incidence relation between preset face list pattern and dimension information In configuration file, the dimension information of face list is obtained.
Since various types of default face list pattern can be stored in advance in the list style library of face, while deposit Corresponding with default face list pattern dimension information can be generated into typing face list style library together with configuration file, it therefore, can be with Face list pattern based on face list obtains face from the incidence relation configuration file between preset face list pattern and dimension information Single dimension information, so as to determine the volume parameter of cargo compartment to be measured based on the dimension information of face list, and then by be measured The volume of cargo compartment come calculate transport cargo needed for expense.Due to not needing to be measured again with tape measure to cargo compartment volume, Therefore the efficiency of measurement cargo compartment volume is improved.
Incidence relation configuration file between preset face list pattern and dimension information be describe preset face list pattern with The file of incidence relation between dimension information.
Step S203 extracts the profile of cargo compartment to be measured.
Since the ratio-dependent cargo compartment to be measured between the size and cargo compartment size to be measured of calculating face list can be passed through Volume parameter determines cargo compartment to be measured based on the profile of cargo compartment to be measured therefore, it is necessary to extract the profile of cargo compartment to be measured The ratio of size and face list size passes through cargo compartment to be measured to the volume parameter based on ratio-dependent cargo compartment to be measured Volume come calculate transport cargo needed for expense.Due to not needing to be measured again with tape measure to cargo compartment volume, mention The high efficiency of measurement cargo compartment volume.
Specifically, it can take pictures to the cargo compartment to be measured for the effect for showing AR superposition, pass through Image Edge-Detection Technology extracts the profile of cargo compartment to be measured in image.Wherein, the face list surrounding of cargo compartment to be measured contains AR in acquired image Frame in the effect picture of superposition.
Wherein, the profile of the cargo compartment to be measured extracted is the quadrangle of two splicings as shown in Figure 3.
Optionally, in extracting image before the profile of cargo compartment to be measured, this method further include: receive the gesture behaviour of user Make;Target measurement region is determined based on gesture operation;Correspondingly, the profile of cargo compartment to be measured is extracted, comprising: from target measurement area The profile of cargo compartment to be measured is extracted in domain.
It is to be measured in acquired image in order to determine after taking pictures to the cargo compartment to be measured for showing AR Overlay Cargo compartment region can receive the gesture operation of user, and determine target measurement region in the picture based on gesture operation, The profile of cargo compartment to be measured is extracted from target measurement region, so that it is determined that the size ratio of the size of cargo compartment to be measured and face list Example, and then calculate the volume parameter of cargo compartment to be measured.Wherein, user is cut out to be measured in the acquired images by screenshotss operation Cargo compartment region.
It should be noted that the gesture operation based on user determines that target measurement region is to be based on user hand in the picture Gesture cuts the profile of cargo compartment to be measured in image, that is to say the quadrangles for cutting two splicings as shown in Figure 3.
Step S204,6 vertex for obtaining the profile of cargo compartment to be measured are mapped to D coordinates value in three-dimensional space.
Due to needing to determine the dimension information of cargo compartment to be measured based on the dimension information of face list, it can be by building Vertical three-dimensional system of coordinate obtains the D coordinates value that 6 vertex of the profile of cargo compartment to be measured are mapped in three-dimensional space, thus Determine the volume parameter of cargo compartment to be measured.
It specifically, can be to the profile of cargo compartment to be measured since the profile of cargo compartment to be measured in image can be extracted In 6 angles positioned, so that it is determined that the position on 6 vertex of profile, and establish three-dimensional system of coordinate on the basis of any vertex, Obtain the D coordinates value that cargo compartment profile to be measured is mapped in three-dimensional space.
Step S205, the dimension information based on D coordinates value and face list, calculates the volume parameter of cargo compartment to be measured.
Contain the frame in the effect picture of AR superposition, the side due to the face list surrounding of cargo compartment to be measured in acquired image Frame is formed by that plane is parallel with certain two axis in the three-dimensional system of coordinate of foundation, and the frame is consistent with the dimension information of face list, Therefore, it can be mapped to the dimension information of the D coordinates value and face list in three-dimensional space based on the profile of cargo compartment to be measured, count Calculate the volume parameter of cargo compartment to be measured.
Wherein it is possible to determine that the profile of cargo compartment to be measured is mapped to the D coordinates value in three-dimensional space, face is then determined Frame in the effect picture of single surrounding AR superposition is mapped to the coordinate value of coordinate system, finally the profile mapping based on cargo compartment to be measured D coordinates value into three-dimensional space, face list surrounding AR superposition effect picture in frame be mapped to the coordinate value of coordinate system with And the dimension information of face list determines length, width and the height of cargo compartment to be measured.
Step S206 determines the volume of cargo compartment to be measured based on the volume parameter of cargo compartment to be measured.
Wherein, the volume parameter based on cargo compartment to be measured, determines the mode of the volume of cargo compartment to be measured, may refer to aforementioned In pass description, no longer repeat one by one herein.
The profile of step S207, opposite list region, target measurement region and cargo compartment to be measured are marked, after storage label Image.
It calls the dimension information for checking cargo compartment to be measured when the error occurs during cargo transport for convenience, is calculating It, can be to the face list region in image, target measurement region and cargo compartment to be measured after the volume parameter of complete cargo compartment to be measured Profile is marked, and the image after label is stored.
Wherein it is possible to respectively by the frame of different colours, to including the image of cargo compartment to be measured (such as in view-finder Image) in face list region, target measurement region and cargo compartment to be measured the profile side that is marked and distinguishes, and pass through screenshotss Formula obtains the image after label.
Certainly, in practical applications, can also in the image to cargo compartment to be measured with single other of cargo compartment to be measured or face Relevant information is marked, for example, the vertex of cargo compartment to be measured can be marked, and/or, the vertex of opposite list is marked Note.
In embodiments of the present invention, a kind of cargo compartment dimension measurement method is provided, is identified from the image in view-finder The face list region for appearing single, and the face list region recognized is tracked, to show the effect of AR superposition on cargo compartment Fruit.Then from the configuration file of the incidence relation between preset face list pattern and dimension information, the size letter of face list is obtained Breath, the wheel of the profile of the face list surrounding of cargo compartment to be measured occurs in the effect picture based on AR superposition frame and cargo compartment to be measured Exterior feature establishes three-dimensional system of coordinate, and single for object of reference with face, 6 vertex for obtaining the profile of cargo compartment to be measured are mapped to three-dimensional space In coordinate value, to determine the volume parameter of cargo compartment to be measured, Jin Ertong based on the dimension information of D coordinates value and face list Cross the volume of cargo compartment to be measured calculate transport cargo needed for expense.Due to not needing to be carried out again with tape measure to cargo compartment volume Measurement, therefore the efficiency of measurement cargo compartment volume is improved, to accelerate the rate for calculating transportation charges, and then accelerate The rate of logistics transportation.In addition, the measurement method of this automation is higher compared to the accuracy rate of manual measurement, reduce artificial Mistake in measurement.
It referring to figure 4., is a kind of module diagram of cargo compartment dimension measuring device provided in an embodiment of the present invention, the dress Setting includes: identification module 401, for based on default face list style library, identifying that the face that cargo compartment to be measured includes is single from view-finder Target face list pattern;First determining module 402, the face list pattern based on face list, determines the dimension information of face list;Second determines Module 403 determines the volume parameter of cargo compartment to be measured based on the dimension information of face list;Third determining module 404, based on to be measured The volume parameter of cargo compartment determines the volume of cargo compartment to be measured.
Optionally, as shown in figure 5, the second determining module 403 includes: extracting sub-module 4031, for extract in image to Survey the profile of cargo compartment;First acquisition submodule 4032 is mapped to three-dimensional for obtaining 6 vertex of profile of cargo compartment to be measured D coordinates value in space;Computational submodule 4033 calculates to be measured for the dimension information based on D coordinates value and face list The volume parameter of cargo compartment.
Optionally, as shown in fig. 6, the first determining module 402 includes: the second acquisition submodule 4021, for being based on target Face list pattern, from the incidence relation configuration file between preset face list pattern and dimension information, obtain face list size Information.
Optionally, as shown in fig. 7, the device further include: receiving module 4034, for receiving the gesture operation of user;The Four determining modules 4035 are determining target measurement region based on gesture operation;Extracting sub-module 4031 is specifically used for, and surveys from target The profile of cargo compartment to be measured is extracted in amount region.
Optionally, as shown in figure 8, the device further include: mark module 405, opposite list region, target measurement region and to The profile for surveying cargo compartment is marked;Memory module 406, for storing the image after marking.
The method that above-mentioned apparatus is used to execute previous embodiment offer, it is similar that the realization principle and technical effect are similar, herein not It repeats again.
The above module can be arranged to implement one or more integrated circuits of above method, such as: one Or multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one Or multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field programmable gate Array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing elements When the form of part scheduler program code is realized, which can be general processor, such as central processing unit (Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Fig. 9 is the schematic diagram of another cargo size measuring device provided in an embodiment of the present invention, which can integrate In terminal device or the chip of terminal device, which can be the computer equipment for having cargo size measurement function.
The device includes: processor 901, memory 902.
Memory 902 is for storing program, the program that processor 901 calls memory 902 to store, to execute the above method Embodiment.Specific implementation is similar with technical effect, and which is not described herein again.
The present invention also provides a kind of program product, such as computer readable storage medium, including program, which is being located For executing above method embodiment when reason device executes.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter Claim: RAM), the various media that can store program code such as magnetic or disk.

Claims (10)

1. a kind of cargo compartment dimension measurement method, which is characterized in that the described method includes:
Based on default face list style library, the target face list pattern for the face list that cargo compartment to be measured includes is identified from view-finder;
Based on the target face list pattern, the dimension information of the face list is determined;
Based on the dimension information of the face list, the volume parameter of the cargo compartment to be measured is determined;
Based on the volume parameter of the cargo compartment to be measured, the volume of the cargo compartment to be measured is determined.
2. cargo compartment dimension measurement method as described in claim 1, which is characterized in that the size letter based on the face list Breath, determines the volume parameter of the cargo compartment to be measured, comprising:
Extract the profile of the cargo compartment to be measured;
6 vertex for obtaining the profile of the cargo compartment to be measured are mapped to D coordinates value in three-dimensional space;
Dimension information based on the D coordinates value and face list calculates the volume parameter of the cargo compartment to be measured.
3. cargo compartment dimension measurement method as described in claim 1, which is characterized in that described to be based on the target face list sample Formula determines the dimension information of the face list, comprising:
Based on the target face list pattern, from the incidence relation configuration file between preset face list pattern and dimension information, Obtain the dimension information of the face list.
4. cargo compartment dimension measurement method as claimed in claim 2, which is characterized in that extract the cargo compartment to be measured described Profile before, the method also includes:
Receive the gesture operation of user;
Target measurement region is determined based on the gesture operation;
The profile for extracting the cargo compartment to be measured, comprising:
The profile of the cargo compartment to be measured is extracted from the target measurement region.
5. cargo compartment dimension measurement method as claimed in claim 4, which is characterized in that the method also includes:
The profile in opposite list region, the target measurement region and the cargo compartment to be measured is marked;
Image after storage label.
6. a kind of cargo compartment dimension measuring device, which is characterized in that described device includes:
Identification module, for identifying the target for the face list that cargo compartment to be measured includes from view-finder based on default face list style library Face list pattern;
First determining module determines the dimension information of the face list based on the face list pattern of the face list;
Second determining module determines the volume parameter of the cargo compartment to be measured based on the dimension information of the face list;
Third determining module determines the volume of the cargo compartment to be measured based on the volume parameter of the cargo compartment to be measured.
7. cargo compartment dimension measuring device as claimed in claim 6, which is characterized in that second determining module includes:
Extracting sub-module, for extracting the profile of the cargo compartment to be measured;
First acquisition submodule, three be mapped in three-dimensional space for obtaining 6 vertex of profile of the cargo compartment to be measured Dimensional coordinate values;
Computational submodule calculates the cargo compartment to be measured for the dimension information based on the D coordinates value and face list Volume parameter.
8. cargo compartment dimension measuring device as claimed in claim 6, which is characterized in that first determining module includes:
Second acquisition submodule, for being based on the target face list pattern, between preset face list pattern and dimension information In incidence relation configuration file, the dimension information of the face list is obtained.
9. cargo compartment dimension measuring device as claimed in claim 7, which is characterized in that described device further include:
Receiving module, for receiving the gesture operation of user;
4th determining module determines target measurement region based on the gesture operation;
The extracting sub-module is specifically used for, and the profile of the cargo compartment to be measured is extracted from the target measurement region.
10. cargo compartment dimension measuring device as claimed in claim 9, which is characterized in that described device further include:
The profile of mark module, opposite list region, the target measurement region and the cargo compartment to be measured is marked;
Memory module, for storing the image after marking.
CN201910034071.6A 2019-01-14 2019-01-14 Cargo compartment dimension measurement method and device Pending CN109540002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910034071.6A CN109540002A (en) 2019-01-14 2019-01-14 Cargo compartment dimension measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910034071.6A CN109540002A (en) 2019-01-14 2019-01-14 Cargo compartment dimension measurement method and device

Publications (1)

Publication Number Publication Date
CN109540002A true CN109540002A (en) 2019-03-29

Family

ID=65835409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910034071.6A Pending CN109540002A (en) 2019-01-14 2019-01-14 Cargo compartment dimension measurement method and device

Country Status (1)

Country Link
CN (1) CN109540002A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796696A (en) * 2019-10-30 2020-02-14 网易(杭州)网络有限公司 Method and device for determining volume of object, storage medium and electronic device
CN117387539A (en) * 2023-12-11 2024-01-12 苏州朗信智能科技有限公司 Method and device for dynamically detecting carriage of freight vehicle and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754688A (en) * 1993-06-04 1998-05-19 Eli Lilly And Company Method and apparatus for stereologic analysis of two-dimensional images
CN1332840A (en) * 1998-12-03 2002-01-23 株式会社科浪 Information reader
CN102102978A (en) * 2009-12-16 2011-06-22 Tcl集团股份有限公司 Handheld terminal, and method and device for measuring object by using same
CN104112269A (en) * 2014-05-12 2014-10-22 北京联合大学 Solar cell laser-marking parameter detection method based on machine vision and system thereof
CN105894545A (en) * 2016-03-31 2016-08-24 维沃移动通信有限公司 Length measuring method and mobile terminal
CN106705837A (en) * 2015-11-17 2017-05-24 华为技术有限公司 Gesture-based object measurement method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754688A (en) * 1993-06-04 1998-05-19 Eli Lilly And Company Method and apparatus for stereologic analysis of two-dimensional images
CN1332840A (en) * 1998-12-03 2002-01-23 株式会社科浪 Information reader
CN102102978A (en) * 2009-12-16 2011-06-22 Tcl集团股份有限公司 Handheld terminal, and method and device for measuring object by using same
CN104112269A (en) * 2014-05-12 2014-10-22 北京联合大学 Solar cell laser-marking parameter detection method based on machine vision and system thereof
CN106705837A (en) * 2015-11-17 2017-05-24 华为技术有限公司 Gesture-based object measurement method and device
CN105894545A (en) * 2016-03-31 2016-08-24 维沃移动通信有限公司 Length measuring method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796696A (en) * 2019-10-30 2020-02-14 网易(杭州)网络有限公司 Method and device for determining volume of object, storage medium and electronic device
CN117387539A (en) * 2023-12-11 2024-01-12 苏州朗信智能科技有限公司 Method and device for dynamically detecting carriage of freight vehicle and storage medium
CN117387539B (en) * 2023-12-11 2024-03-26 苏州朗信智能科技有限公司 Method and device for dynamically detecting carriage of freight vehicle and storage medium

Similar Documents

Publication Publication Date Title
CN108225348B (en) Map creation and moving entity positioning method and device
CN113012210B (en) Method and device for generating depth map, electronic equipment and storage medium
US20170264880A1 (en) Device and method of dimensioning using digital images and depth data
US20030091227A1 (en) 3-D reconstruction engine
CN114550177B (en) Image processing method, text recognition method and device
CN110018470A (en) Based on example mask method, model, terminal and the storage medium merged before multisensor
CN110998664B (en) Calculating representative shapes of polygon groups
CN110648363A (en) Camera posture determining method and device, storage medium and electronic equipment
CN110910334B (en) Instance segmentation method, image processing device and computer readable storage medium
CN110926478B (en) AR navigation route deviation rectifying method and system and computer readable storage medium
CN109540002A (en) Cargo compartment dimension measurement method and device
WO2022048468A1 (en) Planar contour recognition method and apparatus, computer device, and storage medium
CN113793370A (en) Three-dimensional point cloud registration method and device, electronic equipment and readable medium
CN114332232B (en) Smart phone indoor positioning method based on space point, line and surface feature hybrid modeling
CN112197708B (en) Measuring method and device, electronic device and storage medium
CN113379826A (en) Method and device for measuring volume of logistics piece
CN108427110A (en) Distance measuring method, device and electronic equipment
CN105825161B (en) The skin color detection method and its system of image
US20200273241A1 (en) Method and device for hole filling of a point cloud
CN112150527B (en) Measurement method and device, electronic equipment and storage medium
EP2509028B1 (en) Method and system for optically detecting and localizing a two-dimensional, 2D, marker in 2D scene data, and marker therefor
Li et al. 3D line segment reconstruction in structured scenes via coplanar line segment clustering
CN113496142A (en) Method and device for measuring volume of logistics piece
CN111738253A (en) Forklift pallet positioning method, device, equipment and readable storage medium
CN117635888B (en) Data processing method and related 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329