[go: up one dir, main page]

CN108813812A - Utilize the method for mobile phone photograph measurement foot type data - Google Patents

Utilize the method for mobile phone photograph measurement foot type data Download PDF

Info

Publication number
CN108813812A
CN108813812A CN201810373875.4A CN201810373875A CN108813812A CN 108813812 A CN108813812 A CN 108813812A CN 201810373875 A CN201810373875 A CN 201810373875A CN 108813812 A CN108813812 A CN 108813812A
Authority
CN
China
Prior art keywords
foot
mobile phone
rectangle
picture
type data
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
CN201810373875.4A
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.)
Guangzhou Ao Xuan Mdt Infotech Ltd
Original Assignee
Guangzhou Ao Xuan 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 Guangzhou Ao Xuan Mdt Infotech Ltd filed Critical Guangzhou Ao Xuan Mdt Infotech Ltd
Priority to CN201810373875.4A priority Critical patent/CN108813812A/en
Publication of CN108813812A publication Critical patent/CN108813812A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A43FOOTWEAR
    • A43DMACHINES, TOOLS, EQUIPMENT OR METHODS FOR MANUFACTURING OR REPAIRING FOOTWEAR
    • A43D1/00Foot or last measuring devices; Measuring devices for shoe parts
    • A43D1/02Foot-measuring devices
    • A43D1/025Foot-measuring devices comprising optical means, e.g. mirrors, photo-electric cells, for measuring or inspecting feet

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Image Analysis (AREA)

Abstract

The present invention discloses a kind of method using mobile phone photograph measurement foot type data, by will on rectangle object of reference setting flag line, foot is placed on mark line, guarantee that foot is in the center of paper, it is respectively taken a picture with a front surface and a side surface of mobile phone to foot, its angle shot intelligently determines the accuracy for guaranteeing measured's shooting angle by gyroscope, it has shot after photo by the algorithm process inside cell phone application, its internal algorithm is mainly by removing the undesired impurities of photo, leave main outline, by the ratio for comparing photo size and actual size, calculate the size that actual foot is wide and foot is long.The present invention is easy to use, and the foot type data error of measurement is 1mm or so, facilitates and uploads foot type data, facilitates the shoes that consumer matches shoes model and selection is fitted, it reduces online return of goods rate and reduces the incidence of pedopathy, also help the collection of foot type data and perfect.

Description

