CN109710148A - Selection method, device, computer equipment and the storage medium of image labeling frame - Google Patents

Selection method, device, computer equipment and the storage medium of image labeling frame Download PDF

Info

Publication number
CN109710148A
CN109710148A CN201811556011.2A CN201811556011A CN109710148A CN 109710148 A CN109710148 A CN 109710148A CN 201811556011 A CN201811556011 A CN 201811556011A CN 109710148 A CN109710148 A CN 109710148A
Authority
CN
China
Prior art keywords
callout box
alternative
box
callout
target
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
CN201811556011.2A
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 Weride Technology Co Ltd
Original Assignee
Guangzhou Weride Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Weride Technology Co Ltd filed Critical Guangzhou Weride Technology Co Ltd
Priority to CN201811556011.2A priority Critical patent/CN109710148A/en
Publication of CN109710148A publication Critical patent/CN109710148A/en
Pending legal-status Critical Current

Links

Abstract

This application involves selection method, device, computer equipment and the storage medium of a kind of image labeling frame, computer equipment is by obtaining the position of mobile object in the picture;Then the position according to mobile object in the picture obtains at least one alternative callout box comprising above-mentioned position from the callout box of image;Then according to the area of at least one alternative callout box, the selection target callout box from least one alternative callout box.The efficiency of selection of image labeling frame can be promoted by the above method.

Description

