WO2022267279A1 - Data annotation method and apparatus, and electronic device and storage medium - Google Patents

Data annotation method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2022267279A1
WO2022267279A1 PCT/CN2021/126182 CN2021126182W WO2022267279A1 WO 2022267279 A1 WO2022267279 A1 WO 2022267279A1 CN 2021126182 W CN2021126182 W CN 2021126182W WO 2022267279 A1 WO2022267279 A1 WO 2022267279A1
Authority
WO
WIPO (PCT)
Prior art keywords
labeling
tool
target
response
marked
Prior art date
Application number
PCT/CN2021/126182
Other languages
French (fr)
Chinese (zh)
Inventor
牛菜梅
Original Assignee
上海商汤科技开发有限公司
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 上海商汤科技开发有限公司 filed Critical 上海商汤科技开发有限公司
Publication of WO2022267279A1 publication Critical patent/WO2022267279A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a data labeling method and device, electronic equipment, and a storage medium.
  • the present disclosure proposes a data labeling technical solution.
  • a data labeling method is provided, which is applied in the field of smart cars, including:
  • labeling information of the object to be labelled is obtained.
  • the presenting the target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to a user interaction interface includes:
  • the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
  • a target labeling tool for labeling objects to be labeled in the target data field is determined from the tool set, and the use authority of the target labeling tool is enabled, and displayed on the labeling interface for users to use.
  • the method further includes:
  • the annotation tool selected by the user is used as the target annotation tool.
  • the method further includes:
  • a labeling tool having a corresponding relationship with the target labeling task type is determined as the target labeling tool.
  • the obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
  • the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
  • the attribute of the marked lane line is determined.
  • the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
  • the area where the drawn polygon is located is used as the location of the marked drivable area.
  • the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
  • the area surrounded by the drawn rectangle frame is used as the location of the marked target object
  • the attribute of the target object marked among the objects to be marked is determined.
  • the object to be labeled is a point cloud image
  • the labeling task type includes a point cloud object labeling task
  • the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects
  • a frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes
  • the framed area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the label Properties of the point cloud object.
  • the labeling task type includes a passenger attribute labeling task
  • the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool
  • the area surrounded by the drawn rectangular frame is used as the position of the marked passenger;
  • At least one attribute of the annotated passenger is determined.
  • the tagging task type includes a face tagging task
  • the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool
  • the area surrounded by the drawn rectangular frame is used as the location of the marked human face
  • the key points of the human face in the labeled human face are determined.
  • the labeling task type includes a gesture labeling task
  • the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool
  • the area surrounded by the drawn rectangle frame is used as the position of the marked hand;
  • key points of the marked hand are determined.
  • the labeling task type includes a driving fatigue labeling task
  • the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool
  • the area surrounded by the drawn rectangular frame is used as the position of the marked fatigue detection target;
  • the property of the labelled fatigue detection target is determined.
  • the labeling task type includes a dangerous driving labeling task
  • the target labeling tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute labeling tool
  • the area surrounded by the drawn rectangular frame is used as the position of the marked dangerous driving detection target;
  • the tagged attribute of the dangerous driving detection target is determined.
  • a data labeling device which is applied in the field of smart cars, including:
  • An annotation object acquisition unit configured to acquire an object to be annotated
  • a target labeling tool display unit configured to present a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface;
  • a labeling information determining unit configured to obtain labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool.
  • the target labeling tool display unit includes:
  • a data field determination unit configured to receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
  • the target labeling tool display subunit is used to determine the target labeling tool for labeling objects to be labeled in the target data field from the tool set according to the determined target data field, and enable the use authority of the target labeling tool, which is displayed in the labeling
  • the interface is for the user to use.
  • the device further includes:
  • the first target marking tool determination unit is configured to use the marking tool selected by the user as the target marking tool in response to the user's selection operation on the multiple marking tools.
  • the device further includes:
  • the second target labeling tool determining unit is configured to identify the labeling task type of the object to be labeled to obtain the target labeling task type; determine the target labeling task type according to the preset corresponding relationship between the labeling task type and the labeling tool The labeling task type has a corresponding labeling tool as the target labeling tool.
  • the marking information determining unit includes:
  • a target object position determining unit configured to use the marked position as the marked position of the target object in response to the position marking operation performed based on the target marking tool
  • the target object attribute determining unit is used to use the preset default attribute as the attribute of the marked target object.
  • the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
  • the marking information determining unit is configured to respond to the line drawing operation based on the line tool, use the area indicated by the drawn line as the location of the marked lane line; respond to the lane of the tool based on the lane line attribute
  • the line attribute selection operation determines the attribute of the marked lane line.
  • the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
  • the marking information determining unit is configured to use the area where the drawn polygon is located as the position of the marked drivable area in response to the polygon drawing operation based on the polygon tool.
  • the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
  • the marking information determination unit is configured to respond to the drawing operation of the rectangular frame based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked target object;
  • the attribute selection operation determines the attribute of the target object marked in the object to be marked.
  • the object to be labeled is a point cloud image
  • the labeling task type includes a point cloud object labeling task
  • the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects
  • a frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes
  • the label information determining unit is configured to determine a target point cloud object frame selection tool among the plurality of point cloud object frame selection tools in response to a point cloud object frame selection tool selection operation; In the frame selection operation of the frame selection tool, the frame selected area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the property of the marked point cloud object.
  • the labeling task type includes a passenger attribute labeling task
  • the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool
  • the labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the location of the marked passenger; Passenger attribute selection operation to determine at least one attribute of the marked passenger.
  • the tagging task type includes a face tagging task
  • the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool
  • the labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked human face;
  • the key point labeling operation of the tool determines the key points of the face in the marked face.
  • the labeling task type includes a gesture labeling task
  • the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool
  • the labeling information determination unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the position of the marked hand;
  • the key point labeling operation of the tool determines the key points of the marked hand.
  • the labeling task type includes a driving fatigue labeling task
  • the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool
  • the labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked;
  • the key point labeling operation of the tool determines the attributes of the labeled fatigue detection target.
  • the labeling task type includes a dangerous driving labeling task
  • the target labeling tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute labeling tool
  • the labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target;
  • the attribute selection operation of the labeling tool determines the attributes of the marked dangerous driving detection target.
  • an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above-mentioned method.
  • a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
  • a computer program product including computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in an electronic device
  • the processor in the electronic device is used to implement the above method.
  • the target marking tool corresponding to the marking task type of the object to be marked among the multiple marking tools can be presented to the user interaction interface, and the user can perform the marking operation based on the target marking tool, Obtain the labeling information of the object to be labeled.
  • labeling tools can be quickly and accurately provided according to the type of labeling task, and the data labeling scheme required for the development of smart cars can be clarified for traditional car companies to make up for the shortcomings of data labeling in the combination of traditional car companies and artificial intelligence technology.
  • the development resources invested in the research and development process are reduced.
  • Fig. 1 shows a flowchart of a data labeling method according to an embodiment of the present disclosure.
  • Fig. 2 shows a block diagram of a data labeling device according to an embodiment of the present disclosure.
  • Fig. 3 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • Embodiments of the present disclosure provide a data labeling solution, which can be applied to labeling tasks in various scenarios and obtain labeling information. This method can be widely applied to the labeling requirements in the field of smart cars, and saves time and manpower.
  • the data labeling method provided by the embodiments of the present disclosure can label the samples used for neural network training in the smart car industry, use the label information obtained by labeling to train the neural network, and realize automatic driving based on the trained neural network and smart cockpits.
  • Specific labeling scenarios may include, for example: lane line labeling, drivable area labeling, target object labeling, point cloud object labeling, passenger attribute labeling, face labeling, gesture labeling, driving fatigue labeling, dangerous driving labeling, etc.
  • the data labeling method may be performed by electronic devices such as terminal devices or servers, and the terminal devices may be user equipment (User Equipment, UE), mobile devices, user terminals, terminals, cellular phones, cordless Phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc.
  • the method can be realized by calling the computer-readable instructions stored in the memory by the processor.
  • the method may be performed by a server.
  • the execution subject of the identity authentication method may be a labeling platform, and the implementation of the method will be introduced later by taking the execution subject as the labeling platform as an example. It can be understood that the execution subject of the method is an annotation platform, which is only an exemplary description, and should not be understood as a limitation of the method.
  • the labeling method of the embodiments of the present disclosure may also be applied in other technical fields involving various types of labeling tasks, which is not specifically limited in the embodiments of the present disclosure.
  • the following mainly takes the smart car field as the target field to illustrate.
  • FIG. 1 shows a flowchart of a data labeling method according to an embodiment of the present disclosure. As shown in FIG. 1 , the data labeling method includes:
  • step S11 the object to be marked is obtained.
  • the user can load the object to be marked through the menu of the user interaction interface, or drag the object to be marked to the designated area of the user interaction interface by directly dragging and dropping, so as to complete the loading of the mark object.
  • the acquisition of the object to be marked is realized by loading the object to be marked.
  • the object to be labeled can be one or more images; it can also be a single frame or multiple frames in a video.
  • the people, objects, and scenery marked in the object to be marked are the target object, and in the subsequent steps, the marking operation on the target object will be performed on the object to be marked.
  • the content displayed in the object to be marked can be: road pavement, road signs, road vehicles, road pedestrians, the driver's face, hands, and limbs inside the cabin, and the faces, hands, and limbs of passengers inside the cabin, etc.
  • the displayed content will contain the target objects that need to be marked.
  • the target objects to be marked among the objects to be marked may be different in different application scenarios.
  • step S12 a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools is presented to the user interface.
  • the user can determine the type of labeling task.
  • the types of labeling tasks here can include: lane line detection, drivable area segmentation, target detection, point cloud labeling, etc.
  • a suitable labeling tool can be selected as the target labeling tool.
  • the target marking tool here may be a control for marking the target object in the object to be marked, such as: a line tool, a polygon tool, a rectangular box tool, and the like.
  • the aforementioned controls may be presented at preset positions in the user interaction interface.
  • step S13 the labeling information of the object to be labeled is obtained in response to the labeling operation performed based on the target labeling tool.
  • the user uses the target labeling tool presented in step S12 to perform labeling operations according to the labeling task among the objects to be labeled obtained in step S11 to label the target object.
  • the labeling operation here can be understood as that the user can use the target labeling tool to determine the points that can identify the target object and the lines between the points, use these points and lines to determine the position or range of the object to be marked, and mark the object properties.
  • labeling information such as the position, range, and attribute of the marked object is obtained.
  • the target marking tool corresponding to the marking task type of the object to be marked among the multiple marking tools can be presented to the user interaction interface, and the user can perform the marking operation based on the target marking tool, Obtain the labeling information of the object to be labeled.
  • labeling tools can be quickly and accurately provided according to the type of labeling task, and the data labeling scheme required for the development of smart cars can be clarified for traditional car companies to make up for the shortcomings of data labeling in the combination of traditional car companies and artificial intelligence technology.
  • the development resources invested in the research and development process are reduced.
  • the method further includes: responding to a user's selection operation on the multiple marking tools, using the marking tool selected by the user as a target marking tool.
  • the user can select the target labeling tool among multiple labeling tools according to the shape and other characteristics of the object to be labelled. For example, you can select the rectangular frame tool to mark traffic lights, street signs, signboards, etc.; you can select lines to mark lane lines.
  • the method further includes: identifying the labeling task type of the object to be labeled to obtain the target labeling task type; according to the preset labeling task type and labeling
  • the corresponding relationship between tools is to determine the labeling tool that has a corresponding relationship with the target labeling task type as the target labeling tool.
  • the target labeling task type can be determined according to the application scenario of the labeling task set by the user; or, based on the image recognition technology, the target labeling task type can be determined according to the content of the image or video to be labeled.
  • Example 1 if the application scenario of the labeling task set by the user is to detect whether the driver is fatigued driving, it can be determined that the type of the labeling task is: driver fatigue detection.
  • Example 2 the content of the object (image) to be labeled is a road surface, and the labeling task type can be determined as: lane line detection.
  • a "labeling task” menu may also be displayed in a tab of the user interaction interface, and then the type of labeling task selected by the user based on the "labeling task” menu may be received as the target labeling task type.
  • the corresponding relationship between target labeling tools and labeling task types can be established in advance. Based on the corresponding relationship, the target labeling tool corresponding to the obtained target labeling task type can be determined, and the target labeling tool can be presented on the user interaction interface.
  • the determined target labeling task type is "drivable area segmentation”. You can use the polygon tool as a tool to label drivable areas.
  • the corresponding target labeling tool can be obtained, which improves the efficiency of labeling.
  • the presenting the target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interaction interface includes: receiving a data field selection instruction input by the user, The data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field; according to the determined target data field, determine the object to be marked for marking the target data field from the tool set target labeling tool, and enable the permission to use the target labeling tool, and display it on the labeling interface for users to use.
  • the data labeling method provided in this disclosure can be applied to labeling tasks in various data fields.
  • the data field here can be the field where artificial intelligence technology is applied, such as the field of smart cars, smart retail, and smart security.
  • the labeling tools used are often determined. Therefore, in this implementation, the object to be labeled for labeling the target data field can be determined from the tool set according to the target data field to which the object to be labeled belongs. target labeling tool to improve labeling efficiency.
  • the target data field may be determined based on a data field selection instruction input by the user, so that the user can select the target data field to which the object to be marked belongs. For example, in the case that the object to be labeled belongs to the field of smart cars, the user can select the field of smart cars based on the user operation interface.
  • the tool set can include a variety of tools, such as line tools, polygon tools, rectangular box tools, attribute labeling tools, etc.
  • data fields and labeling tools can be pre-established The corresponding relationship between them, that is, to predetermine the corresponding labeling tools for each data field. Then, after the target data field is determined, the labeling tool corresponding to the target data field can be determined from the tool set as the target labeling tool according to the corresponding relationship.
  • the determined target labeling tool For the determined target labeling tool, its usage permission will be enabled and displayed in the labeling interface, so that labelers can perform labeling tasks based on the target labeling tool.
  • the target data field is determined based on the data field selection instruction input by the user, and then according to the determined target data field, the target labeling tool for marking the object to be marked in the target data field is determined from the tool set for the user use.
  • the labeling tool required to perform the labeling task can be quickly provided to the user, greatly reducing labeling time and labor costs, and improving the convenience of the labeling tool.
  • the obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes: in response to the position labeling operation performed based on the target labeling tool, Use the marked position as the position of the marked target object; use the preset default attribute as the property of the marked target object.
  • the position of the target object can be obtained by marking based on tools such as a polygon tool and a rectangular frame tool.
  • tools such as a polygon tool and a rectangular frame tool.
  • the user determines the position of the marked target object by operating the polygon tool or the rectangular frame tool.
  • the acquisition of the target object’s position and the attribute of the target object into one step, that is, to pre-set a default attribute, which can be preset by the developer, or it can also be set by the labeler himself.
  • a default attribute which can be preset by the developer, or it can also be set by the labeler himself.
  • the labeling task type of the object to be labeled includes a lane line labeling task
  • the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool
  • the response to Obtaining the labeling information of the object to be labeled based on the labeling operation performed by the target labeling tool includes: responding to the line drawing operation based on the line tool, taking the area indicated by the drawn line as the location of the marked lane line Position; in response to the lane line attribute selection operation based on the lane line attribute labeling tool, determine the attribute of the marked lane line.
  • the image or video frame to be annotated is displayed in a user interaction interface by means of loading or importing. Since the labeled object is a lane line, the corresponding relationship between the labeling task type "lane line labeling task" and the line tool can be set in advance. Based on the corresponding relationship, when it is determined that the labeling task type is "lane line labeling task", the line tool can be presented in the user interaction interface.
  • the user can select the line tool in the user interface, then draw the line, and then select the attribute of the line, which is used to represent the type of lane line, for example, white solid line, white dashed line, left lane line, right lane line etc.
  • the user may complete the selection of the line attributes first, and then perform the line drawing operation.
  • the user can determine any end of the lane line to be marked as the starting point. Specifically, the midpoint of the starting end in the width direction of the lane line can be used as the starting point, and the user can click the left button of the mouse to The operation method determines the position of the starting point, and the same operation method is used to determine the point representing the lane line along the lane line, and the determined point should be on the lane line. Then, take the other end point of the lane line as the end point. When the end point is selected, you can click the right mouse button to complete the labeling of the lane line.
  • the position of the lane line (the coordinates of each point marking the lane line), attributes and other labeling information are obtained.
  • the marking information of the lane line can be obtained, which improves the efficiency of marking the lane line.
  • the tagging task type of the object to be tagged includes a drivable area tagging task
  • the target tagging tool corresponding to the drivable area tagging task includes a polygon tool
  • the response is based on the target
  • the marking operation performed by the marking tool to obtain the marking information of the object to be marked includes: responding to the polygon drawing operation based on the polygon tool, using the area where the drawn polygon is located as the position of the marked drivable area.
  • the image or video frame to be marked is displayed in the user interaction interface by means of loading or importing.
  • the drivable area can be a polygon.
  • the labeling task type is determined to be “drivable area labeling”
  • the polygon tool can be presented in the user interface.
  • the scene segmentation tool can be presented in the interactive interface .
  • the scene segmentation tool here is a pre-integrated module.
  • the user roughly selects the boundary of the object to be segmented, and then the scene segmentation tool can accurately determine the boundary between the object to be segmented and the background according to the boundary, so as to realize the segmentation of the object to be segmented.
  • the object to be segmented may be the driving area of the vehicle.
  • the attributes of the polygon can be: drivable area, non-drivable area. Users can choose according to the labeling task. It can be understood that if only a single type of area needs to be marked in the labeling task, for example: only the drivable area or only the non-drivable area, then if there is only one attribute in the marked polygon, it is not necessary for the user to modify the polygon Instead, a default attribute is directly given, and the user marks the area corresponding to the default attribute.
  • the user can select any point on the drivable area boundary as the starting point, and then sequentially determine multiple points indicating the drivable area, which can be the drivable area boundary
  • the inflection point on the line can also be any point on the boundary line. Click the right mouse button to add the last point, the last point is automatically connected with the starting point to form a polygon, and the polygon drawing operation is completed.
  • the closed circle obtained by the drawing operation The area can then be determined as a drivable area.
  • each drivable area can be determined on the image, and labeling information such as the range (coordinates) and attributes of the drivable area can be obtained at the same time, which improves the efficiency of marking the drivable area.
  • the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular box tool and a target object attribute labeling tool;
  • the response Obtaining the labeling information of the object to be labeled based on the labeling operation performed by the target labeling tool includes: responding to the rectangle frame drawing operation based on the rectangle frame tool, using the area surrounded by the drawn rectangle frame as a label The location of the target object; in response to the attribute selection operation of the target object attribute labeling tool, determine the attribute of the marked target object in the objects to be marked.
  • object detection may include, for example, the detection of objects such as signal lights, traffic signs, surface signs, pedestrians, and vehicles.
  • the rectangular frame tool may be associated with the labeling task type of "target object labeling" in advance. After the object to be labeled is loaded and the target labeling task type is determined as "target object labeling", the rectangular frame tool can be presented in the user interface.
  • the user can configure the properties of the rectangular box tool, and the properties of the rectangular box can include pedestrians, motor vehicles, non-motor vehicles, etc.
  • the user can first select the properties of the rectangle, and then select the rectangle tool to draw a rectangle; or first select the rectangle tool to draw a rectangle to obtain a rectangle, and then configure the properties of the rectangle.
  • the point with the largest y value is located on the upper side of the rectangular frame; among the points indicating the position of pedestrians, the point with the smallest y value falls on the lower side of the rectangular frame; Among the points at the position, the point with the largest x value is located on the right side of the rectangle; the point with the smallest x value is located on the left side of the rectangle.
  • the pedestrians can be selected one by one, and the attribute of the rectangular frame is configured as "pedestrian", and the labeling of pedestrians can be completed.
  • the labeling of other target objects can be completed, and the respective attributes can be selected to obtain the labeling information of the target object, which improves the efficiency of target object labeling.
  • the object to be labeled is a point cloud image
  • the labeling task type includes a point cloud object labeling task
  • the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects
  • a frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes
  • the response to the labeling operation performed based on the target labeling tool is to obtain the labeling information of the object to be labeled, including: response Based on the point cloud object frame selection tool selection operation, determine the target point cloud object frame selection tool in the multiple point cloud object frame selection tools; in response to the frame selection operation based on the target point cloud object frame selection tool, frame The selected area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the attribute of the marked point cloud object.
  • a point cloud image is a data set of points in a certain coordinate system.
  • the point cloud image contains the position information of each point, and some point cloud images also contain color information, reflection intensity information, etc.
  • the corresponding relationship between the point cloud object frame selection tool and the labeling task type of "point cloud object labeling task” can be established in advance. Based on the corresponding relationship, after determining the target labeling task type as "point cloud object labeling task", the point cloud object frame selection tool can be presented in the user interface. Then the user can configure the properties of the point cloud object marquee tool, which can include, for example, people, trees, vehicles, and so on.
  • the user clicks the left mouse button to create a starting point, pulls out a rectangular frame, and selects the target object in the point cloud image, and clicks the left mouse button again to complete the frame selection operation.
  • the rectangle frame is tangent to the frame-selected target object. It can be understood that if the object to be marked is a 3D point cloud image and the rectangular frame is a cube, at this time, each surface of the rectangular frame is tangent to the target object.
  • each point cloud object in the point cloud image can be framed and selected, and the corresponding attribute can be selected to obtain the labeling information of the point cloud object, which improves the efficiency of point cloud object labeling.
  • the data labeling method provided in the present disclosure can not only realize the data labeling task in the field of automobile automatic driving, but also can be used to realize the data labeling task in the field of vehicle intelligent cockpit. Several possible implementation methods are described in detail below.
  • the labeling task type includes a passenger attribute labeling task
  • the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool
  • the response is based on the target
  • the labeling operation performed by the labeling tool is to obtain the labeling information of the object to be labeled, including: responding to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the marked passenger ; determining at least one attribute of an annotated passenger in response to a passenger attribute selection operation based on the passenger attribute annotation tool.
  • the corresponding relationship between the "rectangular frame tool and passenger attribute labeling tool" and the labeling task type "passenger attribute labeling task” may be established in advance. Based on this correspondence, when the labeling task type is the passenger attribute labeling task, it can be determined that the target labeling tools corresponding to the passenger attribute labeling task include the rectangular box tool and the passenger attribute labeling tool, and present these tools to the user in the interface. The user can select the rectangular frame tool, and then select the attributes of the rectangular frame in the passenger attribute labeling tool, such as: seating position, age, emotion, whether to wear a mask, etc.
  • multiple secondary attributes of each attribute can also be set. For example, for the "age" attribute, the secondary attributes can be set to 10-20 years old, 20-30 years old, etc.
  • the user uses the rectangular frame tool to perform a rectangular frame drawing operation to frame the position of the passenger.
  • a rectangular frame drawing operation For the specific process of the rectangular frame drawing operation, please refer to the relevant description of the present disclosure, which will not be repeated here.
  • each passenger in the image can be selected by frame, and the corresponding attribute can be selected to obtain the annotation information of the passenger, which improves the efficiency of attribute annotation of the passenger.
  • the tagging task type includes a face tagging task
  • the target tagging tools corresponding to the face tagging task include a rectangular box tool and a key point tagging tool
  • the response is based on the target
  • the labeling operation performed by the labeling tool to obtain the labeling information of the object to be labeled includes: in response to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the area where the marked human face is located
  • Position in response to the key point labeling operation based on the key point labeling tool, determine the key points of the human face in the marked human face.
  • the corresponding relationship between the "rectangular frame tool and the key point labeling tool" and the labeling task type of "face labeling task” can be established in advance. Based on this correspondence, when the labeling task type is a face labeling task, it can be determined that the target labeling tools corresponding to the face labeling task include a rectangular frame tool and a key point labeling tool, and present these tools on the user interface middle. The user can select the rectangular frame tool, and select the position of the face through the rectangular frame drawing operation. The specific process of the rectangular frame drawing operation can be found in the relevant description of this disclosure, and will not be repeated here. Select the target face by frame to determine the position of the face, so that the rectangular frame is tangent to the edge of the face. Then, open the key point labeling tool and set the number of face key points, for example: 5 points for a face, 106 points for a face. Use the key point labeling tool to mark the position of the facial features on the selected target face.
  • the marking information of the face can be obtained, which improves the efficiency of face marking.
  • the labeling task type includes a gesture labeling task
  • the target labeling tools corresponding to the gesture labeling task include a rectangular box tool and a key point labeling tool
  • the response is based on the target labeling tool
  • the labeling operation performed to obtain the labeling information of the object to be labeled includes: responding to the rectangle frame drawing operation based on the rectangle frame tool, using the area surrounded by the drawn rectangle frame as the position of the marked hand; In response to a key point labeling operation based on the key point labeling tool, key points of the marked hand are determined.
  • the corresponding relationship between the "rectangular frame tool and key point labeling tool” and the labeling task type of "gesture labeling task” may be established in advance. Based on the corresponding relationship, when the labeling task type is gesture labeling, it can be determined that the target labeling tools corresponding to the gesture labeling task include a rectangular box tool and a key point labeling tool, and present these tools in the user interface. The user can select the rectangle frame tool and select the target object through the rectangle frame drawing operation. In this example, the target object is the target hand, so that the rectangle frame is tangent to the edge of the target hand to determine the position of the hand. Marquee selection ranges from human fingers to wrists.
  • the key point labeling tool open the key point labeling tool and set the number of hand key points, for example: 21 points for human hands and 5 points for fingertips.
  • the corresponding attributes coordinates, point spacing, etc.
  • the marking information of the hand can be obtained, which improves the efficiency of gesture marking.
  • the labeling task type includes a driving fatigue labeling task
  • the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool
  • the response is based on the target labeling
  • the marking operation performed by the tool to obtain the marking information of the object to be marked includes: responding to the drawing operation of the rectangular frame based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked ; In response to the key point labeling operation based on the fatigue property labeling tool, determine the property of the labelled fatigue detection target.
  • the corresponding relationship between the "rectangular frame tool and fatigue attribute labeling tool” and the labeling task type "driving fatigue labeling task” may be established in advance. Based on the corresponding relationship, when the labeling task is a driving fatigue labeling task, it can be determined that the target labeling tools corresponding to the driving fatigue labeling task include a rectangular frame tool and a fatigue attribute labeling tool, and present these tools in the user interface.
  • the user first selects the rectangle frame tool, and the objects selected by the rectangle frame can be the human eyes and the human mouth.
  • the human eyes and the human mouth are framed by the rectangle frame drawing operation, and then the properties of the rectangle frame are selected to use the human eyes For example, its attributes may include eyes open, eyes closed, uncertain, etc.
  • image segmentation processing may be performed on the object to be labeled (image or single-frame video). Segment the human eye and mouth frames in the image, and generate eye images and mouth images. Then load the newly generated eye image or mouth image into the interactive interface, and the user can select the attributes of the eye image and the mouth image in the interactive interface.
  • the position of the fatigue detection target can be marked, and the labeling information of the fatigue detection target can be obtained, which improves the efficiency of the driving fatigue labeling task.
  • the definition of the labeling object is limited, the accuracy of driving fatigue labeling can be improved.
  • the tagging task type includes a dangerous driving tagging task
  • the target tagging tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute tagging tool; the response is based on the target tagging tool
  • the labeling operation performed to obtain the labeling information of the object to be labeled includes: responding to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target ; Responding to an attribute selection operation based on the dangerous attribute labeling tool, determining the labelled attribute of the dangerous driving detection target.
  • the corresponding relationship between the "rectangular frame tool and dangerous attribute labeling tool" and the labeling task type "dangerous driving labeling task” may be established in advance. Based on this correspondence, when the labeling task is a dangerous driving labeling task, it can be determined that the target labeling tools corresponding to the driving fatigue labeling task include a rectangular box tool and a fatigue attribute labeling tool, and present these tools in the user interface.
  • the user first selects the rectangular frame tool, and determines the position of the target object in the dangerous driving detection through the rectangular frame drawing operation.
  • the target object is usually a human body.
  • the attribute of the rectangular frame for example: smoking, calling , drinking water, etc.
  • the user may first set the default properties of the rectangular frame, and then use the rectangular frame to select the target object (target human body) in the image, so that the properties of the drawn rectangular frame are the preset default properties.
  • the marking information of the dangerous driving detection target can be obtained, which improves the efficiency of dangerous driving marking.
  • the data labeling method in the embodiment of the present disclosure can also be applied to other labeling scenarios, and the idea of specific labeling is the same as that of the above-mentioned implementation mode, and will not be introduced one by one due to space limitation.
  • the systematic data labeling solution for artificial intelligence in the automotive industry can be used as an overall R&D solution to support data labeling for traditional car companies to develop intelligent cars, or it can be used as a single combined solution to provide car companies with automatic data labeling solutions.
  • the artificial intelligence implementation of driving and smart cockpit provides data annotation support. Through this solution, it is possible to clarify the data labeling tools that traditional car companies need in the implementation of artificial intelligence, and the detailed data labeling scheme, without the need to integrate all market labeling tools to reduce the development resources invested in the research and development process.
  • the research and development schedule can be clarified, and the development of more urgent annotation tools in business is given priority.
  • the tool can be developed first. For example, if there are multiple marking tasks that need to mark irregular objects, the line tool can be discarded and only the polygon tool can be developed. All irregular target objects that need to be marked.
  • the present disclosure also provides data labeling devices, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any data labeling method provided in the present disclosure, corresponding technical solutions and descriptions, and corresponding records in the method section ,No longer.
  • Fig. 2 shows a block diagram of a data labeling device according to an embodiment of the present disclosure. As shown in Fig. 2, the device 20 is applied to the field of smart cars, including:
  • An annotated object acquisition unit 201 configured to acquire an object to be annotated
  • a target labeling tool display unit 202 configured to present a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface;
  • the labeling information determining unit 203 is configured to obtain labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool.
  • the object labeling tool display unit 202 includes:
  • a data field determination unit configured to receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
  • the target labeling tool display subunit is used to determine the target labeling tool for labeling objects to be labeled in the target data field from the tool set according to the determined target data field, and enable the use authority of the target labeling tool, which is displayed in the labeling
  • the interface is for the user to use.
  • the device further includes:
  • the first target marking tool determination unit is configured to use the marking tool selected by the user as the target marking tool in response to the user's selection operation on the multiple marking tools.
  • the device further includes:
  • the second target labeling tool determining unit is configured to identify the labeling task type of the object to be labeled to obtain the target labeling task type; determine the target labeling task type according to the preset corresponding relationship between the labeling task type and the labeling tool The labeling task type has a corresponding labeling tool as the target labeling tool.
  • the annotation information determining unit 203 includes:
  • a target object position determining unit configured to use the marked position as the marked position of the target object in response to the position marking operation performed based on the target marking tool
  • the target object attribute determining unit is used to use the preset default attribute as the attribute of the marked target object.
  • the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
  • the marking information determining unit 203 is configured to respond to the line drawing operation based on the line tool, use the area indicated by the drawn line as the location of the marked lane line; Lane line attribute selection operation, determine the attribute of the marked lane line.
  • the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
  • the marking information determining unit 203 is configured to use the area where the drawn polygon is located as the position of the marked drivable area in response to the polygon drawing operation based on the polygon tool.
  • the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked target object;
  • the attribute selection operation of the tool determines the attribute of the target object marked among the objects to be marked.
  • the object to be labeled is a point cloud image
  • the labeling task type includes a point cloud object labeling task
  • the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects
  • a frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes
  • the label information determining unit 203 is configured to determine a target point cloud object frame selection tool among the plurality of point cloud object frame selection tools in response to a point cloud object frame selection tool selection operation; In the frame selection operation of the object frame selection tool, the framed area is used as the position of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the property of the marked point cloud object.
  • the labeling task type includes a passenger attribute labeling task
  • the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked passenger;
  • the passenger attribute selection operation of the tool determines at least one attribute of the marked passenger.
  • the tagging task type includes a face tagging task
  • the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked human face;
  • the key point labeling operation of the labeling tool determines the key points of the face in the marked face.
  • the labeling task type includes a gesture labeling task
  • the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked hand;
  • the key point labeling operation of the labeling tool determines the key points of the marked hand.
  • the labeling task type includes a driving fatigue labeling task
  • the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked;
  • the key point labeling operation of the labeling tool determines the attributes of the labeled fatigue detection target.
  • the labeling task type includes a dangerous driving labeling task
  • the target labeling tools corresponding to the dangerous driving task include a rectangular box tool and a dangerous attribute labeling tool
  • the labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target;
  • the attribute selection operation of the attribute labeling tool determines the attribute of the marked dangerous driving detection target.
  • the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor.
  • Computer readable storage media may be volatile or nonvolatile computer readable storage media.
  • An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • Electronic devices may be provided as terminals, servers, or other forms of devices.
  • FIG. 3 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
  • electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
  • the processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
  • the memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • the power supply component 806 provides power to various components of the electronic device 800 .
  • Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
  • the multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
  • the audio component 810 is configured to output and/or input audio signals.
  • the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 .
  • the audio component 810 also includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
  • Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 .
  • the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a Changes in position of components, presence or absence of user contact with electronic device 800 , electronic device 800 orientation or acceleration/deceleration and temperature changes in electronic device 800 .
  • Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications.
  • CMOS complementary metal-oxide-semiconductor
  • CCD charge-coupled device
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wide Band
  • Bluetooth Bluetooth
  • electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • a non-volatile computer-readable storage medium such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
  • FIG. 4 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure.
  • electronic device 1900 may be provided as a server.
  • electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs.
  • the application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions.
  • the processing component 1922 is configured to execute instructions to perform the above method.
  • Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 .
  • the electronic device 1900 can operate based on the operating system stored in the memory 1932, such as the Microsoft server operating system (Windows Server TM ), the graphical user interface-based operating system (Mac OS X TM ) introduced by Apple Inc., and the multi-user and multi-process computer operating system (Unix TM ), a free and open-source Unix-like operating system (Linux TM ), an open-source Unix-like operating system (FreeBSD TM ), or the like.
  • Microsoft server operating system Windows Server TM
  • Mac OS X TM graphical user interface-based operating system
  • Unix TM multi-user and multi-process computer operating system
  • Linux TM free and open-source Unix-like operating system
  • FreeBSD TM open-source Unix-like operating system
  • a non-transitory computer-readable storage medium such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
  • the present disclosure can be a system, method and/or computer program product.
  • a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
  • a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
  • a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disc read only memory
  • DVD digital versatile disc
  • memory stick floppy disk
  • mechanically encoded device such as a printer with instructions stored thereon
  • a hole card or a raised structure in a groove and any suitable combination of the above.
  • computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
  • Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
  • LAN local area network
  • WAN wide area network
  • an electronic circuit such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA)
  • FPGA field programmable gate array
  • PDA programmable logic array
  • These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the computer program product can be specifically realized by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
  • a software development kit Software Development Kit, SDK

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a data annotation method and apparatus, and an electronic device and a storage medium, which method is applied to the field of intelligent vehicles. The method comprises: acquiring an object to be annotated; presenting, to a user interaction interface, a target annotation tool, which corresponds to an annotation task type of said object, among a plurality of annotation tools; and in response to an annotation operation that is executed on the basis of the target annotation tool, obtaining annotation information of said object. By means of the embodiments of the present disclosure, an annotation tool can be quickly and accurately provided according to the type of an annotation task, and a data annotation scheme required in the research and development process of intelligent vehicles can be clear and definite for traditional vehicle enterprises, so as to make up for the shortcomings of data annotation during the combination of the traditional vehicle enterprises and artificial intelligence technology, thereby reducing the development resources invested in the research and development process.