Utilize the method for mobile phone photograph measurement foot type data
Technical field
The present invention relates to a kind of methods for measuring object length, it particularly relates to which a kind of measure foot using mobile phone photograph The method of type data.
Background technique
With the development of electric business, more and more people buy shoes and like online purchase, however, buying from network at this stage The rates of replacing of shoes reached 20%~25%, i.e., electric business, which sells four pairs of shoes, just has a pair of shoes to replace, and can thus lead Shoes are caused to increase a large amount of express fee during replacing, but also the complaint that will cause client is complained, thus caused shopping Experience the bad bottleneck problem for having become and seriously affecting footwear online sale growth recent years.
Existing foot type DATA REASONING all needs ability data acquisition on subject person station to measuring instrument, in view of foot type number It is not that universal family has, or even some shoes production production man is all without foot type DATA REASONING instrument according to measuring instrument, it is existing Different manufacturers and different model shoes manufacturer's standard be all it is inconsistent, when buyer in online enquiries to wanting to buy Shoes when, buyer, which voluntarily measures, will appear measurement data inaccuracy, or be unable to measure foot type data because lacking tool, thus Cause the shoes of online purchase do not fit ratio height, there is the high phenomenon of the rate of replacing, cause business men and the puzzlement of consumer.
Most people lack oneself cognition to foot, and different foot type is in daily life to shoes, insole It buys, the mode of even foot care and nursing is all completely different.Therefore, how to enable people to both enough both easy, fast Victory, and the foot's data of oneself are accurately obtained, this is for human foot wearing and nursing and conventional footwear R & D Industry liter Grade is all particularly significant, but is not all well solved always before this.It is big that traditional foot data acquisition modes are roughly divided into 3 Class:
1. manual measurement:It is complicated (linen measure tape, steel tape, metal marker, the high instrument of amount etc.) using tool, it is in measurement such as amateur Personage may lead to the deviation of measurement result because of the error of measurement position, and it is smaller voluntarily to measure operational feasibility, and the effect that works Rate is low, large labor intensity, operation difficulty is big, repetition rate is low, the error between gauger is big;
2. size stick:, it can be achieved that voluntarily measuring for opposite manual measurement, operation is easier, but measuring tool is portable Property is slightly worse, and can only measure foot length, can not obtain foot width and arch height data;
3. foot scanner:Based on laser scanning, emits laser rays from one or more laser sources by certain frequency, use Multiple video cameras obtain foot data after shooting, collecting multiple image from different perspectives respectively, but equipment it is expensive (100,000 or so/ Platform), it is heavy that (machine weight about 40KG, needs to take up an area 1.5 square metres or so, and needs to configure separate display screens combination machine Operation), can only be used in fixed place and (need wifi connection that could operate, because equipment heaviness is not easy to move, also be unfavorable for receiving Put), meanwhile, equipment follow-up maintenance is costly.
Method in existing Taobao with mobile phone photograph measurement foot type is complicated for operation, and error is about in 1cm, and shoes are set Counting error is 5mm or so, and the matching of good foot type and shoes size is not achieved.
In addition, inaccurate and troublesome in poeration due to foot shape measurement, the nowadays foot type database in China and not perfect. There is investigation to show, the pedopathy 80% of compatriots will be caused by the day after tomorrow, i other words the main reason for leading to the problem of pedopathy is shoes, because The shoes that this fits are critically important.
It being capable of easy to operate, the accurate measurement method of measurement in conclusion needing one kind.
Summary of the invention
In view of the above shortcomings, the present invention provides a kind of methods using mobile phone photograph measurement foot type data, including with Lower step:
Step 1:Prepare rectangle object of reference and mobile phone;
Step 2:The setting flag line on the midline position of the short side of the rectangle object of reference;
Step 3:The rectangle object of reference is lain in horizontal support surface, the heel center of measured and middle toe It is placed on mark line, guarantees that entire foot is in the center of object of reference;
Step 4:It is taken pictures right above instep using mobile phone with level angle, guarantees displaying bounding box square for mobile phone photograph Shape object of reference all standing obtains the wide picture of foot;
Step 5:It is taken pictures using mobile phone in foot side, guarantees displaying bounding box rectangle object of reference all standing for mobile phone photograph, Adjustment mobile phone angle make mobile phone x-axis and ground angle it is substantially at 45 °, and keep the y-axis of mobile phone parallel to the ground, obtain foot Long picture;
Step 6:The wide picture of foot that the step 4 obtains is carried out the following processing:
A1. picture is handled using image segmentation algorithm, foreground part is separated with background parts, the foreground part is institute The rectangle object of reference part for stating the wide picture of foot, is set as black for the color of the background parts, by the color of the foreground part It is set as white, obtains the first processing figure;
B1. the coordinate value on four vertex in the first processing figure on the angle of rectangle object of reference part four is calculated;
C1. the pixel extraction of foreground part is come out, shows the rectangle object of reference part in the first processing figure;
D1. the resulting picture of c1 step is converted into grayscale image, and is handled using detection edge algorithms, obtain first Profile diagram;
Step 7:The corresponding wide pixel value of foot is obtained by calculation in the picture that the step 6 obtains, according to the step The ratio of the width numerical value of the width pixel value and practical rectangle object of reference of six resulting rectangle object of reference parts, and then obtain foot Wide measurement data;
Step 8:The long picture of foot that the step 5 obtains is carried out the following processing:
A2. picture is handled using image segmentation algorithm, by prospect and background separation, the foreground part is the long figure of the foot The color of the background parts is set as black by shade processing by the rectangle object of reference part of piece, by the foreground part Color is set as white, obtains second processing figure;
B2. the coordinate value on four vertex in the second processing figure on the angle of rectangle object of reference part four is calculated;
C2. the pixel extraction of foreground part is come out, shows the rectangle object of reference part in the second processing figure;
D2. the resulting figure of c2 step is converted into grayscale image, and is handled using detection edge algorithms, obtain third round Exterior feature figure;
Step 9:The corresponding long pixel value of foot is obtained by calculation in the picture that the step 8 obtains, according to the step The ratio of the length value of the length pixel value and practical rectangle object of reference of rapid eight obtained rectangle objects of reference, and then it is long to obtain foot Measurement data.
In order to further realize the present invention, the rectangle object of reference is A4 paper.
In order to further realize the present invention, the mark line of the step 2 is the folding of the short side middle line doubling with A4 paper Trace line.
In order to further realize the present invention, along the folding line line drawing straight line.
In order to further realize the present invention, the mobile phone photograph is taken pictures using dedicated cell phone application.
In order to further realize the present invention, the shooting page of the cell phone application, which is equipped with, displays bounding box and picks up inside casing, institute The cell phone application of taking pictures for stating APP intelligently limits the photo angle of measured by built-in gyroscope.
In order to further realize the present invention, before carrying out the step 6, the wide picture of the foot that the step 4 is obtained into Row median filter process.
In order to further realize the present invention, before carrying out the step 8, the long picture of the foot that the step 5 is obtained into Row median filter process.
In order to further realize the present invention, the step 4 and step 5 are obtained before carrying out step 6 or step 8 Picture reduce.
In order to further realize the present invention, calculated after the d1 step of the step 6 according to 4 vertex of rectangle object of reference The one the smallest rectangle that can surround 4 vertex out, the Partial Shear other than rectangle is fallen, the second wheel after being sheared Exterior feature figure;4 can be surrounded according to the calculating of 4 vertex of rectangle object of reference is one the smallest after the d2 step of the step 8 The rectangle on vertex falls the Partial Shear other than rectangle, the fourth contoured figure after being sheared.
Beneficial effects of the present invention:
1, the present invention passes through setting flag line and standardizes the position that foot when measuring of taking pictures is put, and is the accuracy of foot shape measurement Basis is provided;Angle control when passing through shooting reduces the operating error taken pictures;Photo angle is automatically controlled by gyroscope, is The shooting operation of photographer provides reference data and convenient, further decreases the operating error of shooting and reduces the operating time.
2, the background parts of picture and foreground part are split operation by image segmentation algorithm by the present invention, are then adopted Background parts color is become into black with shade processing and foreground part color is become into white, makes background parts and foreground portion The clear-cut divided is conducive to the accuracy that the search on object of reference part vertex calculates.
3, the present invention converts profile diagram for picture using detection edge algorithms, obtains the profile diagram of foot part, profile Figure is due to continuity, and profile diagram can remove other impurities, obtains the lines about the profile that foot is wide or foot is long, Result is further reduced into determination when scanning for calculating, improves computational accuracy.Compared to directly before being converted into profile diagram Picture on retrieve the foot type data of measurement, the accuracy of the foot type data calculated by profile diagram is higher.
4, the present invention need only a smart phone and an A4 paper can obtain and match accurately with large-scale or professional tool Foot data, solve the problems, such as that general purpose tool and other foot shape measurement methods are difficult to obtain accurate foot data, and it is measured Foot type data error be 1mm or so.
5, calculating process of the present invention is fully automated, without manual intervention.
6, ordinary people according to this method can simple operations, and it is convenient to draw materials, need only a smart phone and an A4 paper Accurate foot type data can be obtained.
7, in the present invention, every group of foot data of acquisition, which precisely match with the shoes of the different brands of cooperation, to be pushed away It recommends, makes everyone that can buy the shoes to fit on the net, correspondingly, the accuracy rate of online purchase shoes can be improved, promote user's body It tests, more people is allowed to dare to reduce return of goods rate in purchase shoes on the net;In addition, can also reduce the incidence of pedopathy, the body for being conducive to people is strong Health.
8, the present invention is conducive to the collection of China's foot type data and perfect.
Detailed description of the invention
Fig. 1 is that the present embodiment measures the wide shooting picture of foot;
Fig. 2 is that the present embodiment measures the long shooting picture of foot;
Fig. 3 is that Fig. 1 passes through filtered picture;
Fig. 4 is the first processing figure of Fig. 3 after treatment;
Fig. 5 is the picture for showing A4 paper part in Fig. 4 after shade processing;
Fig. 6 is that Fig. 5 is converted to grayscale image and with the first profile figure after Canny algorithm process;
Fig. 7 is the second profile diagram of A4 paper part of the Fig. 6 after shearing;
Fig. 8 is that Fig. 2 passes through filtered picture;
Fig. 9 is the second processing figure of Fig. 8 after treatment;
Figure 10 is the picture for showing A4 paper part in Fig. 9 after shade processing;
Figure 11 is that Figure 10 is converted to grayscale image and with the third profile diagram after Canny algorithm process;
Figure 12 is the fourth contoured figure of A4 paper part of the Figure 11 after shearing;
Figure 13 is the reference axis schematic diagram of figure mobile phone setting.
Specific embodiment
The present invention is further elaborated below with reference to Fig. 1 to Figure 13.
It is designed the present invention is based on the basic image-forming principle of image, i.e., material object is proportional diminution and amplification to photograph , the size of two pictures in kind of (photograph) is consistent after two sizes and imaging in kind.
Using the method for mobile phone photograph measurement foot type data, include the following steps:
Step 1:Prepare rectangle object of reference and mobile phone.
Step 2:The setting flag line on the midline position of the short side of the rectangle object of reference.
Step 3:The rectangle object of reference is lain in horizontal support surface, the heel center of measured and middle toe It is placed on mark line, guarantees that entire foot is in the center (as shown in Figure 1) of object of reference.
Step 4:It is taken pictures right above instep using mobile phone with level angle, guarantees displaying bounding box square for mobile phone photograph Shape object of reference all standing obtains the wide picture of foot.
Step 5:It is taken pictures using mobile phone in foot side, guarantees displaying bounding box rectangle object of reference all standing for mobile phone photograph, Adjustment mobile phone angle make mobile phone x-axis and ground angle it is substantially at 45 ° (allow 45 ° of tolerances of the angle, can be 43 ° ~47 °), and keep the y-axis of mobile phone parallel to the ground, obtain the long picture of foot;
Step 6:The picture that step 4 obtains is carried out the following processing and (is paid attention to:Rectangle object of reference part in step 6 is equal It is expressed as the rectangle object of reference part in the wide picture of foot that step 4 obtains):
A1. picture is handled using image segmentation algorithm, foreground part is separated with background parts, foreground part is the wide figure of foot The rectangle object of reference part of piece, is set as black for the color of the background parts, and the color of the foreground part is set as white, Obtain the first processing figure (as shown in Figure 4);
B1. four vertex (i.e. A, B, C, D in Fig. 1 in the first processing figure on the angle of rectangle object of reference part four are calculated Point) coordinate value.
C1. the pixel extraction of foreground part is come out, the rectangle object of reference part in display the first processing figure is (such as Fig. 5 institute Show);
D1. the resulting picture of c1 step is converted into grayscale image, and is handled using detection edge algorithms, obtain first Profile diagram (as shown in Figure 6);
Step 7:The corresponding wide pixel value of foot is obtained by calculation in the picture that step 6 is obtained, and is obtained according to step 6 Rectangle object of reference width pixel value and practical rectangle object of reference width numerical value ratio, and then the wide survey of foot is calculated Measure data;
Step 8:The picture that step 5 obtains is carried out the following processing and (is paid attention to:Rectangle object of reference part in step 8 is equal It is expressed as the rectangle object of reference part in the long picture of foot that step 5 obtains):
A2. picture is handled using image segmentation algorithm, by prospect and background separation, foreground part is the rectangle of the long picture of foot The color of the background parts is set as black by object of reference part, and the color of the foreground part is set as white, obtains second Processing figure (as shown in Figure 9);
B2. four vertex (i.e. A, B, C, D in Fig. 1 in second processing figure on the angle of rectangle object of reference part four are calculated Point) coordinate value.
C2. the pixel extraction of foreground part is come out, shows the rectangle object of reference part in second processing figure (such as Figure 10 institute Show);
D2. the resulting figure of c2 step is converted into grayscale image, and is handled using detection edge algorithms, obtain third round Exterior feature figure (as shown in figure 11);
Step 9:The corresponding long pixel value of foot is obtained by calculation in the picture that step 8 is obtained, and is obtained according to step 8 Rectangle object of reference length pixel value and practical rectangle object of reference length value ratio, and then be calculated foot grow survey Measure data.
Wherein, it is taken pictures by mobile phone photograph using dedicated cell phone application, cell phone application passes through built-in gyroscope Intelligence limits the photo angle of measured, further makes photographer's more convenient operation.Picture of the present invention in the long measurement of shooting foot When, it needs the photographer in addition to measured and takes pictures, not so it cannot be guaranteed that the standard of the long data of foot measured by the photo taken True property.
Further, as shown in figure 3, obtaining step 4 and step 5 before carrying out step 6 and step 8 Photo be loaded into matrix respectively and carry out median filter process, so that photo is become more smooth, when being conducive to subsequent processing picture The interference being subject to tails off, and improves the accuracy for surveying the wide data of foot.
Further, it is reduced to make to transport the shape time, it can be after the d1 step of step 6 according to 4 vertex of rectangle object of reference The one the smallest rectangle that can surround 4 vertex is calculated, the Partial Shear other than rectangle is fallen, second after being sheared Profile diagram (as shown in Figure 7);The corresponding wide pixel value of foot is obtained by calculation in second profile diagram, according to the width of rectangle object of reference The ratio of the width numerical value of pixel value and practical rectangle object of reference is spent, and then obtains the wide measurement data of foot.
It further, can be after the d2 step of step 8 according to 4 vertex of rectangle object of reference to reduce runing time The one the smallest rectangle that can surround 4 vertex is calculated, the Partial Shear other than rectangle is fallen, the after being sheared the 4th Profile diagram (as shown in figure 12);The corresponding wide pixel value of foot is obtained by calculation in fourth contoured figure, according to rectangle object of reference The ratio of the width numerical value of width pixel value and practical rectangle object of reference, and then obtain the wide measurement data of foot.
It further, is the runing time for shortening image segmentation algorithm, the picture that step 4 and step 5 are obtained reduces, One times or more times can be reduced, but needs to guarantee the accuracy of the final calculating foot type data of picture.
The present invention can be used any regular object for having determining size and can surrounding foot as object of reference, and object of reference is Can be preferably the rectangle object of reference for determining size for rectangle object of reference or round object of reference, object of reference, be easy to operate and Make to measure more acurrate, the setting flag line on the short side midline position of rectangular object of reference.Preferably, in the present embodiment, A4 is used Paper object as a comparative reference, A4 paper is relatively universal common, and materials are convenient, easy to operate, and A4 paper is white, is conducive to picture Pickup and operation when processing;A4 paper is using the crease line that short side middle line is folded to form as mark line, it may be determined that the position of foot is put, The error for reducing manual operation can put foot as benchmark according to crease line when measured measures foot, at this point, when putting foot, according to It is placed on crease line according to heel center and middle toe, keeps the entirety of foot substantially parallel with the long side of paper, smaller error, from basis On keep the measurement data of foot more accurate.It, can line straight line along the crease in addition, to keep crease line clearer.
In the present embodiment, measurement of taking pictures is carried out using dedicated cell phone application, is equipped with gyroscope, mobile phone in cell phone application The shooting page of APP is equipped with and displays bounding box and pick up inside casing.
In the wide picture of the foot of the wide data needs of measurement foot, the gyroscope in cell phone application gets mobile phone according to Figure 13 points The x-axis for the reference axis matched is controlled in app using x-axis with the angle-data on y-axis and ground with the angle-data of y-axis and ground The position of dot and color, adjustment mobile phone angle keep x-axis all parallel to the ground with y-axis, at this time the center green dot of mobile phone into Enter center, entire outline border and center become green, and photographer holds steadily mobile phone as far as possible, shoot photo.In addition, mobile phone displays bounding box Wherein a line as far as possible with a line keeping parallelism of A4 paper, to guarantee the accuracy of the wide data of foot.
In the long picture of the foot of the long data needs of measurement foot, center of gravity is more steady when to make shooting, and another foot should be than tested foot (as shown in Figure 2) slightly before.Cell phone application gets mobile phone according to the x-axis of Fig. 1 reference axis distributed with y-axis and ground using gyroscope The angle-data in face, position and color using x-axis with the dot in the angle-data on y-axis and ground control app, adjusts mobile phone Angle makes the angle on x-axis and ground at 45 degree or so or -45 degree left and right, and keeps y-axis parallel to the ground, at this time screen center Dot enters center greening, entire outline border also greening when, shoot photo.The wherein a line of mobile phone to display bounding box is most The a line keeping parallelism of amount and A4 paper, to guarantee the accuracy of the long data of foot.
If no above-mentioned intelligent-induction when taking pictures, when shooting the picture that foot is wide and foot is long, photographer, which is manually operated, to be held Error is easily caused, needs to judge to shoot by sense organ, when shooting, possible manpower will shake, or be that judgement is inaccurate, Cause error.By the automatic sensing of gyroscope, the more convenient operation of photographer can be made, meanwhile, keep measurement more accurate.
After mobile phone shoots the picture that foot is wide and foot is long, picture is handled by cell phone application internal algorithm.
Some lines are serrated and are unevenly distributed after being come out due to photograph taking, are unfavorable for survey calculation, therefore this So that photo is become more smooth by median filter process in picture in embodiment, is conducive to lines and picks up and make to calculate more Accurately.
Photo after smoothing processing is handled using image segmentation algorithm, is done to A4 paper part and the background except A4 paper Segmentation, A4 paper part are foreground part, obtain that foreground part in a corresponding original image is set as white, background parts are set as black Mask figure is conducive to color differentiation, looks for four vertex can be simpler using mask figure to subsequent.It should be noted that hiding Cover figure is an other figure, does not change the pixel setting of original image.In addition, the runing time due to image segmentation algorithm is longer, To shorten runing time, picture can be reduced one times.There are many image segmentation algorithms, including watershed, grabcut, k- Means, Otsu's Segmentation, Mumford-Shah, Active Contour, in the present embodiment, it is preferable that use Grabcut algorithm.
In measurement detection, due to the interference of background parts and foreground part color, correspondingly, foreground part, that is, A4 paper portion The bad determination in position on the vertex at four angles divided, if directly calculating the coordinate value on four vertex, the value on four vertex is held Easily bounce and inaccuracy, the final accuracy for influencing foot shape measurement.By by the color of background parts be set as black and will before The color of scape part is set as white, makes the clear-cut of background parts and foreground part, when detecting calculating, the four of A4 paper part A vertex is easier and is accurately found to come, and the coordinate value on four vertex of resulting A4 paper part will be more acurrate.
Behind 4 vertex for calculating A4 paper, the pixel of foreground part is extracted by shade processing, shade processing refers to and will hide The white portion hollow out of cover figure simultaneously shows capped foreground part (being A4 paper part) that emphasis handles A4 paper part, this When include black background parts.To keep runing time shorter and not influencing data distortion, grayscale image is converted by picture, is used It detects edge algorithms and edge detection is carried out to A4 paper part, obtain the profile diagram that A4 paper part includes foot.Detection edge algorithms have It is a variety of, including Roberts, Prewitt, Sobel, LoG, Canny, Laplacian, in the present embodiment, it is preferable that use Canny algorithm.
Since entire picture is larger, and required measurement portion is divided into A4 paper part, to shorten operation time, by with front 4 vertex of A4 paper calculate the one the smallest rectangle shape that can encase 4 vertex, and the part other than rectangle is removed, and stay The profile diagram of the lower rectangle for surrounding A4 paper part.
Finally the profile diagram of A4 paper part is scanned for calculating, respectively obtains the pixel Value Data that foot is wide and foot is long, into And the measurement data that foot is wide and foot is long is calculated.
The foot type data measured by means of the present invention, error are 1mm or so.As shown in Figure 1, side through the invention Method measures the width P of A4 paperabPixel value be 1427, the wide P of footefPixel value be 717, pass through formula:EF=(AB*Pef)/ Pab, it can show that the measurement data of the wide EF of foot is 105mm, and the wide data of practical foot of measurement object are 104mm, the wide measurement of foot Error is 1mm or so;As shown in Fig. 2, measuring an edge lengths P of A4 paper by means of the present inventionadPixel value be 2183, separately One edge lengths PbcPixel value be 1757, the wide P of footghPixel value be 1676, pass through formula:GH=((AD+BC)/2*Pgh)/ (Pad+Pbc)/2), it can show that the measurement data of the wide GH of foot is 253mm, and the wide data of practical foot of measurement object are 254mm, foot Wide measurement error is 1mm or so.
The accuracy of foot type to illustrate the invention, the following are the comparisons of real data:
Above foot type data and size matching list are must step the sizes of shoes as an example, recommendation ruler through the invention Code, the real comparison for wearing size and foot guage size, can obtain:Recommendation size of the invention and real size of wearing are almost the same, and foot-measuring Device size has large error compared with wearing size in fact, and the foot type data difference that foot guage and cell phone application measure is larger, and of the invention It wears that size is almost the same with real by the resulting recommendation size of the foot type data measured, illustrates foot type data that the present invention measures more It is accurate to add.
The present invention can be effectively wide corresponding with stick length with shoe tree half sole width, foot length foot, in conjunction with shoes Structure, material, can be effectively certain opposite shoes that fit of group some brand of foot data recommendation.
The foregoing is merely better embodiments of the invention, and the invention is not limited to above embodiment, are implementing The structural modification small there may be part in the process, if various changes or modifications of the invention are not departed from essence of the invention Mind and range, and belong within the scope of claim and equivalent technologies of the invention, then the present invention is also intended to encompass these changes And modification.

Claims (10)

1. a kind of method using mobile phone photograph measurement foot type data, it is characterised in that:Include the following steps:
Step 1:Prepare rectangle object of reference and mobile phone;
Step 2:The setting flag line on the midline position of the short side of the rectangle object of reference;
Step 3:The rectangle object of reference is lain in horizontal support surface, heel center and the middle toe of measured is placed on On mark line, guarantee that entire foot is in the center of object of reference;
Step 4:It is taken pictures right above instep using mobile phone with level angle, guarantees that displaying bounding box for mobile phone photograph joins rectangle According to object all standing, the wide picture of foot is obtained;
Step 5:It is taken pictures using mobile phone in foot side, guarantees displaying bounding box rectangle object of reference all standing, adjustment for mobile phone photograph Mobile phone angle make mobile phone x-axis and ground angle it is substantially at 45 °, and keep the y-axis of mobile phone parallel to the ground, obtain the long figure of foot Piece;
Step 6:The wide picture of foot that the step 4 obtains is carried out the following processing:
A1. picture is handled using image segmentation algorithm, foreground part is separated with background parts, the foreground part is the foot The rectangle object of reference part of wide picture, is set as black for the color of the background parts, the color of the foreground part is set as White obtains the first processing figure;
B1. the coordinate value on four vertex in the first processing figure on the angle of rectangle object of reference part four is calculated;
C1. the pixel extraction of foreground part is come out, shows the rectangle object of reference part in the first processing figure;
D1. the resulting picture of c1 step is converted into grayscale image, and is handled using detection edge algorithms, obtain first profile Figure;
Step 7:The corresponding wide pixel value of foot is obtained by calculation in the picture that the step 6 obtains, according to the step 6 institute The ratio of the width numerical value of the width pixel value and practical rectangle object of reference of the rectangle object of reference part obtained, and then it is wide to obtain foot Measurement data;
Step 8:The long picture of foot that the step 5 obtains is carried out the following processing:
A2. picture is handled using image segmentation algorithm, by prospect and background separation, the foreground part is the long picture of the foot The color of the background parts is set as black by rectangle object of reference part, and the color of the foreground part is set as white, is obtained Second processing figure;
B2. the coordinate value on four vertex in the second processing figure on the angle of rectangle object of reference part four is calculated;
C2. the pixel extraction of foreground part is come out, shows the rectangle object of reference part in the second processing figure;
D2. the resulting figure of c2 step is converted into grayscale image, and is handled using detection edge algorithms, obtain third profile Figure;
Step 9:The corresponding long pixel value of foot is obtained by calculation in the picture that the step 8 obtains, according to the step 8 The ratio of the length value of the length pixel value of obtained rectangle object of reference and practical rectangle object of reference, and then obtain the long survey of foot Measure data.
2. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:The rectangle ginseng It is A4 paper according to object.
3. the method according to claim 2 using mobile phone photograph measurement foot type data, it is characterised in that:The step 2 Mark line be the short side middle line doubling with A4 paper crease line.
4. the method according to claim 3 using mobile phone photograph measurement foot type data, it is characterised in that:Along the folding line Line drawing straight line.
5. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:The mobile phone is clapped According to using dedicated cell phone application to take pictures.
6. the method according to claim 5 using mobile phone photograph measurement foot type data, it is characterised in that:The mobile phone The shooting page of APP, which is equipped with, displays bounding box and picks up inside casing, and the cell phone application of taking pictures of the APP passes through built-in gyro Instrument intelligently limits the photo angle of measured.
7. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:Progress described in Before step 6, the wide picture of the foot that the step 4 is obtained carries out median filter process.
8. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:Progress described in Before step 8, the long picture of the foot that the step 5 is obtained carries out median filter process.
9. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:Carrying out step Six or step 8 before the picture that obtains the step 4 and step 5 reduce.
10. the method according to claim 1 using mobile phone photograph measurement foot type data, it is characterised in that:In the step The one the smallest rectangle that can surround 4 vertex is calculated according to 4 vertex of rectangle object of reference after rapid six d1 step, it will Partial Shear other than rectangle falls, the second profile diagram after being sheared;Joined after the d2 step of the step 8 according to rectangle The one the smallest rectangle that can surround 4 vertex is calculated according to 4 vertex of object, the Partial Shear other than rectangle is fallen, is obtained Fourth contoured figure after to shearing.
CN201810373875.4A 2018-04-24 2018-04-24 Utilize the method for mobile phone photograph measurement foot type data Pending CN108813812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810373875.4A CN108813812A (en) 2018-04-24 2018-04-24 Utilize the method for mobile phone photograph measurement foot type data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810373875.4A CN108813812A (en) 2018-04-24 2018-04-24 Utilize the method for mobile phone photograph measurement foot type data

Publications (1)

Publication Number Publication Date
CN108813812A true CN108813812A (en) 2018-11-16

Family

ID=64154884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810373875.4A Pending CN108813812A (en) 2018-04-24 2018-04-24 Utilize the method for mobile phone photograph measurement foot type data

Country Status (1)

Country Link
CN (1) CN108813812A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657680A (en) * 2018-12-27 2019-04-19 深圳码隆科技有限公司 Image of clothing image pickup method, device and computer equipment
CN112801995A (en) * 2021-02-05 2021-05-14 重庆小爱科技有限公司 Customized manufacturing method for shoes
CN115281654A (en) * 2022-07-13 2022-11-04 全适智选(广州)科技有限公司 Physical sign data acquisition method and device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201252878Y (en) * 2008-08-25 2009-06-10 陕西科技大学 Foot shape measurement device
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
US20130132038A1 (en) * 2011-11-18 2013-05-23 Nike, Inc. Automated 3-D Modeling Of Shoe Parts
CN103471523A (en) * 2013-09-30 2013-12-25 北京林业大学 Method for detecting profile phenotype of arabidopsis
CN104202531A (en) * 2014-09-23 2014-12-10 广东欧珀移动通信有限公司 Method for aerial shooting and photographing of mobile phone
CN104732527A (en) * 2015-02-16 2015-06-24 陈萌 Method and device for identifying foot information
CN104720192A (en) * 2015-02-16 2015-06-24 陈萌 Shoe size information detecting method and device
CN105430284A (en) * 2015-12-30 2016-03-23 魅族科技(中国)有限公司 Control method of photographing view-finding frame and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201252878Y (en) * 2008-08-25 2009-06-10 陕西科技大学 Foot shape measurement device
US20130132038A1 (en) * 2011-11-18 2013-05-23 Nike, Inc. Automated 3-D Modeling Of Shoe Parts
CN102724402A (en) * 2012-06-08 2012-10-10 中兴通讯股份有限公司 Shooting device as well as processing method and processing device of shooting image
CN103471523A (en) * 2013-09-30 2013-12-25 北京林业大学 Method for detecting profile phenotype of arabidopsis
CN104202531A (en) * 2014-09-23 2014-12-10 广东欧珀移动通信有限公司 Method for aerial shooting and photographing of mobile phone
CN104732527A (en) * 2015-02-16 2015-06-24 陈萌 Method and device for identifying foot information
CN104720192A (en) * 2015-02-16 2015-06-24 陈萌 Shoe size information detecting method and device
CN105430284A (en) * 2015-12-30 2016-03-23 魅族科技(中国)有限公司 Control method of photographing view-finding frame and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657680A (en) * 2018-12-27 2019-04-19 深圳码隆科技有限公司 Image of clothing image pickup method, device and computer equipment
CN112801995A (en) * 2021-02-05 2021-05-14 重庆小爱科技有限公司 Customized manufacturing method for shoes
CN115281654A (en) * 2022-07-13 2022-11-04 全适智选(广州)科技有限公司 Physical sign data acquisition method and device and storage medium

Similar Documents

Publication Publication Date Title
US10008040B2 (en) Method and system for virtual shoes fitting
US20220202138A1 (en) Foot Measuring and Sizing Application
US10013803B2 (en) System and method of 3D modeling and virtual fitting of 3D objects
Tao et al. Segmenting tree crowns from terrestrial and mobile LiDAR data by exploring ecological theories
CN108813812A (en) Utilize the method for mobile phone photograph measurement foot type data
CN103646408B (en) A kind of data of the people's pin key position based on image are extracted and measuring method
US7751606B2 (en) Tooth locating within dental images
CN102047291B (en) Edge extraction apparatus, surveying equipment, and program
CN104246813B (en) Clothing image processing system and method
CN102506772A (en) Method and device for quickly detecting area of leaf blade based on mobile phone
CN107851328A (en) For the method and system for recommending to be adapted to footwear
US20200364935A1 (en) Method For Calculating The Comfort Level Of Footwear
CN110751716B (en) Virtual shoe test method based on single-view RGBD sensor
CN109330106B (en) Foot code size measuring method based on mobile phone photographing
CN115375842A (en) Plant three-dimensional reconstruction method, terminal and storage medium
CN109191520A (en) A kind of Measurement Approach of Leaf Area and system based on color calibration
CN107084672A (en) An image acquisition device, system and method for tree diameter measurement
CN108872140A (en) A kind of method and device of open air monitoring jujube quality
US9648304B2 (en) Image pickup method and photographing device
CN110866975A (en) Rape image acquisition device and three-dimensional feature extraction method based on multi-eye vision
CN108805138A (en) A kind of method that mobile phone photograph calculates foot's data
CN110766738B (en) Virtual shoe test method based on multi-view depth sensor
US20180096490A1 (en) Method for determining anthropometric measurements of person
JP2012208046A (en) Plant species identification method and plant species identification device
Abadi et al. Digital image processing for height measurement application based on python OpenCV and regression analysis

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

Application publication date: 20181116

RJ01 Rejection of invention patent application after publication