Selection method, device, computer equipment and the storage medium of image labeling frame
Technical field
The present invention relates to field of image processings, selection method, device, computer more particularly to a kind of image labeling frame Equipment and storage medium.
Background technique
With deepening continuously for unmanned technical research, deep learning algorithm obtains widely in unmanned field Using moreover, deep learning model usually needs the image for largely containing markup information as training sample.In research process In, after being labeled to the object in sample image, it is also necessary to markup information is added to the object in above-mentioned callout box, for example, The callout box of the traffic lights in the road image to acquisition is needed to add the markup informations such as color.It is past when adding markup information It partly overlaps toward the multiple callout box of appearance or completely overlapped, some callout box is caused to be not easy to be selected.
In the conventional technology, the selection method of callout box is mainly and passes through to obtain matching for the input equipments such as mouse and keyboard It closes, Lai Shoudong chooses callout box.
But cause the efficiency of selection of image labeling frame not high using the above method.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide selection method, the device, calculating of a kind of image labeling frame Machine equipment and storage medium.
A kind of selection method of image labeling frame, which comprises
Obtain the position of mobile object in the picture;
According to the position of the mobile object in the picture, obtain from the callout box of described image comprising the position At least one alternative callout box;
According to the area of at least one alternative callout box, the selection target mark from least one described alternative callout box Infuse frame.
The area of at least one alternative callout box according in one of the embodiments, from described at least one Selection target callout box in a alternative callout box, comprising:
Calculate the area value of at least one alternative callout box;
Determine that the corresponding alternative callout box of the smallest area value is the target callout box.
The area value of at least one alternative callout box described in the calculating in one of the embodiments, comprising:
Obtain the size of pixel in described image;
Obtain number of pixels included in the alternative callout box area defined;
The product of the number of pixels and the size of the pixel is determined as to the area value of the alternative callout box.
The corresponding alternative callout box of the smallest area value of the determination is target mark in one of the embodiments, Frame, comprising:
If the corresponding at least two alternative callout box of the smallest area value, it is determined that at least two alternative callout box Position it is whether identical;
If so, be an alternative callout box by least two alternative callout box processing, and by one alternative mark Frame is determined as target callout box.
In one of the embodiments, the method also includes:
If the position of at least two alternative callout box is different, indicate that the mobile object changes the mobile object Position in described image;
According to the position of change, at least one for obtaining the position comprising the change from the callout box of described image is standby Callout box, and the area of at least one alternative callout box according to the position comprising the change are selected, from including the change New target callout box is selected in the alternative callout box of at least one of position.
In one of the embodiments, the method also includes:
After the target callout box and the markup information of input are bound, the target callout box is hidden.
In one of the embodiments, after the area value of at least one alternative callout box described in the calculating, the side Method further include:
The size being worth according to area is ranked up at least one described alternative callout box;
Correspondingly, it is described hide the target callout box after, the method also includes:
According to putting in order at least one alternative callout box, successively by remaining each alternative callout box with it is corresponding Markup information binding, and successively hide binding after alternative callout box.
A kind of selection device of callout box, described device include:
First obtains module, for obtaining the position of mobile object in the picture;
Second obtains module, for the position according to the mobile object in the picture, from the callout box of described image Obtain at least one alternative callout box comprising the position;
Selecting module, for the area according at least one alternative callout box, from least one described alternative mark Selection target callout box in frame.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device realizes the step of selection method of above-mentioned image labeling frame when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of selection method of above-mentioned image labeling frame is realized when row.
Selection method, device, computer equipment and the storage medium of above-mentioned image labeling frame, computer equipment pass through acquisition The position of mobile object in the picture;Then the position according to mobile object in the picture obtains packet from the callout box of image At least one alternative callout box containing above-mentioned position;Then standby from least one according to the area of at least one alternative callout box Select selection target callout box in callout box.Since according to the position acquisition of mobile object, at least one alternative is marked computer equipment Frame is infused, then a target callout box can be chosen according to the area of alternative callout box automatically, allows mark personnel direct Markup information is inputted in above-mentioned target callout box, without being selected by equipment such as mouse, keyboards to callout box, Greatly improve the efficiency of selection of image labeling frame.
Detailed description of the invention
Fig. 1 is the applied environment figure of the selection method of image labeling frame in one embodiment;
Fig. 2 is the flow diagram of the selection method of image labeling frame in one embodiment;
Fig. 3 is the flow diagram of the selection method of image labeling frame in another embodiment;
Fig. 4 is the flow diagram of the selection method of image labeling frame in another embodiment;
Fig. 5 is the flow diagram of the selection method of image labeling frame in another embodiment;
Fig. 6 is the structural block diagram of the selection device of image labeling frame in one embodiment;
Fig. 7 is the structural block diagram of the selection device of image labeling frame in another embodiment;
Fig. 8 is the structural block diagram of the selection device of image labeling frame in another embodiment;
Fig. 9 is the structural block diagram of the selection device of image labeling frame in another embodiment;
Figure 10 is the structural block diagram of the selection device of image labeling frame in another embodiment;
Figure 11 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
The selection method of image labeling frame provided by the embodiments of the present application, can be applied to application environment as shown in Figure 1 In.Wherein, computer equipment 120 selects the callout box 110 in image, above-mentioned computer equipment 120 can with but it is unlimited Then various personal computers, laptop, smart phone and tablet computer etc..
In one embodiment, it as shown in Fig. 2, providing a kind of selection method of image labeling frame, applies in this way It is illustrated for computer equipment in Fig. 1, the above method includes:
S101, the position of mobile object in the picture is obtained.
Wherein, above-mentioned mobile object, which refers to, can control its position by mobile mouse, laser pen or finger etc. Cursor or mouse symbol where object, such as image in screen etc..
Specifically, computer equipment can be by the coordinate of the above-mentioned mobile object point of acquisition, to obtain above-mentioned position; Computer equipment can be according to the existing coordinate system of above-mentioned image position, to obtain the position of mobile object;It can also be with According to the position of above-mentioned image, such as using picture centre as origin, coordinate system is re-established, to obtain the position of mobile object, The acquisition modes of above-mentioned position, it is not limited here.
S102, the position according to mobile object in the picture, obtaining from the callout box of image includes at least the one of position A alternative callout box.
Wherein, the callout box in above-mentioned image is used to mark the object in above-mentioned image, allows mark personnel upper State the markup informations such as the attribute that object is inputted in callout box;In above-mentioned image include at least one callout box, wherein it is above-mentioned at least One callout box can be overlapped, and be also possible in larger-size callout box comprising the lesser callout box of at least one size;Separately Outside, above-mentioned callout box can be located at the different mark layers in image, can also be located at the same mark layer;For above-mentioned mark The concrete form of frame is it is not limited here.
Computer equipment can further obtain the mark of image after obtaining the position of mobile object in the picture The band of position of frame, so as to according to the position of above-mentioned mobile object and the above-mentioned band of position, to determine above-mentioned callout box Whether the band of position contains the position of above-mentioned mobile object, if comprising then computer equipment thinks the mobile object upper It states in callout box, above-mentioned callout box can be determined as alternative callout box.
Specifically, all callout box on image can be resolved into multiple points by computer equipment, then, on obtaining The position of multiple points is stated, to be compared with the position of above-mentioned mobile object, to determine whether above-mentioned callout box contains movement Then the callout box for containing the position of mobile object is determined as alternative callout box by the position of object;In addition, computer is set It is standby the position of each point in callout box area defined to be obtained, then according to above-mentioned shifting according to above-mentioned callout box The position of each point in the position and above-mentioned zone of dynamic object, to determine whether above-mentioned callout box contains the position of mobile object It sets, then obtains alternative callout box;For the acquisition modes of above-mentioned alternative callout box, it is not limited here.
S103, according to the area of at least one alternative callout box, selection target marks from least one alternative callout box Frame.
Specifically, computer equipment can choose when carrying out selection target callout box according to the area of above-mentioned alternative callout box The maximum alternative callout box of area is target callout box, and can also select the smallest alternative callout box of area is target callout box;It is right In above-mentioned target callout box selection mode it is not limited here.
The selection method of above-mentioned image labeling frame, computer equipment is by obtaining the position of mobile object in the picture;So Position according to mobile object in the picture afterwards obtains at least one alternative mark comprising above-mentioned position from the callout box of image Infuse frame;Then according to the area of at least one alternative callout box, the selection target callout box from least one alternative callout box.By It, then can be according to alternative callout box in computer equipment according at least one alternative callout box of the position acquisition of mobile object Area choose a target callout box automatically, allow mark personnel input directly in above-mentioned target callout box mark believe Breath greatly improves the selection effect of image labeling frame without selecting by equipment such as mouse, keyboards to callout box Rate.
Fig. 3 is the flow diagram of the selection method of image labeling frame in another embodiment, and the present embodiment is related to calculating Machine equipment how according to the area of alternative callout box come the process of selection target callout box, as shown in figure 3, in above-described embodiment On the basis of, above-mentioned S103 includes:
S201, the area value for calculating at least one alternative callout box.
Computer equipment when carrying out selection target callout box, can be obtained first according to the area of at least one alternative callout box The area value of above-mentioned alternative callout box.Specifically, alternative callout box can be approximately multiple rectangles by computer equipment, then Rectangular length and width after obtaining above-mentioned approximation, to calculate above-mentioned area value;In addition, computer equipment can also will be above-mentioned Alternative callout box area defined, is divided into the grid of multiple unit areas, then according to the number of above-mentioned grid, to calculate Above-mentioned area value.For the calculation method of the area value of above-mentioned alternative callout box, it is not limited here.
S202, determine that the corresponding alternative callout box of the smallest area value is target callout box.
Computer equipment, can be by area value on the basis of obtaining the area value of at least one above-mentioned alternative callout box The smallest alternative callout box is determined as target callout box.Specifically, computer equipment is when obtaining the smallest area value, Ke Yitong It crosses and is ranked up multiple area values, determine which area value is the smallest area value by above-mentioned ranking results;In addition, Computer equipment can also be compared two-by-two, be determined most by above-mentioned comparison to the area value of different alternative callout box Small area value;The determination mode of above-mentioned minimal face product value, it is not limited here.
Then the selection method of above-mentioned image labeling frame, computer equipment will by the area value of the alternative callout box of calculating The corresponding alternative callout box of the smallest area value is determined as target callout box, can quickly determine out which alternative callout box is Target callout box improves the efficiency of selection of image labeling frame.
Fig. 4 is the flow diagram of the selection method of image labeling frame in another embodiment, and the present embodiment is related to calculating Machine equipment calculates a kind of calculation of the area value of alternative callout box, as shown in figure 4, on the basis of the above embodiments, on Stating S201 includes:
S301, the size for obtaining pixel in image.
Wherein, above-mentioned pixel refers to the minimum unit in image, computer equipment can according to the resolution ratio of above-mentioned image, To obtain the size of pixel in image;For example, the resolution ratio of above-mentioned image can be 72, i.e. per inch pixel is 72,1 English It is very little to be equal to 2.54 centimetres, then by converting it can be concluded that per cm be equal to 28 pixels, and then can calculate each pixel Size.
S302, number of pixels included in alternative callout box area defined is obtained.
Specifically, the region that computer equipment can be encircled a city based on above-mentioned alternative callout box, then according to the region The bianry image for protruding the region is obtained, and the number in above-mentioned bianry image is added up, above-mentioned zone institute can be obtained The number of pixels for including.
S303, the area value that the product of the size of number of pixels and pixel is determined as to alternative callout box.
After obtaining the size of above-mentioned number of pixels and above-mentioned pixel, computer equipment can be by number of pixels and picture The product of the size of element is determined as the area value of alternative callout box.
The selection method of above-mentioned image labeling frame, computer equipment according to the number of pixels of callout box area defined come The area value for obtaining callout box, can make the calculating of above-mentioned area value more acurrate, allow computer equipment more accurately root According to area value, carry out selection target callout box.
Fig. 5 is the flow diagram of the selection method of image labeling frame in another embodiment, and the present embodiment is related to calculating Machine equipment determines a kind of mode of target callout box, and on the basis of the above embodiments, above-mentioned S202 includes:
If S401, the smallest area value correspond at least two alternative callout box, it is determined that at least two alternative callout box Whether position is identical.
Computer equipment is when according to above-mentioned area value to determine the smallest area value, if the smallest area value is corresponding standby Callout box more than one is selected, then computer equipment needs to further determine that the identical at least two alternative frame of above-mentioned area value Whether position is identical, then according to the position comparison result of at least two alternative callout box, further to determine target mark Infuse frame.
Specifically, computer equipment, can be alternative from one of them when whether the position for judging two callout box is identical In callout box, randomly choose the coordinate of multiple points, then judge above-mentioned multiple points whether in another alternative callout box, if It is, then computer equipment can consider that the position of the two alternative callout box is identical;If there are one in above-mentioned multiple points Point is not in another alternative callout box, then computer equipment thinks that the position of the two alternative callout box is different.According to upper Judgment method is stated, computer equipment may determine that whether the position of above-mentioned at least two alternative callout box is identical.
S402, if so, be an alternative callout box by least two alternative callout box processing, and by an alternative mark Frame is determined as target callout box.
Computer equipment when the position for determining the corresponding at least two alternative callout box of minimal face product value is identical, then Computer equipment think the size of above-mentioned at least two callout box and the position of callout box be all it is identical, mark is figure Above-mentioned at least two alternative callout box processing can be an alternative callout box, for example, can incite somebody to action by the same object as in At least two alternative callout box merge, and form an alternative callout box, can also retain one of them alternative callout box, so Other alternative callout box are deleted afterwards;Further, the alternative callout box of said one can be determined as mesh by computer equipment Mark callout box.
Further, after computer equipment determines that the position of above-mentioned at least two alternative callout box is different, can refer to Show the position of mobile object change mobile object in the picture;Then it according to the position of change, is obtained from the callout box of image The alternative callout box of at least one of position comprising change, and according at least one alternative callout box of the position comprising change Area selects new target callout box from least one alternative callout box of the position comprising change.
Specifically, after computer equipment determines that the position of the identical at least two alternative callout box of area value is different, Above-mentioned at least two alternative callout box can have the region and nonoverlapping region of overlapping, and computer equipment can indicate move The position of dynamic object is altered to above-mentioned nonoverlapping region, then reacquires the position of above-mentioned mobile object change, then root The alternative callout box for the position for containing the change, the alternative mark of the position of above-mentioned change are obtained according to the position of above-mentioned change In frame, one of them alternative callout box in the identical at least two alternative callout box of above-mentioned area value may include, then will The area of one of them above-mentioned alternative callout box, the area with the alternative callout box of reacquisition, to select new target to mark Frame.
The selection method of above-mentioned image labeling frame, computer equipment can be alternative in the smallest area value corresponding at least two When callout box, by further judging the position of alternative callout box, target callout box is more clearly selected.
In one of the embodiments, on the basis of the above embodiments, the above method further include: when target callout box with After the markup information binding of input, target callout box is hidden.
Specifically, above-mentioned target callout box can be supplied to mark after selecting target callout box by computer equipment Personnel input corresponding markup information in above-mentioned target callout box, and above-mentioned target callout box and above-mentioned markup information are carried out Binding;Then, the target callout box for having bound markup information can be hidden by computer equipment, so that only showing on image Need the callout box of selection.
In one of the embodiments, on the basis of the above embodiments, computer equipment is calculating at least one alternatively After the area value of callout box, the size that can also be worth according to area is ranked up at least one alternative callout box;Accordingly , after hiding target callout box, computer equipment can also putting in order according at least one alternative callout box, successively Remaining each alternative callout box is bound with corresponding markup information, and successively hides the alternative callout box after binding.
Specifically, computer equipment can according to the size of area value, by least one alternative callout box according to area from It is small to be ranked up to big sequence, then it is above-mentioned put in order in first callout box, that is, the smallest callout box of area is true It is set to first object callout box;Above-mentioned first object callout box can be highlighted by computer equipment, so that mark people Member can see first object callout box and input markup information in above-mentioned first object callout box, and computer equipment will be above-mentioned After first object callout box and markup information are bound, above-mentioned first object callout box is hidden;It is then possible to by upper Second alternative callout box in putting in order, that is, the alternative callout box that area time is small are stated, the second target mark is determined as Frame, and above-mentioned second target callout box is highlighted, then by above-mentioned second target callout box and mark personnel's input Markup information bound, further above-mentioned second target callout box is hidden;According to the method described above, computer is set It is standby to be successively hidden at least one above-mentioned alternative callout box.
The selection method of above-mentioned image labeling frame, computer equipment by hide target callout box, can make on image to The quantity of the callout box of selection is reduced, and further improves the efficiency of selection of image labeling frame;Further, by according to face Product size is ranked up at least one alternative callout box, at least one alternative callout box is successively determined as target callout box, And it is hidden;Therefore, the callout box for being located at bottom easily can be determined as target callout box by computer equipment, be reduced The difficulty of callout box selection.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of annotation equipment of image, comprising: first obtains module 10, second module 20 and selecting module 30 are obtained, in which:
First obtains module 10, for obtaining the position of mobile object in the picture.
Second obtains module 20, and for the position according to mobile object in the picture, packet is obtained from the callout box of image At least one alternative callout box containing position.
Selecting module 30 is selected from least one alternative callout box for the area according at least one alternative callout box Select target callout box.
In one embodiment, on the basis of the above embodiments, as shown in fig. 7, selecting module 30 includes:
Computing unit 301, for calculating the area value of at least one alternative callout box.
Determination unit 302, for determining that the corresponding alternative callout box of the smallest area value is target callout box.
In one of the embodiments, as shown in figure 8, on the basis of the above embodiments, computing unit 301 includes:
First obtains subelement 3011, for obtaining the size of pixel in image.
Second obtains subelement 3012, for obtaining number of pixels included in alternative callout box area defined.
First determines subelement 3013, for the product of number of pixels and the size of pixel to be determined as alternatively marking The area value of frame.
In one of the embodiments, as shown in figure 9, on the basis of the above embodiments, determination unit 302 includes:
Second determines subelement 3021, for determining extremely in the corresponding at least two alternative callout box of the smallest area value Whether the position of few two alternative callout box is identical.
Third determines subelement 3022, will at least two for when the position of above-mentioned at least two alternative callout box is identical A alternative callout box processing is an alternative callout box, and an alternative callout box is determined as target callout box.
In one of the embodiments, on the basis of the above embodiments, selecting module 30 is also used to: standby at least two When selecting the position difference of callout box, the position of instruction mobile object change mobile object in the picture;According to the position of change, from At least one alternative callout box of the position comprising change is obtained in the callout box of image, and extremely according to the position comprising change The area of a few alternative callout box, selects new target to mark from least one alternative callout box of the position comprising change Frame.
In one of the embodiments, as shown in Figure 10, on the basis of the above embodiments, above-mentioned apparatus further includes hiding Module 40, for hiding target callout box after the binding of the markup information of target callout box and input.
In one of the embodiments, on the basis of the above embodiments, the area of at least one alternative callout box is calculated After value, selecting module 30 is also used to: the size being worth according to area is ranked up at least one alternative callout box;
Correspondingly, hidden module 40 is also used to:, successively will be remaining according to putting in order at least one alternative callout box Each alternative callout box is bound with corresponding markup information, and successively hides the alternative callout box after binding.
The selection device of image labeling frame provided in an embodiment of the present invention can execute above method embodiment, realize Principle is similar with technical effect, and details are not described herein.
The specific of selection device about image labeling frame limits the selection that may refer to above for image labeling frame The restriction of method, details are not described herein.Modules in the selection device of above-mentioned image labeling frame can be fully or partially through Software, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the place in computer equipment It manages in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution or more The corresponding operation of modules.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in figure 11.The computer equipment includes the processor connected by system bus, memory, network interface, shows Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment Memory includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer Program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The meter The network interface for calculating machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor To realize a kind of selection method of image labeling frame.The display screen of the computer equipment can be liquid crystal display or electronic ink Water display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Obtain the position of mobile object in the picture;
According to the position of mobile object in the picture, at least one obtained from the callout box of image comprising position is alternative Callout box;
According to the area of at least one alternative callout box, the selection target callout box from least one alternative callout box.
In one embodiment, calculating is also performed the steps of when processor executes computer program, and at least one is alternative The area value of callout box;Determine that the corresponding alternative callout box of the smallest area value is target callout box.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains pixel in image Size;Obtain number of pixels included in alternative callout box area defined;By the area of number of pixels and pixel The product of size is determined as the area value of alternative callout box.
In one embodiment, if processor also performs the steps of the smallest area value pair when executing computer program Answer at least two alternative callout box, it is determined that whether the position of at least two alternative callout box is identical;If so, by least two Alternative callout box processing is an alternative callout box, and an alternative callout box is determined as target callout box.
In one embodiment, if processor also performs the steps of at least two alternative marks when executing computer program The position for infusing frame is different, then indicates the position of mobile object change mobile object in the picture;According to the position of change, from image Callout box in obtain at least one alternative callout box of the position comprising change, and according at least one of the position comprising change The area of a alternative callout box selects new target callout box from least one alternative callout box of the position comprising change.
In one embodiment, processor execute computer program when also perform the steps of when target callout box with it is defeated After the markup information binding entered, target callout box is hidden.
In one embodiment, the size being worth according to area is also performed the steps of when processor executes computer program, At least one alternative callout box is ranked up;Correspondingly, after hiding target callout box, method further include: according at least one A alternative callout box puts in order, and successively binds remaining each alternative callout box with corresponding markup information, and successively Alternative callout box after hiding binding.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain the position of mobile object in the picture;
According to the position of mobile object in the picture, at least one obtained from the callout box of image comprising position is alternative Callout box;
According to the area of at least one alternative callout box, the selection target callout box from least one alternative callout box.
In one embodiment, also performing the steps of calculating when computer program is executed by processor, at least one is standby Select the area value of callout box;Determine that the corresponding alternative callout box of the smallest area value is target callout box.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains pixel in image Size;Obtain number of pixels included in alternative callout box area defined;By the face of number of pixels and pixel The product of product size is determined as the area value of alternative callout box.
In one embodiment, if also performing the steps of the smallest area value when computer program is executed by processor Corresponding at least two alternative callout box, it is determined that whether the position of at least two alternative callout box is identical;If so, will at least two A alternative callout box processing is an alternative callout box, and an alternative callout box is determined as target callout box.
In one embodiment, alternative if also performing the steps of at least two when computer program is executed by processor The position of callout box is different, then indicates the position of mobile object change mobile object in the picture;According to the position of change, from figure At least one alternative callout box of the position comprising change is obtained in the callout box of picture, and at least according to the position comprising change The area of one alternative callout box selects new target to mark from least one alternative callout box of the position comprising change Frame.
In one embodiment, also performed the steps of when computer program is executed by processor when target callout box with After the markup information binding of input, target callout box is hidden.
In one embodiment, also performed the steps of when computer program is executed by processor be worth according to area it is big It is small, at least one alternative callout box is ranked up;Correspondingly, after hiding target callout box, method further include: according at least Putting in order for one alternative callout box, successively binds remaining each alternative callout box with corresponding markup information, and according to Alternative callout box after secondary hiding binding.
Computer readable storage medium provided in this embodiment, implementing principle and technical effect and above method embodiment Similar, details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of selection method of image labeling frame, which is characterized in that the described method includes:
Obtain the position of mobile object in the picture;
According to the position of the mobile object in the picture, obtained comprising the position at least from the callout box of described image One alternative callout box;
According to the area of at least one alternative callout box, selection target is marked from least one described alternative callout box Frame.
2. the method according to claim 1, wherein the face of at least one alternative callout box according to Product, the selection target callout box from least one described alternative callout box, comprising:
Calculate the area value of at least one alternative callout box;
Determine that the corresponding alternative callout box of the smallest area value is the target callout box.
3. according to the method described in claim 2, it is characterized in that, the area of at least one alternative callout box described in the calculating Value, comprising:
Obtain the size of pixel in described image;
Obtain number of pixels included in the alternative callout box area defined;
The product of the number of pixels and the size of the pixel is determined as to the area value of the alternative callout box.
4. according to the method described in claim 2, it is characterized in that, the corresponding alternative callout box of the smallest area value of the determination For the target callout box, comprising:
If the corresponding at least two alternative callout box of the smallest area value, it is determined that the position of at least two alternative callout box It whether identical sets;
If so, being an alternative callout box by least two alternative callout box processing, and one alternative callout box is true It is set to target callout box.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If the position of at least two alternative callout box is different, indicate that the mobile object changes the mobile object in institute State the position in image;
According to the position of change, at least one alternative mark of the position comprising the change is obtained from the callout box of described image Frame, and the area of at least one alternative callout box according to the position comprising the change are infused, from the position comprising the change At least one alternative callout box in select new target callout box.
6. method according to claim 1-5, which is characterized in that the method also includes:
After the target callout box and the markup information of input are bound, the target callout box is hidden.
7. according to the method described in claim 6, it is characterized in that, the area of at least one alternative callout box described in the calculating After value, the method also includes:
The size being worth according to area is ranked up at least one described alternative callout box;
Correspondingly, it is described hide the target callout box after, the method also includes:
According to putting in order at least one alternative callout box, successively by remaining each alternative callout box and corresponding mark Information binding is infused, and successively hides the alternative callout box after binding.
8. a kind of selection device of callout box, which is characterized in that described device includes:
First obtains module, for obtaining the position of mobile object in the picture;
Second acquisition module is obtained from the callout box of described image for the position according to the mobile object in the picture At least one alternative callout box comprising the position;
Selecting module, for the area according at least one alternative callout box, from least one described alternative callout box Selection target callout box.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811556011.2A 2018-12-19 2018-12-19 Selection method, device, computer equipment and the storage medium of image labeling frame Pending CN109710148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811556011.2A CN109710148A (en) 2018-12-19 2018-12-19 Selection method, device, computer equipment and the storage medium of image labeling frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811556011.2A CN109710148A (en) 2018-12-19 2018-12-19 Selection method, device, computer equipment and the storage medium of image labeling frame

Publications (1)

Publication Number Publication Date
CN109710148A true CN109710148A (en) 2019-05-03

Family

ID=66255954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811556011.2A Pending CN109710148A (en) 2018-12-19 2018-12-19 Selection method, device, computer equipment and the storage medium of image labeling frame

Country Status (1)

Country Link
CN (1) CN109710148A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210328A (en) * 2019-05-13 2019-09-06 北京三快在线科技有限公司 The method, apparatus and electronic equipment of object are marked in image sequence
CN110796201A (en) * 2019-10-31 2020-02-14 深圳前海达闼云端智能科技有限公司 Method for correcting label frame, electronic equipment and storage medium
CN111310667A (en) * 2020-02-18 2020-06-19 北京小马慧行科技有限公司 Method, device, storage medium and processor for determining whether annotation is accurate
CN111340586A (en) * 2020-02-20 2020-06-26 北京字节跳动网络技术有限公司 Information display method and device, computer equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526877A (en) * 2008-03-06 2009-09-09 日产自动车株式会社 Display controller and item display method
CN102609686A (en) * 2012-01-19 2012-07-25 宁波大学 Pedestrian detection method
US20140241623A1 (en) * 2013-02-22 2014-08-28 Nec Laboratories America, Inc. Window Dependent Feature Regions and Strict Spatial Layout for Object Detection
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment
CN106355188A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Image detection method and device
US20170177558A1 (en) * 2015-12-21 2017-06-22 Xerox Corporation Image processing system and methods for identifying table captions for an electronic fillable form
CN107704162A (en) * 2016-08-08 2018-02-16 法乐第(北京)网络科技有限公司 One kind mark object control method
CN108230313A (en) * 2018-01-03 2018-06-29 武汉大学 Based on the adaptively selected SAR image object detection method with discrimination model of component
CN108875577A (en) * 2018-05-11 2018-11-23 深圳市易成自动驾驶技术有限公司 Object detection method, device and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526877A (en) * 2008-03-06 2009-09-09 日产自动车株式会社 Display controller and item display method
CN102609686A (en) * 2012-01-19 2012-07-25 宁波大学 Pedestrian detection method
US20140241623A1 (en) * 2013-02-22 2014-08-28 Nec Laboratories America, Inc. Window Dependent Feature Regions and Strict Spatial Layout for Object Detection
CN104104869A (en) * 2014-06-25 2014-10-15 华为技术有限公司 Photographing method and device and electronic equipment
CN106355188A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Image detection method and device
US20170177558A1 (en) * 2015-12-21 2017-06-22 Xerox Corporation Image processing system and methods for identifying table captions for an electronic fillable form
CN107704162A (en) * 2016-08-08 2018-02-16 法乐第(北京)网络科技有限公司 One kind mark object control method
CN108230313A (en) * 2018-01-03 2018-06-29 武汉大学 Based on the adaptively selected SAR image object detection method with discrimination model of component
CN108875577A (en) * 2018-05-11 2018-11-23 深圳市易成自动驾驶技术有限公司 Object detection method, device and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210328A (en) * 2019-05-13 2019-09-06 北京三快在线科技有限公司 The method, apparatus and electronic equipment of object are marked in image sequence
CN110796201A (en) * 2019-10-31 2020-02-14 深圳前海达闼云端智能科技有限公司 Method for correcting label frame, electronic equipment and storage medium
CN111310667A (en) * 2020-02-18 2020-06-19 北京小马慧行科技有限公司 Method, device, storage medium and processor for determining whether annotation is accurate
CN111310667B (en) * 2020-02-18 2023-09-01 北京小马慧行科技有限公司 Method, device, storage medium and processor for determining whether annotation is accurate
CN111340586A (en) * 2020-02-20 2020-06-26 北京字节跳动网络技术有限公司 Information display method and device, computer equipment and storage medium
CN111340586B (en) * 2020-02-20 2021-06-22 北京字节跳动网络技术有限公司 Information display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109710148A (en) Selection method, device, computer equipment and the storage medium of image labeling frame
CN109144656B (en) Method, apparatus, computer device and storage medium for multi-element layout
CN109726647B (en) Point cloud labeling method and device, computer equipment and storage medium
US9639514B2 (en) Information browsing apparatus and recording medium for computer to read, storing computer program
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN110309236A (en) The method, apparatus, computer equipment and storage medium of pathfinding in map
CN110705207A (en) Document display method and device, computer equipment and storage medium
CN109375972B (en) Method, apparatus, computer device and storage medium for multi-element layout
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN106202327B (en) Picture display method and mobile terminal
CN112965681B (en) Image processing method, device, equipment and storage medium
WO2023241612A1 (en) File selection method and apparatus, electronic device, and readable storage medium
CN112764639A (en) Screen capturing method and device and electronic equipment
CN114565915B (en) Sample text image acquisition method, text recognition model training method and device
CN112148171B (en) Interface switching method and device and electronic equipment
CN112698771B (en) Display control method, device, electronic equipment and storage medium
CN114564134A (en) Application icon display method and device
CN112583702B (en) Information mass sending method and device, computer equipment and storage medium
CN111190574B (en) Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN114327173A (en) Information processing method and device and electronic equipment
CN114518821A (en) Application icon management method and device and electronic equipment
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN114063854A (en) File editing processing method and device and electronic equipment

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: 20190503