Description

一种数据标注方法及装置、电子设备和存储介质A data labeling method and device, electronic equipment and storage medium
本申请要求2021年06月24日提交、申请号为202110704502.2,发明名称为“一种数据标注方法及装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on June 24, 2021, with the application number 202110704502.2, and the title of the invention is "a data labeling method and device, electronic equipment, and storage medium", the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种数据标注方法及装置、电子设备和存储介质。The present disclosure relates to the field of computer technology, and in particular to a data labeling method and device, electronic equipment, and a storage medium.
背景技术Background technique
随着人工智能技术在传统工业领域落地应用,汽车行业也迎来了新发展。自动驾驶、智能驾驶舱等新方向逐渐加入到汽车研发领域。在这些方向的研究中,都离不开数据标注。With the application of artificial intelligence technology in traditional industrial fields, the automotive industry has also ushered in new developments. New directions such as autonomous driving and intelligent cockpit are gradually added to the field of automotive research and development. In the research of these directions, data annotation is inseparable.
然而,对于传统车企而言,由于缺乏系统的人工智能解决方案,企业内部数据标注解决方案过于零散,往往在面对单个检测识别任务时,仅制定单一的标注方案;加之,企业研发力量所限,难以针对企业自身的自动驾驶和智能驾驶舱研发的需要,快速精准的打造出所需的标注工具平台、明确研发过程中所需的数据标注方案。因此,亟需一个完整系统的数据标注解决方案。However, for traditional car companies, due to the lack of systematic artificial intelligence solutions, the enterprise's internal data labeling solutions are too fragmented, and they often only formulate a single labeling solution when facing a single detection and recognition task; Due to the limitations, it is difficult to quickly and accurately create the required labeling tool platform and clarify the data labeling scheme required in the research and development process according to the needs of the company's own autonomous driving and intelligent cockpit research and development. Therefore, a complete and systematic data labeling solution is urgently needed.
发明内容Contents of the invention
本公开提出了一种数据标注技术方案。The present disclosure proposes a data labeling technical solution.
根据本公开的一方面,提供了一种数据标注方法,应用于智能汽车领域,包括:According to an aspect of the present disclosure, a data labeling method is provided, which is applied in the field of smart cars, including:
获取待标注对象;Get the object to be marked;
将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面;Presenting a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to a user interaction interface;
响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。In response to the labeling operation performed based on the target labeling tool, labeling information of the object to be labelled is obtained.
在一种可能的实现方式中,所述将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面,包括:In a possible implementation manner, the presenting the target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to a user interaction interface includes:
接收用户输入的数据领域选择指令,所述数据领域选择指令用于确定待标注对象所属的目标数据领域,所述目标数据领域包括智能汽车领域;Receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,并开启所述目标标注工具的使用权限,展示在标注界面供用户使用。According to the determined target data field, a target labeling tool for labeling objects to be labeled in the target data field is determined from the tool set, and the use authority of the target labeling tool is enabled, and displayed on the labeling interface for users to use.
在一种可能的实现方式中,在获取待标注对象后,所述方法还包括:In a possible implementation manner, after acquiring the object to be labeled, the method further includes:
响应于用户对所述多个标注工具的选择操作,将用户选择的标注工具作为目标标注工具。In response to the user's selection operation on the plurality of annotation tools, the annotation tool selected by the user is used as the target annotation tool.
在一种可能的实现方式中,在获取待标注对象后,所述方法还包括:In a possible implementation manner, after acquiring the object to be labeled, the method further includes:
对所述待标注对象的标注任务类型进行识别,得到目标标注任务类型;Identifying the labeling task type of the object to be labeled to obtain the target labeling task type;
根据预设的标注任务类型与标注工具之间的对应关系,确定与所述目标标注任务类型具备对应关系的标注工具,作为目标标注工具。According to the preset corresponding relationship between the labeling task type and the labeling tool, a labeling tool having a corresponding relationship with the target labeling task type is determined as the target labeling tool.
在一种可能的实现方式中,所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:In a possible implementation manner, the obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述目标标注工具执行的位置标注操作,将标注的位置作为标注的目标物体的位置;In response to the position labeling operation performed based on the target labeling tool, using the marked position as the position of the marked target object;
将预先设置的默认属性作为标注的目标物体的属性。Use the pre-set default attributes as the attributes of the marked target object.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括车道线标注任务,与所述车道线标注任务对应的目标标注工具包括线条工具和车道线属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述线条工具的线条绘制操作,将绘制的线条所指示的区域作为标注的车道线所在的位置;In response to the line drawing operation based on the line tool, using the area indicated by the drawn line as the location of the labeled lane line;
响应于基于所述车道线属性标注工具的车道线属性选取操作,确定标注的车道线的属性。In response to the lane line attribute selection operation based on the lane line attribute labeling tool, the attribute of the marked lane line is determined.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括可行驶区域标注任务,与所述可行驶区域标注任务对应的目标标注工具包括多边形工具;In a possible implementation manner, the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述多边形工具的多边形绘制操作,将绘制的多边形所在的区域作为标注的可行驶区域的位置。In response to the polygon drawing operation based on the polygon tool, the area where the drawn polygon is located is used as the location of the marked drivable area.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括目标对象标注任务,与所述目标对象标注任务对应的目标标注工具包括矩形框工具和目标对象属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的目标对象所在的位置;In response to the rectangle frame drawing operation based on the rectangle frame tool, the area surrounded by the drawn rectangle frame is used as the location of the marked target object;
响应于针对目标对象属性标注工具的属性选取操作,确定所述待标注对象中标注的目标对象的属性。In response to the attribute selection operation of the target object attribute labeling tool, the attribute of the target object marked among the objects to be marked is determined.
在一种可能的实现方式中,所述待标注对象为点云图像,所述标注任务类型包括点云对象标注任务,与所述点云对象标注任务对应的目标标注工具包括多个点云对象框选工具,所述多个点云对象框选工具对应不同的点云对象属性;In a possible implementation, the object to be labeled is a point cloud image, the labeling task type includes a point cloud object labeling task, and the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects A frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于点云对象框选工具选取操作,确定所述多个点云对象框选工具中的目标点云对象框选工具;In response to a point cloud object marquee tool selection operation, determine a target point cloud object marquee tool in the plurality of point cloud object marquee tools;
响应于基于所述目标点云对象框选工具的框选操作,将框选的区域作为标注的点云对象所在的位置,将所述目标点云框选工具对应的点云对象属性,作为标注的点云对象的属性。In response to the frame selection operation based on the target point cloud object frame selection tool, the framed area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the label Properties of the point cloud object.
在一种可能的实现方式中,所述标注任务类型包括乘客属性标注任务,与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具;In a possible implementation, the labeling task type includes a passenger attribute labeling task, and the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的乘客所在的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked passenger;
响应于基于所述乘客属性标注工具的乘客属性选取操作,确定标注的乘客的至少一个属性。In response to a passenger attribute selection operation based on the passenger attribute annotation tool, at least one attribute of the annotated passenger is determined.
在一种可能的实现方式中,所述标注任务类型包括人脸标注任务,与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation, the tagging task type includes a face tagging task, and the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的人脸所在的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the location of the marked human face;
响应于基于所述关键点标注工具的关键点标注操作,确定标注的人脸中的人脸关键点。In response to the key point labeling operation based on the key point labeling tool, the key points of the human face in the labeled human face are determined.
在一种可能的实现方式中,所述标注任务类型包括手势标注任务,与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation manner, the labeling task type includes a gesture labeling task, and the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的手部所在的位置;In response to the rectangle frame drawing operation based on the rectangle frame tool, the area surrounded by the drawn rectangle frame is used as the position of the marked hand;
响应于基于所述关键点标注工具的关键点标注操作,确定标注的手部的关键点。In response to a key point labeling operation based on the key point labeling tool, key points of the marked hand are determined.
在一种可能的实现方式中,所述标注任务类型包括驾驶疲劳标注任务,与所述驾驶疲劳任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具;In a possible implementation, the labeling task type includes a driving fatigue labeling task, and the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的疲劳检测目标的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked fatigue detection target;
响应于基于所述疲劳属性标注工具的关键点标注操作,确定标注的疲劳检测目标的属性。In response to the key point labeling operation based on the fatigue property labeling tool, the property of the labelled fatigue detection target is determined.
在一种可能的实现方式中,所述标注任务类型包括危险驾驶标注任务,与所述危险驾驶任务对应的目标标注工具包括矩形框工具和危险属性标注工具;In a possible implementation, the labeling task type includes a dangerous driving labeling task, and the target labeling tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute labeling tool;
所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的危险驾驶检测目标的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked dangerous driving detection target;
响应于基于所述危险属性标注工具的属性选择操作,确定标注的危险驾驶检测目标的属性。In response to the attribute selection operation based on the dangerous attribute tagging tool, the tagged attribute of the dangerous driving detection target is determined.
根据本公开的一方面,提供了一种数据标注装置,应用于智能汽车领域,包括:According to an aspect of the present disclosure, a data labeling device is provided, which is applied in the field of smart cars, including:
标注对象获取单元,用于获取待标注对象;An annotation object acquisition unit, configured to acquire an object to be annotated;
目标标注工具展示单元,用于将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面;A target labeling tool display unit, configured to present a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface;
标注信息确定单元,用于响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。A labeling information determining unit, configured to obtain labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool.
在一种可能的实现方式中,所述目标标注工具展示单元,包括:In a possible implementation manner, the target labeling tool display unit includes:
数据领域确定单元,用于接收用户输入的数据领域选择指令,所述数据领域选择指令用于确定待标注对象所属的目标数据领域,所述目标数据领域包括智能汽车领域;A data field determination unit, configured to receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
目标标注工具展示子单元,用于根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,并开启所述目标标注工具的使用权限,展示在标注界面供用户使用。The target labeling tool display subunit is used to determine the target labeling tool for labeling objects to be labeled in the target data field from the tool set according to the determined target data field, and enable the use authority of the target labeling tool, which is displayed in the labeling The interface is for the user to use.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第一目标标注工具确定单元,用于响应于用户对所述多个标注工具的选择操作,将用户选择的标注工具作为目标标注工具。The first target marking tool determination unit is configured to use the marking tool selected by the user as the target marking tool in response to the user's selection operation on the multiple marking tools.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第二目标标注工具确定单元,用于对所述待标注对象的标注任务类型进行识别,得到目标标注任 务类型;根据预设的标注任务类型与标注工具之间的对应关系,确定与所述目标标注任务类型具备对应关系的标注工具,作为目标标注工具。The second target labeling tool determining unit is configured to identify the labeling task type of the object to be labeled to obtain the target labeling task type; determine the target labeling task type according to the preset corresponding relationship between the labeling task type and the labeling tool The labeling task type has a corresponding labeling tool as the target labeling tool.
在一种可能的实现方式中,所述标注信息确定单元,包括:In a possible implementation manner, the marking information determining unit includes:
目标物体位置确定单元,用于响应于基于所述目标标注工具执行的位置标注操作,将标注的位置作为标注的目标物体的位置;a target object position determining unit, configured to use the marked position as the marked position of the target object in response to the position marking operation performed based on the target marking tool;
目标物体属性确定单元,用于将预先设置的默认属性作为标注的目标物体的属性。The target object attribute determining unit is used to use the preset default attribute as the attribute of the marked target object.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括车道线标注任务,与所述车道线标注任务对应的目标标注工具包括线条工具和车道线属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
所述标注信息确定单元,用于响应于基于所述线条工具的线条绘制操作,将绘制的线条所指示的区域作为标注的车道线所在的位置;响应于基于所述车道线属性标注工具的车道线属性选取操作,确定标注的车道线的属性。The marking information determining unit is configured to respond to the line drawing operation based on the line tool, use the area indicated by the drawn line as the location of the marked lane line; respond to the lane of the tool based on the lane line attribute The line attribute selection operation determines the attribute of the marked lane line.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括可行驶区域标注任务,与所述可行驶区域标注任务对应的目标标注工具包括多边形工具;In a possible implementation manner, the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
所述标注信息确定单元,用于响应于基于所述多边形工具的多边形绘制操作,将绘制的多边形所在的区域作为标注的可行驶区域的位置。The marking information determining unit is configured to use the area where the drawn polygon is located as the position of the marked drivable area in response to the polygon drawing operation based on the polygon tool.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括目标对象标注任务,与所述目标对象标注任务对应的目标标注工具包括矩形框工具和目标对象属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的目标对象所在的位置;响应于针对目标对象属性标注工具的属性选取操作,确定所述待标注对象中标注的目标对象的属性。The marking information determination unit is configured to respond to the drawing operation of the rectangular frame based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked target object; The attribute selection operation determines the attribute of the target object marked in the object to be marked.
在一种可能的实现方式中,所述待标注对象为点云图像,所述标注任务类型包括点云对象标注任务,与所述点云对象标注任务对应的目标标注工具包括多个点云对象框选工具,所述多个点云对象框选工具对应不同的点云对象属性;In a possible implementation, the object to be labeled is a point cloud image, the labeling task type includes a point cloud object labeling task, and the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects A frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes;
所述标注信息确定单元,用于响应于点云对象框选工具选取操作,确定所述多个点云对象框选工具中的目标点云对象框选工具;响应于基于所述目标点云对象框选工具的框选操作,将框选的区域作为标注的点云对象所在的位置,将所述目标点云框选工具对应的点云对象属性,作为标注的点云对象的属性。The label information determining unit is configured to determine a target point cloud object frame selection tool among the plurality of point cloud object frame selection tools in response to a point cloud object frame selection tool selection operation; In the frame selection operation of the frame selection tool, the frame selected area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the property of the marked point cloud object.
在一种可能的实现方式中,所述标注任务类型包括乘客属性标注任务,与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具;In a possible implementation, the labeling task type includes a passenger attribute labeling task, and the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的乘客所在的位置;响应于基于所述乘客属性标注工具的乘客属性选取操作,确定标注的乘客的至少一个属性。The labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the location of the marked passenger; Passenger attribute selection operation to determine at least one attribute of the marked passenger.
在一种可能的实现方式中,所述标注任务类型包括人脸标注任务,与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation, the tagging task type includes a face tagging task, and the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的人脸所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标 注的人脸中的人脸关键点。The labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked human face; The key point labeling operation of the tool determines the key points of the face in the marked face.
在一种可能的实现方式中,所述标注任务类型包括手势标注任务,与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation manner, the labeling task type includes a gesture labeling task, and the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的手部所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标注的手部的关键点。The labeling information determination unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the position of the marked hand; The key point labeling operation of the tool determines the key points of the marked hand.
在一种可能的实现方式中,所述标注任务类型包括驾驶疲劳标注任务,与所述驾驶疲劳任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具;In a possible implementation, the labeling task type includes a driving fatigue labeling task, and the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的疲劳检测目标的位置;响应于基于所述疲劳属性标注工具的关键点标注操作,确定标注的疲劳检测目标的属性。The labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked; The key point labeling operation of the tool determines the attributes of the labeled fatigue detection target.
在一种可能的实现方式中,所述标注任务类型包括危险驾驶标注任务,与所述危险驾驶任务对应的目标标注工具包括矩形框工具和危险属性标注工具;In a possible implementation, the labeling task type includes a dangerous driving labeling task, and the target labeling tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute labeling tool;
所述标注信息确定单元,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的危险驾驶检测目标的位置;响应于基于所述危险属性标注工具的属性选择操作,确定标注的危险驾驶检测目标的属性。The labeling information determining unit is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target; The attribute selection operation of the labeling tool determines the attributes of the marked dangerous driving detection target.
根据本公开的一方面,提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。According to an aspect of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above-mentioned method.
根据本公开的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。According to one aspect of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
根据本公开的一方面,提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器用于实现上述方法。According to an aspect of the present disclosure, there is provided a computer program product, including computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in an electronic device When running in the processor, the processor in the electronic device is used to implement the above method.
在本公开实施例中,在获取待标注对象后,可以将多个标注工具中与待标注对象的标注任务类型对应的目标标注工具呈现至用户交互界面,用户可以基于目标标注工具执行标注操作,得到待标注对象的标注信息。由此,能够依据标注任务类型快速精准地提供标注工具,能够为传统车企明确智能汽车研发过程中所需的数据标注方案,以弥补传统车企与人工智能技术结合中的数据标注短板,减少了研发过程中投入的开发资源。In the embodiment of the present disclosure, after obtaining the object to be marked, the target marking tool corresponding to the marking task type of the object to be marked among the multiple marking tools can be presented to the user interaction interface, and the user can perform the marking operation based on the target marking tool, Obtain the labeling information of the object to be labeled. As a result, labeling tools can be quickly and accurately provided according to the type of labeling task, and the data labeling scheme required for the development of smart cars can be clarified for traditional car companies to make up for the shortcomings of data labeling in the combination of traditional car companies and artificial intelligence technology. The development resources invested in the research and development process are reduced.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings here are incorporated into the description and constitute a part of the present description. These drawings show embodiments consistent with the present disclosure, and are used together with the description to explain the technical solution of the present disclosure.
图1示出根据本公开实施例的数据标注方法的流程图。Fig. 1 shows a flowchart of a data labeling method according to an embodiment of the present disclosure.
图2示出根据本公开实施例的一种数据标注装置的框图。Fig. 2 shows a block diagram of a data labeling device according to an embodiment of the present disclosure.
图3示出根据本公开实施例的一种电子设备的框图。Fig. 3 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
图4示出根据本公开实施例的一种电子设备的框图。Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of the more, for example, including at least one of A, B, and C, which may mean including from A, Any one or more elements selected from the set formed by B and C.
另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present disclosure may be practiced without some of the specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the gist of the present disclosure.
本公开实施例提供一种数据标注方案,能够适用于多种场景下的标注任务,并获得标注信息。该方法能够广泛适用于智能汽车领域对于标注的需求,并且节省了时间和人力。Embodiments of the present disclosure provide a data labeling solution, which can be applied to labeling tasks in various scenarios and obtain labeling information. This method can be widely applied to the labeling requirements in the field of smart cars, and saves time and manpower.
本公开实施例提供的数据标注的方法,可以对智能汽车行业中用于神经网络训练的样本进行标注,利用标注得到的标注信息可以对神经网络进行训练,基于训练好的神经网络可以实现自动驾驶和智能驾驶舱等业务。具体的标注场景例如可以包括:车道线标注、可行驶区域标注、目标对象标注、点云对象标注、乘客属性标注、人脸标注、手势标注、驾驶疲劳标注、危险驾驶标注等。The data labeling method provided by the embodiments of the present disclosure can label the samples used for neural network training in the smart car industry, use the label information obtained by labeling to train the neural network, and realize automatic driving based on the trained neural network and smart cockpits. Specific labeling scenarios may include, for example: lane line labeling, drivable area labeling, target object labeling, point cloud object labeling, passenger attribute labeling, face labeling, gesture labeling, driving fatigue labeling, dangerous driving labeling, etc.
在一种可能的实现方式中,所述数据标注方法可以由终端设备或服务器等电子设备执行,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,所述方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过服务器执行所述方法。In a possible implementation, the data labeling method may be performed by electronic devices such as terminal devices or servers, and the terminal devices may be user equipment (User Equipment, UE), mobile devices, user terminals, terminals, cellular phones, cordless Phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc., the method can be realized by calling the computer-readable instructions stored in the memory by the processor. Alternatively, the method may be performed by a server.
为便于描述,本说明书一个或多个实施例中,身份认证方法的执行主体可以是标注平台,后文以执行主体为标注平台为例,对该方法的实施方式进行介绍。可以理解,该方法的执行主体为标注平台只是一种示例性的说明,并不应理解为对该方法的限定。For ease of description, in one or more embodiments of this specification, the execution subject of the identity authentication method may be a labeling platform, and the implementation of the method will be introduced later by taking the execution subject as the labeling platform as an example. It can be understood that the execution subject of the method is an annotation platform, which is only an exemplary description, and should not be understood as a limitation of the method.
本公开实施例的标注方法还可以应用在其它涉及到多种标注任务类型的技术领域,本公开实施例对此不做具体的限制。下面主要以智能汽车领域作为目标领域进行示例说明。The labeling method of the embodiments of the present disclosure may also be applied in other technical fields involving various types of labeling tasks, which is not specifically limited in the embodiments of the present disclosure. The following mainly takes the smart car field as the target field to illustrate.
图1示出根据本公开实施例的数据标注方法的流程图,如图1所示,所述数据标注方法包括:FIG. 1 shows a flowchart of a data labeling method according to an embodiment of the present disclosure. As shown in FIG. 1 , the data labeling method includes:
在步骤S11中,获取待标注对象。In step S11, the object to be marked is obtained.
用户可以通过用户交互界面的菜单将待标注对象进行加载,或者通过直接拖拽的方式将待标注对象拖拽到用户交互界面的指定区域,以完成对标注对象的加载。通过对待标注对象进行加载以实现对 待标注对象的获取。The user can load the object to be marked through the menu of the user interaction interface, or drag the object to be marked to the designated area of the user interaction interface by directly dragging and dropping, so as to complete the loading of the mark object. The acquisition of the object to be marked is realized by loading the object to be marked.
待标注对象可以为一幅或多幅图像;也可以为视频中的单帧或多帧。在待标注对象中所标注出来的人物、物体、景物为目标物体,后续步骤中,对目标物体的标注操作将在待标注对象上进行。The object to be labeled can be one or more images; it can also be a single frame or multiple frames in a video. The people, objects, and scenery marked in the object to be marked are the target object, and in the subsequent steps, the marking operation on the target object will be performed on the object to be marked.
待标注对象中所展现的内容可以为:道路路面、道路标识、道路车辆、道路行人、车舱内部驾驶员脸部、手部、肢体、以及车舱内部乘客脸部、手部、肢体等等,这些所展现的内容中会包含需要标注出来的目标物体。此外,不同的应用场景下待标注对象中所需标注的目标物体可以不同。The content displayed in the object to be marked can be: road pavement, road signs, road vehicles, road pedestrians, the driver's face, hands, and limbs inside the cabin, and the faces, hands, and limbs of passengers inside the cabin, etc. , the displayed content will contain the target objects that need to be marked. In addition, the target objects to be marked among the objects to be marked may be different in different application scenarios.
在步骤S12中,将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面。In step S12, a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools is presented to the user interface.
获得待标注的对象后,用户可以确定标注任务的类型。这里的标注任务的类型,可以包括:车道线检测、可行驶区域分割、目标检测、点云标注等。根据确定的标注任务类型,可以选择适合的标注工具作为目标标注工具。After obtaining the object to be labeled, the user can determine the type of labeling task. The types of labeling tasks here can include: lane line detection, drivable area segmentation, target detection, point cloud labeling, etc. According to the determined labeling task type, a suitable labeling tool can be selected as the target labeling tool.
各类标注任务可以对应至少一个目标标注工具。这里的目标标注工具可以为用于在待标注对象中标注目标物体的控件,比如:线条工具、多边形工具、矩形框工具等。Various labeling tasks can correspond to at least one target labeling tool. The target marking tool here may be a control for marking the target object in the object to be marked, such as: a line tool, a polygon tool, a rectangular box tool, and the like.
上述这些控件可以呈现在用户交互界面中预先设置的位置。The aforementioned controls may be presented at preset positions in the user interaction interface.
在步骤S13中,响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。In step S13, the labeling information of the object to be labeled is obtained in response to the labeling operation performed based on the target labeling tool.
用户使用步骤S12中呈现的目标标注工具,在步骤S11中获得的待标注对象中,按照标注任务进行标注操作,标注目标物体。这里的标注操作,可以理解为,用户可以使用目标标注工具,确定能够标识目标物体的点,以及点之间的连线,利用这些点和连线确定所要标注物体的位置或范围,并标注物体的属性。当完成标注操作后,便获得了被标注的物体的位置、范围、属性等标注信息。The user uses the target labeling tool presented in step S12 to perform labeling operations according to the labeling task among the objects to be labeled obtained in step S11 to label the target object. The labeling operation here can be understood as that the user can use the target labeling tool to determine the points that can identify the target object and the lines between the points, use these points and lines to determine the position or range of the object to be marked, and mark the object properties. After the labeling operation is completed, labeling information such as the position, range, and attribute of the marked object is obtained.
在本公开实施例中,在获取待标注对象后,可以将多个标注工具中与待标注对象的标注任务类型对应的目标标注工具呈现至用户交互界面,用户可以基于目标标注工具执行标注操作,得到待标注对象的标注信息。由此,能够依据标注任务类型快速精准地提供标注工具,能够为传统车企明确智能汽车研发过程中所需的数据标注方案,以弥补传统车企与人工智能技术结合中的数据标注短板,减少了研发过程中投入的开发资源。In the embodiment of the present disclosure, after obtaining the object to be marked, the target marking tool corresponding to the marking task type of the object to be marked among the multiple marking tools can be presented to the user interaction interface, and the user can perform the marking operation based on the target marking tool, Obtain the labeling information of the object to be labeled. As a result, labeling tools can be quickly and accurately provided according to the type of labeling task, and the data labeling scheme required for the development of smart cars can be clarified for traditional car companies to make up for the shortcomings of data labeling in the combination of traditional car companies and artificial intelligence technology. The development resources invested in the research and development process are reduced.
在一种可能的实现方式中,在获取待标注对象后,所述方法还包括:响应于用户对所述多个标注工具的选择操作,将用户选择的标注工具作为目标标注工具。In a possible implementation manner, after acquiring the object to be marked, the method further includes: responding to a user's selection operation on the multiple marking tools, using the marking tool selected by the user as a target marking tool.
在获得待标注对象后,用户可以根据待标注物体的形状等特点,在多个标注工具中选择目标标注工具。例如,可以选择矩形框工具对交通灯、路牌、标识牌等进行框选标注;可以选择线条对车道线进行标注。After obtaining the object to be labeled, the user can select the target labeling tool among multiple labeling tools according to the shape and other characteristics of the object to be labelled. For example, you can select the rectangular frame tool to mark traffic lights, street signs, signboards, etc.; you can select lines to mark lane lines.
在一种可能的实现方式中,在获取待标注对象后,所述方法还包括:对所述待标注对象的标注任务类型进行识别,得到目标标注任务类型;根据预设的标注任务类型与标注工具之间的对应关系,确定与所述目标标注任务类型具备对应关系的标注工具,作为目标标注工具。In a possible implementation, after acquiring the object to be labeled, the method further includes: identifying the labeling task type of the object to be labeled to obtain the target labeling task type; according to the preset labeling task type and labeling The corresponding relationship between tools is to determine the labeling tool that has a corresponding relationship with the target labeling task type as the target labeling tool.
在该实现方式中,可以根据用户设定的标注任务的应用场景,确定目标标注任务类型;或者,可以基于图像识别技术,根据待标注的图像、视频的内容,确定目标标注任务类型。示例一,用户设定的标注任务的应用场景为检测驾驶员是否疲劳驾驶,便可以确定标注任务的类型是:驾驶员疲劳检测。示例二,待标注对象(图像)内容为路面,可以确定标注任务类型为:车道线检测。In this implementation, the target labeling task type can be determined according to the application scenario of the labeling task set by the user; or, based on the image recognition technology, the target labeling task type can be determined according to the content of the image or video to be labeled. Example 1, if the application scenario of the labeling task set by the user is to detect whether the driver is fatigued driving, it can be determined that the type of the labeling task is: driver fatigue detection. Example 2, the content of the object (image) to be labeled is a road surface, and the labeling task type can be determined as: lane line detection.
在一种可能的实现方式中,也可以在用户交互界面的选项卡中显示“标注任务”菜单,然后接收用户基于“标注任务”菜单所选定的标注任务的类型,作为目标标注任务类型。In a possible implementation manner, a "labeling task" menu may also be displayed in a tab of the user interaction interface, and then the type of labeling task selected by the user based on the "labeling task" menu may be received as the target labeling task type.
为了适配不同的标注任务类型,可以预先建立目标标注工具与标注任务类型之间的对应关系。基于该对应关系,即可确定与得到的目标标注任务类型对应的目标标注工具,并将目标标注工具呈现在用户交互界面。In order to adapt to different labeling task types, the corresponding relationship between target labeling tools and labeling task types can be established in advance. Based on the corresponding relationship, the target labeling tool corresponding to the obtained target labeling task type can be determined, and the target labeling tool can be presented on the user interaction interface.
示例性的,当确定的目标标注任务类型为“可行驶区域分割”时。可以使用多边形工具作为标注可行驶区域的工具。Exemplarily, when the determined target labeling task type is "drivable area segmentation". You can use the polygon tool as a tool to label drivable areas.
在本公开实施例中,通过将标注任务进行分类,并且将标注任务类型与标注工具进行关联,在确定目标标注任务类型后,即可获得相应的目标标注工具,提高了标注的效率。In the embodiment of the present disclosure, by classifying the labeling tasks and associating the labeling task type with the labeling tool, after the target labeling task type is determined, the corresponding target labeling tool can be obtained, which improves the efficiency of labeling.
在一种可能的实现方式中,所述将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面,包括:接收用户输入的数据领域选择指令,所述数据领域选择指令用于确定待标注对象所属的目标数据领域,所述目标数据领域包括智能汽车领域;根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,并开启所述目标标注工具的使用权限,展示在标注界面供用户使用。In a possible implementation manner, the presenting the target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interaction interface includes: receiving a data field selection instruction input by the user, The data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field; according to the determined target data field, determine the object to be marked for marking the target data field from the tool set target labeling tool, and enable the permission to use the target labeling tool, and display it on the labeling interface for users to use.
本公开提供的数据标注方法能够适用于多种数据领域中的标注任务,这里的数据领域可用是人工智能技术所应用的领域,例如智能汽车领域、智能零售领域、智能安防领域等等,而针对不同的数据领域,所使用的的标注工具往往是确定的,因此,在本实现方式中,可以依据待标注对象所属的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,以提高标注效率。The data labeling method provided in this disclosure can be applied to labeling tasks in various data fields. The data field here can be the field where artificial intelligence technology is applied, such as the field of smart cars, smart retail, and smart security. For different data fields, the labeling tools used are often determined. Therefore, in this implementation, the object to be labeled for labeling the target data field can be determined from the tool set according to the target data field to which the object to be labeled belongs. target labeling tool to improve labeling efficiency.
目标数据领域可以是基于用户输入的数据领域选择指令来确定的,由此,用户可以自行选择待标注对象所属的目标数据领域。例如,在待标注对象属于智能汽车领域的情况下,用户可以基于用户操作界面来选择智能汽车领域。The target data field may be determined based on a data field selection instruction input by the user, so that the user can select the target data field to which the object to be marked belongs. For example, in the case that the object to be labeled belongs to the field of smart cars, the user can select the field of smart cars based on the user operation interface.
在该实现方式中,工具集中可以包括多种工具,例如线条工具、多边形工具、矩形框工具、属性标注工具等等,为便于依据数据领域来确定目标标注工具,可以预先建立数据领域和标注工具之间的对应关系,即预先确定各数据领域所对应的标注工具。那么,在确定了目标数据领域后,可以依据该对应关系,从工具集中确定与目标数据领域对应的标注工具,作为目标标注工具。In this implementation, the tool set can include a variety of tools, such as line tools, polygon tools, rectangular box tools, attribute labeling tools, etc. In order to facilitate the determination of target labeling tools based on data fields, data fields and labeling tools can be pre-established The corresponding relationship between them, that is, to predetermine the corresponding labeling tools for each data field. Then, after the target data field is determined, the labeling tool corresponding to the target data field can be determined from the tool set as the target labeling tool according to the corresponding relationship.
针对确定出的目标标注工具,将会开启其使用权限,并展示在标注界面中,由此,标注人员可以基于该目标标注工具执行标注任务。For the determined target labeling tool, its usage permission will be enabled and displayed in the labeling interface, so that labelers can perform labeling tasks based on the target labeling tool.
在本公开实施例中,基于用户输入的数据领域选择指令确定目标数据领域,然后根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,供用户使用。由此,能够快速地向用户提供执行标注任务所需的标注工具,大大减少标注时间和人力成本,提高了标注工具的便利性。In the embodiment of the present disclosure, the target data field is determined based on the data field selection instruction input by the user, and then according to the determined target data field, the target labeling tool for marking the object to be marked in the target data field is determined from the tool set for the user use. As a result, the labeling tool required to perform the labeling task can be quickly provided to the user, greatly reducing labeling time and labor costs, and improving the convenience of the labeling tool.
在一种可能的实现方式中,所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述目标标注工具执行的位置标注操作,将标注的位置作为标注的目标物体的位置;将预先设置的默认属性作为标注的目标物体的属性。In a possible implementation manner, the obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes: in response to the position labeling operation performed based on the target labeling tool, Use the marked position as the position of the marked target object; use the preset default attribute as the property of the marked target object.
目标物体的位置可以基于多边形工具、矩形框工具等工具进行标注得到,用户通过操作多边形工具、矩形框工具等来确定标注的目标物体的位置。The position of the target object can be obtained by marking based on tools such as a polygon tool and a rectangular frame tool. The user determines the position of the marked target object by operating the polygon tool or the rectangular frame tool.
为了减少标注时间和人力成本,可以将获取目标物体的位置和赋予目标物体属性合为一个步骤,即预先设置一个默认属性,该默认属性可以是开发人员预先设置,或者也可以是由标注人员自行设置,当基于多边形工具、矩形框工具等工具标注出目标物体的位置后,即自动为标注出的目标位置赋予默认的属性,由此,大大减少标注时间和人力成本,提高了标注工具的便利性。In order to reduce labeling time and labor costs, it is possible to combine the acquisition of the target object’s position and the attribute of the target object into one step, that is, to pre-set a default attribute, which can be preset by the developer, or it can also be set by the labeler himself. Setting, when the position of the target object is marked based on tools such as the polygon tool and the rectangular frame tool, the marked target position is automatically given default attributes, thereby greatly reducing the marking time and labor costs, and improving the convenience of the marking tool sex.
接下来根据多种标注任务的类型,示例性地介绍本公开实施例的数据标注方法的可能的实现方式。Next, according to the types of various labeling tasks, possible implementations of the data labeling method in the embodiments of the present disclosure are exemplarily introduced.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括车道线标注任务,与所述车道线标注任务对应的目标标注工具包括线条工具和车道线属性标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述线条工具的线条绘制操作,将绘制的线条所指示的区域作为标注的车道线所在的位置;响应于基于所述车道线属性标注工具的车道线属性选取操作,确定标注的车道线的属性。In a possible implementation, the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool; the response to Obtaining the labeling information of the object to be labeled based on the labeling operation performed by the target labeling tool includes: responding to the line drawing operation based on the line tool, taking the area indicated by the drawn line as the location of the marked lane line Position; in response to the lane line attribute selection operation based on the lane line attribute labeling tool, determine the attribute of the marked lane line.
示例性地,对应用于车道线检测的图像或视频进行标注时,通过加载或导入的方式,使待标注图像或视频帧在用户交互界面中显示。由于标注的物体为车道线,可以预先设置标注任务类型“车道线标注任务”与线条工具之间的对应关系。基于该对应关系,当确定标注任务类型为“车道线标注任务”时,可以将线条工具呈现在用户交互界面中。Exemplarily, when annotating an image or video applied to lane line detection, the image or video frame to be annotated is displayed in a user interaction interface by means of loading or importing. Since the labeled object is a lane line, the corresponding relationship between the labeling task type "lane line labeling task" and the line tool can be set in advance. Based on the corresponding relationship, when it is determined that the labeling task type is "lane line labeling task", the line tool can be presented in the user interaction interface.
用户可以在用户交互界面中选择线条工具,然后进行线条绘制操作,再选择线条的属性,该属性用于表征车道线的类型,例如,白色实线、白色虚线、左侧车道线、右侧车道线等。或者,用户也可以先完成线条属性的选择,然后再进行线条绘制操作。The user can select the line tool in the user interface, then draw the line, and then select the attribute of the line, which is used to represent the type of lane line, for example, white solid line, white dashed line, left lane line, right lane line etc. Alternatively, the user may complete the selection of the line attributes first, and then perform the line drawing operation.
在用户执行线条绘制操作的过程中,用户可以确定待标注车道线的任一端为起始端,具体可以以该起始端在车道线宽度方向上的中点作为起始点,可以以点击鼠标左键的操作方式确定该起始点的位置,沿车道线用同样的操作方式确定表示该车道线的点,所确定的点应该在车道线上。然后,将车道线的另一端点作为终点,当选择到该终点时,可以点击鼠标右键以完成该条车道线的标注。When the user is performing the line drawing operation, the user can determine any end of the lane line to be marked as the starting point. Specifically, the midpoint of the starting end in the width direction of the lane line can be used as the starting point, and the user can click the left button of the mouse to The operation method determines the position of the starting point, and the same operation method is used to determine the point representing the lane line along the lane line, and the determined point should be on the lane line. Then, take the other end point of the lane line as the end point. When the end point is selected, you can click the right mouse button to complete the labeling of the lane line.
在对图像或者视频中的车道线完成标注后,便获得了车道线的位置(标识车道线各点的坐标)、属性等标注信息。After marking the lane lines in the image or video, the position of the lane line (the coordinates of each point marking the lane line), attributes and other labeling information are obtained.
在本公开实施例中,通过上述方法,可以在完成对车道线的位置标注后,获得车道线的标注信息,提高了车道线标注的效率。In the embodiment of the present disclosure, through the above method, after the position marking of the lane line is completed, the marking information of the lane line can be obtained, which improves the efficiency of marking the lane line.
从成本节约的角度考虑,也可以使用多边形工具对车道线进行标注。这样与本公开提供的其它可以使用多边形工具的标注任务共用同一个标注工具,以节省开发成本。From the perspective of cost saving, you can also use the polygon tool to mark the lane lines. In this way, the same labeling tool can be shared with other labeling tasks that can use the polygon tool provided by the present disclosure, so as to save development costs.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括可行驶区域标注任务,与所述可行驶区域标注任务对应的目标标注工具包括多边形工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述多边形工具的多边形绘制操作,将绘制的多边形所在的区域作为标注的可行驶区域的位置。In a possible implementation, the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool; the response is based on the target The marking operation performed by the marking tool to obtain the marking information of the object to be marked includes: responding to the polygon drawing operation based on the polygon tool, using the area where the drawn polygon is located as the position of the marked drivable area.
示例性地,对图像或视频进行可行驶区域标注时,通过加载或导入的方式,使待标注的图像或视频帧在用户交互界面中显示。在多数情况下,可行驶区域可以为一多边形。那么可以预先设置多边形工具与“可行驶区域标注”标注任务类型之间的对应关系。基于该对应关系,当确定标注任务类型为“可行驶区域标注”后,即可将多边形工具呈现在用户交互界面中。另外,也可以预先设置场景分割工具与“可行驶区域标注”标注任务类型之间的对应关系,当确定标注任务类型为“可行驶区域标注” 后,即可将场景分割工具呈现在交互界面中。Exemplarily, when marking an image or video with a drivable area, the image or video frame to be marked is displayed in the user interaction interface by means of loading or importing. In most cases, the drivable area can be a polygon. Then you can pre-set the corresponding relationship between the polygon tool and the "Drivable Area Labeling" labeling task type. Based on this correspondence, when the labeling task type is determined to be "drivable area labeling", the polygon tool can be presented in the user interface. In addition, it is also possible to pre-set the corresponding relationship between the scene segmentation tool and the "Drivable Area Labeling" labeling task type. When the labeling task type is determined to be "Drivable Area Labeling", the scene segmentation tool can be presented in the interactive interface .
这里的场景分割工具,为预先集成的模块。用户通过粗略选择出需要分割对象的边界,然后该场景分割工具即可依据该边界,精确地确定出待分割对象与背景的边界,以实现对待分割对象的分割。在本公开实施例中,待分割对象可以为车辆可行驶区域。The scene segmentation tool here is a pre-integrated module. The user roughly selects the boundary of the object to be segmented, and then the scene segmentation tool can accurately determine the boundary between the object to be segmented and the background according to the boundary, so as to realize the segmentation of the object to be segmented. In the embodiment of the present disclosure, the object to be segmented may be the driving area of the vehicle.
多边形的属性可以为:可行驶区域、不可行驶区域。用户可以根据标注任务进行选择。可以理解,如果在标注任务中仅需要标注单一类别的区域,例如:仅标注可行驶区域或者仅标注不可行驶区域,那么在标注出的多边形中只有一种属性的情况下,可以无需用户对多边形的属性进行选择,而是直接给出一种默认的属性,由用户标注该默认的属性对应的区域。The attributes of the polygon can be: drivable area, non-drivable area. Users can choose according to the labeling task. It can be understood that if only a single type of area needs to be marked in the labeling task, for example: only the drivable area or only the non-drivable area, then if there is only one attribute in the marked polygon, it is not necessary for the user to modify the polygon Instead, a default attribute is directly given, and the user marks the area corresponding to the default attribute.
在多边形绘制操作的过程中,以可行驶区域标注为例,用户可以选择可行驶区域边界上任意一点为起始点,然后依次确定指示可行驶区域的多个点,这些点可以为可行驶区域边界线条上的拐点,也可以为边界线条上的任意一点,点击鼠标右键添加最后一个点,最后一个点与起始点自动连接,形成多边形,完成多边形的绘制操作,该绘制操作所得到的这个闭合的区域即可确定为可行驶区域。During the polygon drawing operation, taking the drivable area label as an example, the user can select any point on the drivable area boundary as the starting point, and then sequentially determine multiple points indicating the drivable area, which can be the drivable area boundary The inflection point on the line can also be any point on the boundary line. Click the right mouse button to add the last point, the last point is automatically connected with the starting point to form a polygon, and the polygon drawing operation is completed. The closed circle obtained by the drawing operation The area can then be determined as a drivable area.
按照上述方法,即可在图像上确定各可行驶区域,同时获得可行驶区域的范围(坐标)、属性等标注信息,提高了对可行驶区域标注的效率。According to the above method, each drivable area can be determined on the image, and labeling information such as the range (coordinates) and attributes of the drivable area can be obtained at the same time, which improves the efficiency of marking the drivable area.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括目标对象标注任务,与所述目标对象标注任务对应的目标标注工具包括矩形框工具和目标对象属性标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的目标对象所在的位置;响应于针对目标对象属性标注工具的属性选取操作,确定所述待标注对象中标注的目标对象的属性。In a possible implementation, the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular box tool and a target object attribute labeling tool; the response Obtaining the labeling information of the object to be labeled based on the labeling operation performed by the target labeling tool includes: responding to the rectangle frame drawing operation based on the rectangle frame tool, using the area surrounded by the drawn rectangle frame as a label The location of the target object; in response to the attribute selection operation of the target object attribute labeling tool, determine the attribute of the marked target object in the objects to be marked.
在汽车自动驾驶领域中,目标检测例如可以包括对信号灯、交通标志、地表标志、行人、车辆等对象的检测。In the field of automatic driving of automobiles, object detection may include, for example, the detection of objects such as signal lights, traffic signs, surface signs, pedestrians, and vehicles.
在本公开实施例中,可以预先将矩形框工具与“目标对象标注”这一标注任务类型进行关联。在加载待标注对象,确定目标标注任务类型为“目标对象标注”后,即可将矩形框工具呈现在用户交互界面中。用户可以配置矩形框工具的属性,矩形框属性可以包括行人、机动车、非机动车等。用户可以先选择矩形框的属性,再选择矩形框工具进行矩形框绘制操作;或者先选择矩形框工具进行矩形框绘制操作得到矩形框,再配置矩形框的属性。In the embodiment of the present disclosure, the rectangular frame tool may be associated with the labeling task type of "target object labeling" in advance. After the object to be labeled is loaded and the target labeling task type is determined as "target object labeling", the rectangular frame tool can be presented in the user interface. The user can configure the properties of the rectangular box tool, and the properties of the rectangular box can include pedestrians, motor vehicles, non-motor vehicles, etc. The user can first select the properties of the rectangle, and then select the rectangle tool to draw a rectangle; or first select the rectangle tool to draw a rectangle to obtain a rectangle, and then configure the properties of the rectangle.
在进行矩形框绘制操作的过程中,以绘制“行人”属性的矩形框为例,点击鼠标左键创建起始点,对图像中的行人进行框选,再次点击鼠标左键可以完成标注操作。在矩形框结束后,矩形框中行人被该矩形框的上、下、左、右四个边相切。以直角坐标系为例,指示行人位置的各点中,y值最大的点位于矩形框的上边上;指示行人位置的各点中,y值最小的点落在矩形框的下边上;指示行人位置的各点中,x值最大的点位于矩形框的右边上;x值最小的点位于矩形框的左边上。In the process of drawing a rectangular frame, take drawing a rectangular frame with the attribute of "pedestrian" as an example, click the left mouse button to create a starting point, select the pedestrians in the image, and click the left mouse button again to complete the labeling operation. After the rectangular frame ends, the pedestrians in the rectangular frame are tangent to the upper, lower, left and right sides of the rectangular frame. Taking the Cartesian coordinate system as an example, among the points indicating the position of pedestrians, the point with the largest y value is located on the upper side of the rectangular frame; among the points indicating the position of pedestrians, the point with the smallest y value falls on the lower side of the rectangular frame; Among the points at the position, the point with the largest x value is located on the right side of the rectangle; the point with the smallest x value is located on the left side of the rectangle.
然后按照上述过程即可将行人逐一框选出来,并将矩形框的属性配置为“行人”,即可完成对行人的标注。Then, according to the above process, the pedestrians can be selected one by one, and the attribute of the rectangular frame is configured as "pedestrian", and the labeling of pedestrians can be completed.
通过同样的方法,可以完成对其他目标对象的标注,并选取各自的属性,即可得到目标对象的标注信息,提高了目标对象标注的效率。Through the same method, the labeling of other target objects can be completed, and the respective attributes can be selected to obtain the labeling information of the target object, which improves the efficiency of target object labeling.
在一种可能的实现方式中,所述待标注对象为点云图像,所述标注任务类型包括点云对象标注任 务,与所述点云对象标注任务对应的目标标注工具包括多个点云对象框选工具,所述多个点云对象框选工具对应不同的点云对象属性;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于点云对象框选工具选取操作,确定所述多个点云对象框选工具中的目标点云对象框选工具;响应于基于所述目标点云对象框选工具的框选操作,将框选的区域作为标注的点云对象所在的位置,将所述目标点云框选工具对应的点云对象属性,作为标注的点云对象的属性。In a possible implementation, the object to be labeled is a point cloud image, the labeling task type includes a point cloud object labeling task, and the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects A frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes; the response to the labeling operation performed based on the target labeling tool is to obtain the labeling information of the object to be labeled, including: response Based on the point cloud object frame selection tool selection operation, determine the target point cloud object frame selection tool in the multiple point cloud object frame selection tools; in response to the frame selection operation based on the target point cloud object frame selection tool, frame The selected area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the attribute of the marked point cloud object.
示例性地,用户将点云图像加载或导入到用户交互界面。点云图像,是某一坐标系下点的数据集。点云图像中包含了各点的位置信息,此外部分点云图像中也会包含颜色信息、反射强度信息等。Exemplarily, the user loads or imports the point cloud image into the user interaction interface. A point cloud image is a data set of points in a certain coordinate system. The point cloud image contains the position information of each point, and some point cloud images also contain color information, reflection intensity information, etc.
在本公开实施例中,可以预先建立点云对象框选工具与“点云对象标注任务”这一标注任务类型之间的对应关系。基于该对应关系,在确定目标标注任务类型为“点云对象标注任务”后,即可将点云对象框选工具呈现在用户交互界面中。然后用户可以配置点云对象框选工具的属性,该属性例如可以包括人物、树木、车辆等。In the embodiment of the present disclosure, the corresponding relationship between the point cloud object frame selection tool and the labeling task type of "point cloud object labeling task" can be established in advance. Based on the corresponding relationship, after determining the target labeling task type as "point cloud object labeling task", the point cloud object frame selection tool can be presented in the user interface. Then the user can configure the properties of the point cloud object marquee tool, which can include, for example, people, trees, vehicles, and so on.
用户在执行框选操作的过程中,点击鼠标左键创建起始点,拉出矩形框,对点云图像中的目标物体进行框选,再次点击鼠标左键可以完成框选操作。待完成框选操作后,矩形框与所框选的目标物体相切。可以理解,如果待标注对象为3D点云图像,矩形框为立方体,此时,矩形框的各面与目标物体相切。During the frame selection operation, the user clicks the left mouse button to create a starting point, pulls out a rectangular frame, and selects the target object in the point cloud image, and clicks the left mouse button again to complete the frame selection operation. After the frame selection operation is completed, the rectangle frame is tangent to the frame-selected target object. It can be understood that if the object to be marked is a 3D point cloud image and the rectangular frame is a cube, at this time, each surface of the rectangular frame is tangent to the target object.
按照上述方法,即可框选出点云图像中各点云对象,并选取相应的属性,即可获得点云对象的标注信息,提高了点云对象标注的效率。According to the above method, each point cloud object in the point cloud image can be framed and selected, and the corresponding attribute can be selected to obtain the labeling information of the point cloud object, which improves the efficiency of point cloud object labeling.
本公开提供的数据标注方法,除了能够实现上述汽车自动驾驶领域的数据标注任务外,还可用于实现汽车智能驾驶舱领域的数据标注任务,下面对几种可能的实现方式进行详细描述。The data labeling method provided in the present disclosure can not only realize the data labeling task in the field of automobile automatic driving, but also can be used to realize the data labeling task in the field of vehicle intelligent cockpit. Several possible implementation methods are described in detail below.
在一种可能的实现方式中,所述标注任务类型包括乘客属性标注任务,与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的乘客所在的位置;响应于基于所述乘客属性标注工具的乘客属性选取操作,确定标注的乘客的至少一个属性。In a possible implementation, the labeling task type includes a passenger attribute labeling task, and the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool; the response is based on the target The labeling operation performed by the labeling tool is to obtain the labeling information of the object to be labeled, including: responding to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the marked passenger ; determining at least one attribute of an annotated passenger in response to a passenger attribute selection operation based on the passenger attribute annotation tool.
在本公开实施例中,可以预先建立“矩形框工具和乘客属性标注工具”与“乘客属性标注任务”这一标注任务类型之间的对应关系。基于该对应关系,在标注任务类型为乘客属性标注任务的情况下,可以确定与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具,并将该些工具呈现于用户界面中。用户可以选择矩形框工具,然后,在乘客属性标注工具中选择矩形框的属性,例如:乘坐位置、年龄、情绪、是否配戴口罩等属性。此外,在乘客属性标注工具中,还可以设置各属性的多个次级属性,例如,对于“年龄”属性,次级属性可以设置10-20岁、20-30岁等。In the embodiment of the present disclosure, the corresponding relationship between the "rectangular frame tool and passenger attribute labeling tool" and the labeling task type "passenger attribute labeling task" may be established in advance. Based on this correspondence, when the labeling task type is the passenger attribute labeling task, it can be determined that the target labeling tools corresponding to the passenger attribute labeling task include the rectangular box tool and the passenger attribute labeling tool, and present these tools to the user in the interface. The user can select the rectangular frame tool, and then select the attributes of the rectangular frame in the passenger attribute labeling tool, such as: seating position, age, emotion, whether to wear a mask, etc. In addition, in the passenger attribute labeling tool, multiple secondary attributes of each attribute can also be set. For example, for the "age" attribute, the secondary attributes can be set to 10-20 years old, 20-30 years old, etc.
然后,用户使用矩形框工具执行矩形框绘制操作来框选出乘客的位置,矩形框绘制操作的具体过程可参见本公开相关描述,此处不再赘述。完成框选后,所框选的乘客在对应的矩形框中,并且与对应的矩形框相切。所框选的乘客同时获得相应的属性。Then, the user uses the rectangular frame tool to perform a rectangular frame drawing operation to frame the position of the passenger. For the specific process of the rectangular frame drawing operation, please refer to the relevant description of the present disclosure, which will not be repeated here. After the frame selection is completed, the selected passengers are in the corresponding rectangular frame and are tangent to the corresponding rectangular frame. The selected passengers get corresponding attributes at the same time.
此外,还可以先使用矩形框工具框选出乘客,然后再设置矩形框的属性。In addition, you can use the rectangular box tool to select passengers first, and then set the properties of the rectangular box.
按照上述方法,即可框选出图像中的各乘客,并选取相应的属性,得到乘客的标注信息,提高了乘客属性标注的效率。According to the above method, each passenger in the image can be selected by frame, and the corresponding attribute can be selected to obtain the annotation information of the passenger, which improves the efficiency of attribute annotation of the passenger.
在一种可能的实现方式中,所述标注任务类型包括人脸标注任务,与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的人脸所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标注的人脸中的人脸关键点。In a possible implementation, the tagging task type includes a face tagging task, and the target tagging tools corresponding to the face tagging task include a rectangular box tool and a key point tagging tool; the response is based on the target The labeling operation performed by the labeling tool to obtain the labeling information of the object to be labeled includes: in response to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the area where the marked human face is located Position: in response to the key point labeling operation based on the key point labeling tool, determine the key points of the human face in the marked human face.
在本公开实施例中,可以预先建立“矩形框工具和关键点标注工具”与“人脸标注任务”这一标注任务类型之间的对应关系。基于该对应关系,在标注任务类型为人脸标注任务的情况下,可以确定与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具,并将该些工具呈现于用户界面中。用户可以选择矩形框工具,通过矩形框绘制操作框选出人脸所在的位置,矩形框绘制操作的具体过程可参见本公开相关描述,此处不做赘述。通过框选出目标人脸以确定人脸位置,使得矩形框与人脸边缘相切。然后,打开关键点标注工具,设置人脸部关键点的数量,例如:人脸5点、人脸106点。在框选出的目标人脸上用关键点标注工具标注人脸的五官的位置。In the embodiment of the present disclosure, the corresponding relationship between the "rectangular frame tool and the key point labeling tool" and the labeling task type of "face labeling task" can be established in advance. Based on this correspondence, when the labeling task type is a face labeling task, it can be determined that the target labeling tools corresponding to the face labeling task include a rectangular frame tool and a key point labeling tool, and present these tools on the user interface middle. The user can select the rectangular frame tool, and select the position of the face through the rectangular frame drawing operation. The specific process of the rectangular frame drawing operation can be found in the relevant description of this disclosure, and will not be repeated here. Select the target face by frame to determine the position of the face, so that the rectangular frame is tangent to the edge of the face. Then, open the key point labeling tool and set the number of face key points, for example: 5 points for a face, 106 points for a face. Use the key point labeling tool to mark the position of the facial features on the selected target face.
通过上述方法,可以对人脸所在位置进行标注后,获得人脸的标注信息,提高了人脸标注的效率。Through the above method, after marking the position of the face, the marking information of the face can be obtained, which improves the efficiency of face marking.
在一种可能的实现方式中,所述标注任务类型包括手势标注任务,与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的手部所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标注的手部的关键点。In a possible implementation, the labeling task type includes a gesture labeling task, and the target labeling tools corresponding to the gesture labeling task include a rectangular box tool and a key point labeling tool; the response is based on the target labeling tool The labeling operation performed to obtain the labeling information of the object to be labeled includes: responding to the rectangle frame drawing operation based on the rectangle frame tool, using the area surrounded by the drawn rectangle frame as the position of the marked hand; In response to a key point labeling operation based on the key point labeling tool, key points of the marked hand are determined.
在本公开实施例中,可以预先建立“矩形框工具和关键点标注工具”与“手势标注任务”这一标注任务类型之间的对应关系。基于该对应关系,在标注任务类型为手势标注的情况下,可以确定与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具,并将该些工具呈现于用户界面中。用户可以选择矩形框工具,通过矩形框绘制操作框选目标物体,在本示例中目标物体为目标手部,使得矩形框与目标手部边缘相切以确定手的位置。框选的范围包括从人的手指到手腕。In the embodiment of the present disclosure, the corresponding relationship between the "rectangular frame tool and key point labeling tool" and the labeling task type of "gesture labeling task" may be established in advance. Based on the corresponding relationship, when the labeling task type is gesture labeling, it can be determined that the target labeling tools corresponding to the gesture labeling task include a rectangular box tool and a key point labeling tool, and present these tools in the user interface. The user can select the rectangle frame tool and select the target object through the rectangle frame drawing operation. In this example, the target object is the target hand, so that the rectangle frame is tangent to the edge of the target hand to determine the position of the hand. Marquee selection ranges from human fingers to wrists.
然后,打开关键点标注工具,设置手部关键点的数量,例如:人手21点、指尖5点。利用关键点标注工具,在框选出的目标手部上用关键点标注工具标记手部的关节。完成标注后,获得标注的关键点相应的属性(坐标、点间距等)。Then, open the key point labeling tool and set the number of hand key points, for example: 21 points for human hands and 5 points for fingertips. Use the key point labeling tool to mark the joints of the hand on the frame-selected target hand with the key point labeling tool. After the labeling is completed, the corresponding attributes (coordinates, point spacing, etc.) of the key points of the labeling are obtained.
通过上述方法,可以对手部所在位置进行标注后,获得手部的标注信息,提高了手势标注的效率。Through the above method, after marking the position of the hand, the marking information of the hand can be obtained, which improves the efficiency of gesture marking.
在一种可能的实现方式中,所述标注任务类型包括驾驶疲劳标注任务,与所述驾驶疲劳任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的疲劳检测目标的位置;响应于基于所述疲劳属性标注工具的关键点标注操作,确定标注的疲劳检测目标的属性。In a possible implementation, the labeling task type includes a driving fatigue labeling task, and the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool; the response is based on the target labeling The marking operation performed by the tool to obtain the marking information of the object to be marked includes: responding to the drawing operation of the rectangular frame based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked ; In response to the key point labeling operation based on the fatigue property labeling tool, determine the property of the labelled fatigue detection target.
在本公开实施例中,可以预先建立“矩形框工具和疲劳属性标注工具”与“驾驶疲劳标注任务”这一标注任务类型之间的对应关系。基于该对应关系,当标注任务为驾驶疲劳标注任务时,可以确定与所述驾驶疲劳标注任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具,并将该些工具呈现于用户界面中。用户先选择矩形框工具,矩形框框选的对象可以是人眼部和人嘴部,通过矩形框绘 制操作对人眼部和人嘴部进行框选,然后选择矩形框的属性,以人眼部为例,其属性可以包括睁眼、闭眼、不确定等。In the embodiment of the present disclosure, the corresponding relationship between the "rectangular frame tool and fatigue attribute labeling tool" and the labeling task type "driving fatigue labeling task" may be established in advance. Based on the corresponding relationship, when the labeling task is a driving fatigue labeling task, it can be determined that the target labeling tools corresponding to the driving fatigue labeling task include a rectangular frame tool and a fatigue attribute labeling tool, and present these tools in the user interface. The user first selects the rectangle frame tool, and the objects selected by the rectangle frame can be the human eyes and the human mouth. The human eyes and the human mouth are framed by the rectangle frame drawing operation, and then the properties of the rectangle frame are selected to use the human eyes For example, its attributes may include eyes open, eyes closed, uncertain, etc.
在另一种实现方式中,如果待标注对象的清晰度有限,可以先对待标注对象(图像或单帧视频)进行图像分割处理。将图像中人眼部和嘴部框分割出来,并生成眼部图像、嘴部图像。然后将新生成的眼部图像或嘴部图像加载到交互界面中,用户可以在交互界面中选择眼部图像和嘴部图像的属性。In another implementation manner, if the definition of the object to be labeled is limited, image segmentation processing may be performed on the object to be labeled (image or single-frame video). Segment the human eye and mouth frames in the image, and generate eye images and mouth images. Then load the newly generated eye image or mouth image into the interactive interface, and the user can select the attributes of the eye image and the mouth image in the interactive interface.
通过上述方法,可以对疲劳检测目标的位置进行标注,获得疲劳检测目标的标注信息,提高了驾驶疲劳标注任务的效率。在标注对象清晰度有限时,可以提高驾驶疲劳标注的准确性。Through the above method, the position of the fatigue detection target can be marked, and the labeling information of the fatigue detection target can be obtained, which improves the efficiency of the driving fatigue labeling task. When the definition of the labeling object is limited, the accuracy of driving fatigue labeling can be improved.
在另一种实现方式中,所述标注任务类型包括危险驾驶标注任务,与所述危险驾驶任务对应的目标标注工具包括矩形框工具和危险属性标注工具;所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的危险驾驶检测目标的位置;响应于基于所述危险属性标注工具的属性选择操作,确定标注的危险驾驶检测目标的属性。In another implementation, the tagging task type includes a dangerous driving tagging task, and the target tagging tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute tagging tool; the response is based on the target tagging tool The labeling operation performed to obtain the labeling information of the object to be labeled includes: responding to the rectangular frame drawing operation based on the rectangular frame tool, using the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target ; Responding to an attribute selection operation based on the dangerous attribute labeling tool, determining the labelled attribute of the dangerous driving detection target.
在本公开实施例中,可以预先建立“矩形框工具和危险属性标注工具”与“危险驾驶标注任务”这一标注任务类型之间的对应关系。基于该对应关系,当标注任务为危险驾驶标注任务时,可以确定与所述驾驶疲劳标注任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具,并将该些工具呈现于用户界面中。用户先选择矩形框工具,通过矩形框绘制操作来确定危险驾驶检测中的目标物体所在的位置,该目标物体通常为人体,框选完毕后,再选择矩形框的属性(例如:抽烟、打电话、喝水等)。或者,用户也可以先设置默认的矩形框的属性,然后再使用矩形框对图像中的目标物体(目标人体)进行框选,这样绘制的矩形框的属性即为预先设置的默认属性。In the embodiment of the present disclosure, the corresponding relationship between the "rectangular frame tool and dangerous attribute labeling tool" and the labeling task type "dangerous driving labeling task" may be established in advance. Based on this correspondence, when the labeling task is a dangerous driving labeling task, it can be determined that the target labeling tools corresponding to the driving fatigue labeling task include a rectangular box tool and a fatigue attribute labeling tool, and present these tools in the user interface. The user first selects the rectangular frame tool, and determines the position of the target object in the dangerous driving detection through the rectangular frame drawing operation. The target object is usually a human body. After the frame is selected, the attribute of the rectangular frame (for example: smoking, calling , drinking water, etc.). Alternatively, the user may first set the default properties of the rectangular frame, and then use the rectangular frame to select the target object (target human body) in the image, so that the properties of the drawn rectangular frame are the preset default properties.
通过上述方法,可以对危险驾驶检测目标的位置进行标注后,获得危险驾驶检测目标的标注信息,提高了危险驾驶标注的效率。Through the above method, after marking the position of the dangerous driving detection target, the marking information of the dangerous driving detection target can be obtained, which improves the efficiency of dangerous driving marking.
本公开实施例的数据标注方法,还可以应用于其他标注场景,具体标注的思路与上述实现方式的思路相同,由于篇幅限制,不再一一介绍。此外,针对同一标注任务,也可能会有多种适用的标注工具,因此,在本公开实施例中,可以给出不同标注方案,提供多种备选的标注工具,便于标注人员根据不同的生产经营条件,在工具搭建中进行取舍,以便最大化地提高标注效率,加快研发进程。The data labeling method in the embodiment of the present disclosure can also be applied to other labeling scenarios, and the idea of specific labeling is the same as that of the above-mentioned implementation mode, and will not be introduced one by one due to space limitation. In addition, for the same labeling task, there may also be multiple suitable labeling tools. Therefore, in the embodiments of the present disclosure, different labeling schemes can be given, and a variety of optional labeling tools can be provided to facilitate labeling personnel according to different production requirements. According to operating conditions, trade-offs are made in tool construction in order to maximize the efficiency of labeling and speed up the research and development process.
本公开提供的系统化的汽车行业人工智能落地数据标注解决方案,可作为一个整体研发方案对传统车企研发智能化汽车进行数据标注的支持,也可以单独作为一个组合方案,为车企在自动驾驶和智能驾驶舱的人工智能落地提供数据标注支持。通过此方案,可以明确传统车企在人工智能落地中需要的数据标注工具,数据标注详细方案,无需对所有市场标注工具进行集成以减少研发过程中投入的开发资源。此外,在模型训练过程中,可以根据业务上的需要,明确研发时间安排,优先开发业务上更紧迫的标注工具。或者,对于一些通用的可以适用于多种不同标注任务的标注工具,可以优先开发该工具,例如,如果有需要标记不规则物体的多个标注任务,可以舍弃线条工具,仅开发多边形工具就完成所有需要标记的不规则目标物体。The systematic data labeling solution for artificial intelligence in the automotive industry provided by this disclosure can be used as an overall R&D solution to support data labeling for traditional car companies to develop intelligent cars, or it can be used as a single combined solution to provide car companies with automatic data labeling solutions. The artificial intelligence implementation of driving and smart cockpit provides data annotation support. Through this solution, it is possible to clarify the data labeling tools that traditional car companies need in the implementation of artificial intelligence, and the detailed data labeling scheme, without the need to integrate all market labeling tools to reduce the development resources invested in the research and development process. In addition, in the process of model training, according to business needs, the research and development schedule can be clarified, and the development of more urgent annotation tools in business is given priority. Or, for some general marking tools that can be applied to a variety of different marking tasks, the tool can be developed first. For example, if there are multiple marking tasks that need to mark irregular objects, the line tool can be discarded and only the polygon tool can be developed. All irregular target objects that need to be marked.
可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的 上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above-mentioned method embodiments mentioned in this disclosure can all be combined with each other to form a combined embodiment without violating the principle and logic. Due to space limitations, this disclosure will not repeat them. Those skilled in the art can understand that, in the above-mentioned method of the specific implementation mode, the specific execution sequence of each step should be determined by its function and possible internal logic.
此外,本公开还提供了数据标注装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开提供的任一种数据标注方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the present disclosure also provides data labeling devices, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any data labeling method provided in the present disclosure, corresponding technical solutions and descriptions, and corresponding records in the method section ,No longer.
图2示出根据本公开实施例的数据标注装置的框图,如图2所示,所述装置20应用于智能汽车领域,包括:Fig. 2 shows a block diagram of a data labeling device according to an embodiment of the present disclosure. As shown in Fig. 2, the device 20 is applied to the field of smart cars, including:
标注对象获取单元201,用于获取待标注对象;An annotated object acquisition unit 201, configured to acquire an object to be annotated;
目标标注工具展示单元202,用于将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面;A target labeling tool display unit 202, configured to present a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface;
标注信息确定单元203,用于响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。The labeling information determining unit 203 is configured to obtain labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool.
在一种可能的实现方式中,所述目标标注工具展示单元202,包括:In a possible implementation manner, the object labeling tool display unit 202 includes:
数据领域确定单元,用于接收用户输入的数据领域选择指令,所述数据领域选择指令用于确定待标注对象所属的目标数据领域,所述目标数据领域包括智能汽车领域;A data field determination unit, configured to receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
目标标注工具展示子单元,用于根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,并开启所述目标标注工具的使用权限,展示在标注界面供用户使用。The target labeling tool display subunit is used to determine the target labeling tool for labeling objects to be labeled in the target data field from the tool set according to the determined target data field, and enable the use authority of the target labeling tool, which is displayed in the labeling The interface is for the user to use.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第一目标标注工具确定单元,用于响应于用户对所述多个标注工具的选择操作,将用户选择的标注工具作为目标标注工具。The first target marking tool determination unit is configured to use the marking tool selected by the user as the target marking tool in response to the user's selection operation on the multiple marking tools.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
第二目标标注工具确定单元,用于对所述待标注对象的标注任务类型进行识别,得到目标标注任务类型;根据预设的标注任务类型与标注工具之间的对应关系,确定与所述目标标注任务类型具备对应关系的标注工具,作为目标标注工具。The second target labeling tool determining unit is configured to identify the labeling task type of the object to be labeled to obtain the target labeling task type; determine the target labeling task type according to the preset corresponding relationship between the labeling task type and the labeling tool The labeling task type has a corresponding labeling tool as the target labeling tool.
在一种可能的实现方式中,所述标注信息确定单元203,包括:In a possible implementation manner, the annotation information determining unit 203 includes:
目标物体位置确定单元,用于响应于基于所述目标标注工具执行的位置标注操作,将标注的位置作为标注的目标物体的位置;a target object position determining unit, configured to use the marked position as the marked position of the target object in response to the position marking operation performed based on the target marking tool;
目标物体属性确定单元,用于将预先设置的默认属性作为标注的目标物体的属性。The target object attribute determining unit is used to use the preset default attribute as the attribute of the marked target object.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括车道线标注任务,与所述车道线标注任务对应的目标标注工具包括线条工具和车道线属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tools corresponding to the lane line labeling task include a line tool and a lane line attribute labeling tool;
所述标注信息确定单元203,用于响应于基于所述线条工具的线条绘制操作,将绘制的线条所指示的区域作为标注的车道线所在的位置;响应于基于所述车道线属性标注工具的车道线属性选取操作,确定标注的车道线的属性。The marking information determining unit 203 is configured to respond to the line drawing operation based on the line tool, use the area indicated by the drawn line as the location of the marked lane line; Lane line attribute selection operation, determine the attribute of the marked lane line.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括可行驶区域标注任务,与所述可行驶区域标注任务对应的目标标注工具包括多边形工具;In a possible implementation manner, the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
所述标注信息确定单元203,用于响应于基于所述多边形工具的多边形绘制操作,将绘制的多边 形所在的区域作为标注的可行驶区域的位置。The marking information determining unit 203 is configured to use the area where the drawn polygon is located as the position of the marked drivable area in response to the polygon drawing operation based on the polygon tool.
在一种可能的实现方式中,所述待标注对象的标注任务类型包括目标对象标注任务,与所述目标对象标注任务对应的目标标注工具包括矩形框工具和目标对象属性标注工具;In a possible implementation manner, the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object attribute labeling tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的目标对象所在的位置;响应于针对目标对象属性标注工具的属性选取操作,确定所述待标注对象中标注的目标对象的属性。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked target object; The attribute selection operation of the tool determines the attribute of the target object marked among the objects to be marked.
在一种可能的实现方式中,所述待标注对象为点云图像,所述标注任务类型包括点云对象标注任务,与所述点云对象标注任务对应的目标标注工具包括多个点云对象框选工具,所述多个点云对象框选工具对应不同的点云对象属性;In a possible implementation, the object to be labeled is a point cloud image, the labeling task type includes a point cloud object labeling task, and the target labeling tool corresponding to the point cloud object labeling task includes a plurality of point cloud objects A frame selection tool, the multiple point cloud object frame selection tools correspond to different point cloud object attributes;
所述标注信息确定单元203,用于响应于点云对象框选工具选取操作,确定所述多个点云对象框选工具中的目标点云对象框选工具;响应于基于所述目标点云对象框选工具的框选操作,将框选的区域作为标注的点云对象所在的位置,将所述目标点云框选工具对应的点云对象属性,作为标注的点云对象的属性。The label information determining unit 203 is configured to determine a target point cloud object frame selection tool among the plurality of point cloud object frame selection tools in response to a point cloud object frame selection tool selection operation; In the frame selection operation of the object frame selection tool, the framed area is used as the position of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the property of the marked point cloud object.
在一种可能的实现方式中,所述标注任务类型包括乘客属性标注任务,与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具;In a possible implementation, the labeling task type includes a passenger attribute labeling task, and the target labeling tools corresponding to the passenger attribute labeling task include a rectangular box tool and a passenger attribute labeling tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的乘客所在的位置;响应于基于所述乘客属性标注工具的乘客属性选取操作,确定标注的乘客的至少一个属性。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked passenger; The passenger attribute selection operation of the tool determines at least one attribute of the marked passenger.
在一种可能的实现方式中,所述标注任务类型包括人脸标注任务,与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation, the tagging task type includes a face tagging task, and the target tagging tools corresponding to the face tagging task include a rectangular frame tool and a key point tagging tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的人脸所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标注的人脸中的人脸关键点。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, use the area surrounded by the drawn rectangular frame as the location of the marked human face; The key point labeling operation of the labeling tool determines the key points of the face in the marked face.
在一种可能的实现方式中,所述标注任务类型包括手势标注任务,与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;In a possible implementation manner, the labeling task type includes a gesture labeling task, and the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的手部所在的位置;响应于基于所述关键点标注工具的关键点标注操作,确定标注的手部的关键点。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked hand; The key point labeling operation of the labeling tool determines the key points of the marked hand.
在一种可能的实现方式中,所述标注任务类型包括驾驶疲劳标注任务,与所述驾驶疲劳任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具;In a possible implementation, the labeling task type includes a driving fatigue labeling task, and the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的疲劳检测目标的位置;响应于基于所述疲劳属性标注工具的关键点标注操作,确定标注的疲劳检测目标的属性。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the fatigue detection target marked; The key point labeling operation of the labeling tool determines the attributes of the labeled fatigue detection target.
在一种可能的实现方式中,所述标注任务类型包括危险驾驶标注任务,与所述危险驾驶任务对应的目标标注工具包括矩形框工具和危险属性标注工具;In a possible implementation, the labeling task type includes a dangerous driving labeling task, and the target labeling tools corresponding to the dangerous driving task include a rectangular box tool and a dangerous attribute labeling tool;
所述标注信息确定单元203,用于响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形 框所围成的区域作为标注的危险驾驶检测目标的位置;响应于基于所述危险属性标注工具的属性选择操作,确定标注的危险驾驶检测目标的属性。The labeling information determining unit 203 is configured to respond to the rectangular frame drawing operation based on the rectangular frame tool, and use the area surrounded by the drawn rectangular frame as the position of the marked dangerous driving detection target; The attribute selection operation of the attribute labeling tool determines the attribute of the marked dangerous driving detection target.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor. Computer readable storage media may be volatile or nonvolatile computer readable storage media.
本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
电子设备可以被提供为终端、服务器或其它形态的设备。Electronic devices may be provided as terminals, servers, or other forms of devices.
图3示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。FIG. 3 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
参照图3,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 3 , electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to various components of the electronic device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部 的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 . For example, the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a Changes in position of components, presence or absence of user contact with electronic device 800 , electronic device 800 orientation or acceleration/deceleration and temperature changes in electronic device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2G)或第三代移动通信技术(3G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
图4示出根据本公开实施例的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图4,电子设备1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 4 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, electronic device 1900 may be provided as a server. Referring to FIG. 4 , electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个输入输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如微软服务器操作系统(Windows Server TM),苹果公司推出的基于图形用户界面操作系统(Mac OS X TM),多用户多进程的计算机操作系统(Unix TM), 自由和开放原代码的类Unix操作系统(Linux TM),开放原代码的类Unix操作系统(FreeBSD TM)或类似。 Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 . The electronic device 1900 can operate based on the operating system stored in the memory 1932, such as the Microsoft server operating system (Windows Server TM ), the graphical user interface-based operating system (Mac OS X TM ) introduced by Apple Inc., and the multi-user and multi-process computer operating system (Unix ), a free and open-source Unix-like operating system (Linux ), an open-source Unix-like operating system (FreeBSD ), or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设备1900的处理组件1922执行以完成上述方法。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the present disclosure are implemented by executing computer readable program instructions.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时, 产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically realized by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present disclosure above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (18)

  1. 一种数据标注方法,其特征在于,应用于智能汽车领域,包括:A data labeling method, characterized in that it is applied to the field of smart cars, including:
    获取待标注对象;Get the object to be marked;
    将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面;Presenting a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to a user interaction interface;
    响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。In response to the labeling operation performed based on the target labeling tool, labeling information of the object to be labelled is obtained.
  2. 根据权利要求1所述方法,其特征在于,所述将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面,包括:The method according to claim 1, wherein the presenting the target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface includes:
    接收用户输入的数据领域选择指令,所述数据领域选择指令用于确定待标注对象所属的目标数据领域,所述目标数据领域包括智能汽车领域;Receive a data field selection instruction input by a user, the data field selection instruction is used to determine the target data field to which the object to be marked belongs, and the target data field includes the smart car field;
    根据确定的目标数据领域,从工具集中确定出用于标注目标数据领域的待标注对象的目标标注工具,并开启所述目标标注工具的使用权限,展示在标注界面供用户使用。According to the determined target data field, a target labeling tool for labeling objects to be labeled in the target data field is determined from the tool set, and the use authority of the target labeling tool is enabled, and displayed on the labeling interface for users to use.
  3. 根据权利要求1或2任一所述方法,其特征在于,在获取待标注对象后,所述方法还包括:According to the method according to any one of claims 1 and 2, after acquiring the object to be marked, the method further comprises:
    响应于用户对所述多个标注工具的选择操作,将用户选择的标注工具作为目标标注工具。In response to the user's selection operation on the plurality of annotation tools, the annotation tool selected by the user is used as the target annotation tool.
  4. 根据权利要求1或2任一所述方法,其特征在于,在获取待标注对象后,所述方法还包括:According to the method according to any one of claims 1 and 2, after acquiring the object to be marked, the method further comprises:
    对所述待标注对象的标注任务类型进行识别,得到目标标注任务类型;Identifying the labeling task type of the object to be labeled to obtain the target labeling task type;
    根据预设的标注任务类型与标注工具之间的对应关系,确定与所述目标标注任务类型具备对应关系的标注工具,作为目标标注工具。According to the preset corresponding relationship between the labeling task type and the labeling tool, a labeling tool having a corresponding relationship with the target labeling task type is determined as the target labeling tool.
  5. 根据权利要求1-4任一所述方法,其特征在于,所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The method according to any one of claims 1-4, wherein the obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述目标标注工具执行的位置标注操作,将标注的位置作为标注的目标物体的位置;In response to the position labeling operation performed based on the target labeling tool, using the marked position as the position of the marked target object;
    将预先设置的默认属性作为标注的目标物体的属性。Use the pre-set default attributes as the attributes of the marked target object.
  6. 根据权利要求1-5任一所述方法,其特征在于,所述待标注对象的标注任务类型包括车道线标注任务,与所述车道线标注任务对应的目标标注工具包括线条工具和车道线属性标注工具;The method according to any one of claims 1-5, wherein the labeling task type of the object to be labeled includes a lane line labeling task, and the target labeling tool corresponding to the lane line labeling task includes a line tool and a lane line attribute annotation tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述线条工具的线条绘制操作,将绘制的线条所指示的区域作为标注的车道线所在的位置;In response to the line drawing operation based on the line tool, the area indicated by the drawn line is used as the location of the labeled lane line;
    响应于基于所述车道线属性标注工具的车道线属性选取操作,确定标注的车道线的属性。In response to the lane line attribute selection operation based on the lane line attribute labeling tool, the attribute of the marked lane line is determined.
  7. 根据权利要求1-6任一所述方法,其特征在于,所述待标注对象的标注任务类型包括可行驶区域标注任务,与所述可行驶区域标注任务对应的目标标注工具包括多边形工具;The method according to any one of claims 1-6, wherein the tagging task type of the object to be tagged includes a drivable area tagging task, and the target tagging tool corresponding to the drivable area tagging task includes a polygon tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述多边形工具的多边形绘制操作,将绘制的多边形所在的区域作为标注的可行驶区域的位置。In response to the polygon drawing operation based on the polygon tool, the area where the drawn polygon is located is used as the location of the marked drivable area.
  8. 根据权利要求1-7任一所述方法,其特征在于,所述待标注对象的标注任务类型包括目标对象标注任务,与所述目标对象标注任务对应的目标标注工具包括矩形框工具和目标对象属性标注工具;The method according to any one of claims 1-7, wherein the labeling task type of the object to be labeled includes a target object labeling task, and the target labeling tools corresponding to the target object labeling task include a rectangular frame tool and a target object Attribute annotation tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的目标对象所在的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the location of the marked target object;
    响应于针对目标对象属性标注工具的属性选取操作,确定所述待标注对象中标注的目标对象的属性。In response to the attribute selection operation of the target object attribute labeling tool, the attribute of the target object marked among the objects to be marked is determined.
  9. 根据权利要求1-8任一所述方法,其特征在于,所述待标注对象为点云图像,所述标注任务类型包括点云对象标注任务,与所述点云对象标注任务对应的目标标注工具包括多个点云对象框选工具,所述多个点云对象框选工具对应不同的点云对象属性;The method according to any one of claims 1-8, wherein the object to be labeled is a point cloud image, the labeling task type includes a point cloud object labeling task, and the target labeling corresponding to the point cloud object labeling task The tool includes a plurality of point cloud object frame selection tools, and the multiple point cloud object frame selection tools correspond to different point cloud object attributes;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于点云对象框选工具选取操作,确定所述多个点云对象框选工具中的目标点云对象框选工具;In response to a point cloud object marquee tool selection operation, determine a target point cloud object marquee tool in the plurality of point cloud object marquee tools;
    响应于基于所述目标点云对象框选工具的框选操作,将框选的区域作为标注的点云对象所在的位置,将所述目标点云框选工具对应的点云对象属性,作为标注的点云对象的属性。In response to the frame selection operation based on the target point cloud object frame selection tool, the framed area is used as the location of the marked point cloud object, and the point cloud object attribute corresponding to the target point cloud frame selection tool is used as the label Properties of the point cloud object.
  10. 根据权利要求1-9任一所述方法,其特征在于,所述标注任务类型包括乘客属性标注任务,与所述乘客属性标注任务对应的目标标注工具包括矩形框工具和乘客属性标注工具;The method according to any one of claims 1-9, wherein the labeling task type includes a passenger attribute labeling task, and the target labeling tools corresponding to the passenger attribute labeling task include a rectangular frame tool and a passenger attribute labeling tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的乘客所在的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked passenger;
    响应于基于所述乘客属性标注工具的乘客属性选取操作,确定标注的乘客的至少一个属性。In response to a passenger attribute selection operation based on the passenger attribute annotation tool, at least one attribute of the annotated passenger is determined.
  11. 根据权利要求1-10任一所述方法,其特征在于,所述标注任务类型包括人脸标注任务,与所述人脸标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;The method according to any one of claims 1-10, wherein the labeling task type includes a human face labeling task, and the target labeling tools corresponding to the human face labeling task include a rectangular frame tool and a key point labeling tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的人脸所在的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the location of the marked human face;
    响应于基于所述关键点标注工具的关键点标注操作,确定标注的人脸中的人脸关键点。In response to the key point labeling operation based on the key point labeling tool, the key points of the human face in the labeled human face are determined.
  12. 根据权利要求1-11任一所述方法,其特征在于,所述标注任务类型包括手势标注任务,与所述手势标注任务对应的目标标注工具包括矩形框工具和关键点标注工具;The method according to any one of claims 1-11, wherein the labeling task type includes a gesture labeling task, and the target labeling tools corresponding to the gesture labeling task include a rectangular frame tool and a key point labeling tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的手部所在的位置;In response to the rectangle frame drawing operation based on the rectangle frame tool, the area surrounded by the drawn rectangle frame is used as the position of the marked hand;
    响应于基于所述关键点标注工具的关键点标注操作,确定标注的手部的关键点。In response to a key point labeling operation based on the key point labeling tool, key points of the marked hand are determined.
  13. 根据权利要求1-12任一所述方法,其特征在于,所述标注任务类型包括驾驶疲劳标注任务,与所述驾驶疲劳任务对应的目标标注工具包括矩形框工具和疲劳属性标注工具;The method according to any one of claims 1-12, wherein the labeling task type includes a driving fatigue labeling task, and the target labeling tools corresponding to the driving fatigue task include a rectangular frame tool and a fatigue attribute labeling tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的疲劳检测目标的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked fatigue detection target;
    响应于基于所述疲劳属性标注工具的关键点标注操作,确定标注的疲劳检测目标的属性。In response to the key point labeling operation based on the fatigue property labeling tool, the property of the labelled fatigue detection target is determined.
  14. 根据权利要求1-13任一所述方法,其特征在于,所述标注任务类型包括危险驾驶标注任务,与所述危险驾驶任务对应的目标标注工具包括矩形框工具和危险属性标注工具;The method according to any one of claims 1-13, wherein the labeling task type includes a dangerous driving labeling task, and the target labeling tools corresponding to the dangerous driving task include a rectangular frame tool and a dangerous attribute labeling tool;
    所述响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息,包括:The obtaining the labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool includes:
    响应于基于所述矩形框工具的矩形框绘制操作,将绘制的矩形框所围成的区域作为标注的危险驾驶检测目标的位置;In response to the rectangular frame drawing operation based on the rectangular frame tool, the area surrounded by the drawn rectangular frame is used as the position of the marked dangerous driving detection target;
    响应于基于所述危险属性标注工具的属性选择操作,确定标注的危险驾驶检测目标的属性。In response to the attribute selection operation based on the dangerous attribute tagging tool, the tagged attribute of the dangerous driving detection target is determined.
  15. 一种数据标注装置,其特征在于,包括:A data labeling device is characterized in that it comprises:
    标注对象获取单元,用于获取待标注对象;An annotation object acquisition unit, configured to acquire an object to be annotated;
    目标标注工具展示单元,用于将多个标注工具中与所述待标注对象的标注任务类型对应的目标标注工具,呈现至用户交互界面;A target labeling tool display unit, configured to present a target labeling tool corresponding to the labeling task type of the object to be labeled among the multiple labeling tools to the user interface;
    标注信息确定单元,用于响应于基于所述目标标注工具执行的标注操作,得到所述待标注对象的标注信息。A labeling information determining unit, configured to obtain labeling information of the object to be labeled in response to the labeling operation performed based on the target labeling tool.
  16. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    处理器;processor;
    用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至14中任意一项所述的方法。Wherein, the processor is configured to invoke instructions stored in the memory to execute the method according to any one of claims 1-14.
  17. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至14中任意一项所述的方法。A computer-readable storage medium on which computer program instructions are stored, wherein the computer program instructions implement the method according to any one of claims 1 to 14 when executed by a processor.
  18. 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器用于实现权利要求1-14中的任一权利要求所述的方法。A computer program product, comprising computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are run in a processor of an electronic device, the electronic The processor in the device is configured to implement the method of any one of claims 1-14.
PCT/CN2021/126182 2021-06-24 2021-10-25 Data annotation method and apparatus, and electronic device and storage medium WO2022267279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110704502.2 2021-06-24
CN202110704502.2A CN113407083A (en) 2021-06-24 2021-06-24 Data labeling method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022267279A1 true WO2022267279A1 (en) 2022-12-29

Family

ID=77682957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/126182 WO2022267279A1 (en) 2021-06-24 2021-10-25 Data annotation method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113407083A (en)
WO (1) WO2022267279A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116385459A (en) * 2023-03-08 2023-07-04 阿里巴巴(中国)有限公司 Image segmentation method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407083A (en) * 2021-06-24 2021-09-17 上海商汤科技开发有限公司 Data labeling method and device, electronic equipment and storage medium
CN117174261B (en) * 2023-11-03 2024-03-01 神州医疗科技股份有限公司 Multi-type labeling flow integrating system for medical images

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309995A (en) * 2020-01-19 2020-06-19 北京市商汤科技开发有限公司 Labeling method and device, electronic equipment and storage medium
CN111860304A (en) * 2020-07-17 2020-10-30 北京百度网讯科技有限公司 Image labeling method, electronic device, equipment and storage medium
CN112527374A (en) * 2020-12-11 2021-03-19 北京百度网讯科技有限公司 Marking tool generation method, marking method, device, equipment and storage medium
CN113407083A (en) * 2021-06-24 2021-09-17 上海商汤科技开发有限公司 Data labeling method and device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156025B (en) * 2015-03-25 2019-07-23 阿里巴巴集团控股有限公司 A kind of management method and device of data mark
CN108829435A (en) * 2018-06-19 2018-11-16 数据堂(北京)科技股份有限公司 A kind of image labeling method and general image annotation tool
CN109886338A (en) * 2019-02-25 2019-06-14 苏州清研精准汽车科技有限公司 A kind of intelligent automobile test image mask method, device, system and storage medium
CN110457494A (en) * 2019-08-01 2019-11-15 新华智云科技有限公司 Data mask method, device, electronic equipment and storage medium
CN112800255A (en) * 2019-11-14 2021-05-14 阿里巴巴集团控股有限公司 Data labeling method, data labeling device, object tracking method, object tracking device, equipment and storage medium
CN111400581B (en) * 2020-03-13 2024-02-06 京东科技控股股份有限公司 System, method and apparatus for labeling samples
CN111598120A (en) * 2020-03-31 2020-08-28 宁波吉利汽车研究开发有限公司 Data labeling method, equipment and device
CN112529055A (en) * 2020-12-02 2021-03-19 博云视觉科技(青岛)有限公司 Image annotation and annotation data set processing method
CN112949437A (en) * 2021-02-21 2021-06-11 深圳市优必选科技股份有限公司 Gesture recognition method, gesture recognition device and intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309995A (en) * 2020-01-19 2020-06-19 北京市商汤科技开发有限公司 Labeling method and device, electronic equipment and storage medium
CN111860304A (en) * 2020-07-17 2020-10-30 北京百度网讯科技有限公司 Image labeling method, electronic device, equipment and storage medium
CN112527374A (en) * 2020-12-11 2021-03-19 北京百度网讯科技有限公司 Marking tool generation method, marking method, device, equipment and storage medium
CN113407083A (en) * 2021-06-24 2021-09-17 上海商汤科技开发有限公司 Data labeling method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116385459A (en) * 2023-03-08 2023-07-04 阿里巴巴(中国)有限公司 Image segmentation method and device
CN116385459B (en) * 2023-03-08 2024-01-09 阿里巴巴(中国)有限公司 Image segmentation method and device

Also Published As

Publication number Publication date
CN113407083A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
WO2022267279A1 (en) Data annotation method and apparatus, and electronic device and storage medium
CN112419328B (en) Image processing method and device, electronic equipment and storage medium
TW201947452A (en) Data processing method, device and processing equipment for vehicle loss assessment and client
CN111612009B (en) Text recognition method, device, equipment and storage medium
WO2023273061A1 (en) Gesture-based interaction method and apparatus, electronic device, and storage medium
CN113344901B (en) Glue spreading defect detection method and device, storage medium and electronic equipment
US11455078B1 (en) Spatial navigation and creation interface
WO2022188305A1 (en) Information presentation method and apparatus, and electronic device, storage medium and computer program
EP3133543A1 (en) Method and device for guiding an operation and electronic apparatus
US20200007948A1 (en) Video subtitle display method and apparatus
EP3287747A1 (en) Method and apparatus for controlling a balance car
CN110619325B (en) Text recognition method and device
CN110909203A (en) Video analysis method and device, electronic equipment and storage medium
WO2022141969A1 (en) Image segmentation method and apparatus, electronic device, storage medium, and program
WO2021056831A1 (en) Method and device for managing data, and computer program product
WO2023273060A1 (en) Dangerous action identifying method and apparatus, electronic device, and storage medium
WO2022134390A1 (en) Labeling method and apparatus, electronic device, and storage medium
CN115131789A (en) Character recognition method, character recognition equipment and storage medium
WO2023155350A1 (en) Crowd positioning method and apparatus, electronic device, and storage medium
WO2022228024A1 (en) Method and apparatus for recommending vehicle driving strategy
CN113392263A (en) Data labeling method and device, electronic equipment and storage medium
CN112231023A (en) Information display method, device, equipment and storage medium
CN111832338A (en) Object detection method and device, electronic equipment and storage medium
CN113052874B (en) Target tracking method and device, electronic equipment and storage medium
US20170060822A1 (en) Method and device for storing string

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946761

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE