CN110059623A - Method and apparatus for generating information - Google Patents

Method and apparatus for generating information Download PDF

Info

Publication number
CN110059623A
CN110059623A CN201910312192.2A CN201910312192A CN110059623A CN 110059623 A CN110059623 A CN 110059623A CN 201910312192 A CN201910312192 A CN 201910312192A CN 110059623 A CN110059623 A CN 110059623A
Authority
CN
China
Prior art keywords
vehicle body
image
information
key point
body image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910312192.2A
Other languages
Chinese (zh)
Other versions
CN110059623B (en
Inventor
王旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910312192.2A priority Critical patent/CN110059623B/en
Publication of CN110059623A publication Critical patent/CN110059623A/en
Application granted granted Critical
Publication of CN110059623B publication Critical patent/CN110059623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiment of the disclosure discloses the method and apparatus for generating information.One specific embodiment of this method includes: to obtain target vehicle body image;By target vehicle body image input vehicle body category identification model trained in advance, obtain information, wherein vehicle body category identification model corresponds to predetermined preset quantity body gesture, information is used to indicate in preset quantity body gesture, body gesture corresponding to target vehicle body image;Based on information obtained, critical point detection is carried out to target vehicle body image, generates vehicle body key point information.The embodiment helps to handle vehicle body image using the key point identified, the efficiency of image procossing can be improved;Also, based on body gesture corresponding to vehicle body image, critical point detection is carried out to vehicle body image, the accuracy of vehicle body key point information generated can be improved, help to improve the accuracy handled vehicle body image.

Description

Method and apparatus for generating information
Technical field
Embodiment of the disclosure is related to field of computer technology, more particularly, to generates the method and apparatus of information.
Background technique
Vehicle body can refer to the part for being used to manned loading on vehicle, can also refer to vehicle entirety.Currently, people can use Camera shoots vehicle body, obtains the image comprising vehicle body region.For the image of acquisition, when people need in image Vehicle body region when being handled (such as addition special efficacy, three-dimensional modeling etc.), need artificially to determine vehicle body area from image Domain, and then the vehicle body region determined is handled.
Summary of the invention
Embodiment of the disclosure proposes the method and apparatus for generating information.
In a first aspect, embodiment of the disclosure provides a kind of method for generating information, this method comprises: obtaining mesh Mark vehicle body image;By target vehicle body image input vehicle body category identification model trained in advance, information is obtained, wherein vehicle Body category identification model corresponds to predetermined preset quantity body gesture, and information is used to indicate preset quantity vehicle body In posture, body gesture corresponding to target vehicle body image;Based on information obtained, target vehicle body image is closed The detection of key point, generates vehicle body key point information.
In some embodiments, it is based on information obtained, critical point detection is carried out to target vehicle body image, is generated Vehicle body key point information includes: in response to determining that body gesture indicated by information meets preset condition, by target vehicle body Image input vehicle body key point identification model trained in advance, obtains for characterizing vehicle body key point in target vehicle body image The vehicle body key point information of position.
In some embodiments, this method further include: to it is in target vehicle body image, characterized with vehicle body key point information The corresponding image-region of vehicle body key point handled, obtain result vehicle body image.
In some embodiments, this method further include: result vehicle body image is shown.
In some embodiments, this method further include: result vehicle body image is sent to the user terminal of communication connection, with And control user terminal shows result vehicle body image.
In some embodiments, it is based on information obtained, critical point detection is carried out to target vehicle body image, is generated Vehicle body key point information further include: in response to determining that body gesture indicated by information is unsatisfactory for preset condition, generate and use In the vehicle body key point information that characterization target vehicle body image does not include vehicle body key point.
Second aspect, embodiment of the disclosure provide a kind of for generating the device of information, which includes: that image obtains Unit is taken, is configured to obtain target vehicle body image;Image input units are configured to inputting target vehicle body image into instruction in advance Experienced vehicle body category identification model obtains information, wherein vehicle body category identification model corresponds to predetermined preset quantity A body gesture, information are used to indicate in preset quantity body gesture, body gesture corresponding to target vehicle body image; Information generating unit, is configured to based on information obtained, carries out critical point detection to target vehicle body image, generates vehicle Body key point information.
In some embodiments, information generating unit is further configured to: in response to determining indicated by information Body gesture meets preset condition, and target vehicle body image input vehicle body key point identification model trained in advance is used for Characterize the vehicle body key point information of position of the vehicle body key point in target vehicle body image.
In some embodiments, the device further include: image processing unit, be configured to it is in target vehicle body image, Image-region corresponding with the vehicle body key point that vehicle body key point information is characterized is handled, and result vehicle body image is obtained.
In some embodiments, device further include: image-display units are configured to show result vehicle body image Show.
In some embodiments, device further include: image transmission unit is configured to for result vehicle body image being sent to The user terminal of communication connection, and control user terminal show result vehicle body image.
In some embodiments, information generating unit is further configured to: in response to determining indicated by information Body gesture is unsatisfactory for preset condition, generates for characterizing the vehicle body key point letter that target vehicle body image does not include vehicle body key point Breath.
The third aspect, embodiment of the disclosure provide a kind of electronic equipment, comprising: one or more processors;Storage Device is stored thereon with one or more programs, when one or more programs are executed by one or more processors, so that one Or the method that multiple processors realize any embodiment in the above-mentioned method for generating information.
Fourth aspect, embodiment of the disclosure provide a kind of computer-readable medium, are stored thereon with computer program, The program realizes any embodiment in the above-mentioned method for generating information method when being executed by processor.
The method and apparatus for generating information that embodiment of the disclosure provides, by obtaining target vehicle body image, and The vehicle body category identification model that the input of target vehicle body image is trained in advance afterwards, obtains information, wherein vehicle body category identification Model corresponds to predetermined preset quantity body gesture, and information is used to indicate in preset quantity body gesture, mesh Body gesture corresponding to vehicle body image is marked, information obtained is finally based on, key point is carried out to target vehicle body image Detection generates vehicle body key point information, so as to identify the key point of vehicle body, facilitates using the key point identified, Vehicle body image is handled, compared to the artificially selection vehicle body region from vehicle body image, and vehicle body region is handled, The efficiency of image procossing can be improved in the disclosure;Also, the disclosure is based on body gesture corresponding to vehicle body image, to vehicle body figure As carrying out critical point detection, the accuracy of vehicle body key point information generated can be improved, help to improve to vehicle body image The accuracy handled, and then help to generate and show more accurate, treated vehicle body image.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the disclosure is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the disclosure can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for generating information of the disclosure;
Fig. 3 is according to an embodiment of the present disclosure for generating the schematic diagram of an application scenarios of the method for information;
Fig. 4 is the flow chart according to another embodiment of the method for generating information of the disclosure;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for generating information of the disclosure;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of embodiment of the disclosure.
Specific embodiment
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the disclosure can phase Mutually combination.The disclosure is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for generating information of the disclosure or the implementation of the device for generating information The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as image processing class is answered on terminal device 101,102,103 With, U.S. figure software, web browser applications, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, it can be the various electronic equipments with camera, including but not limited to smart phone, tablet computer, e-book reading (Moving Picture Experts Group Audio Layer III, dynamic image expert compress mark for device, MP3 player Quasi- audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression Standard audio level 4) player, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is When software, it may be mounted in above-mentioned cited electronic equipment.Its may be implemented into multiple softwares or software module (such as with To provide the multiple softwares or software module of Distributed Services), single software or software module also may be implemented into.It does not do herein It is specific to limit.
Server 105 can be to provide the server of various services, such as shoot and obtain to terminal device 101,102,103 The image processing server that is handled of target vehicle body image.Image processing server can be to the target vehicle body figure received The data such as picture carry out the processing such as analyzing, and obtain processing result (such as vehicle body key point information).
It should be noted that can be by terminal device for generating the method for information provided by embodiment of the disclosure 101, it 102,103 executes, can also be executed by server 105, correspondingly, the device for generating information can be set in terminal In equipment 101,102,103, also it can be set in server 105.
It should be noted that server can be hardware, it is also possible to software.When server is hardware, may be implemented At the distributed server cluster that multiple servers form, individual server also may be implemented into.It, can when server is software It, can also be with to be implemented as multiple softwares or software module (such as providing multiple softwares of Distributed Services or software module) It is implemented as single software or software module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.It is used during generating vehicle body key point information Data do not need in the case where long-range obtain, above system framework can not include network, and only include terminal device or Server.
With continued reference to Fig. 2, the process of one embodiment of the method for generating information according to the disclosure is shown 200.The method for being used to generate information, comprising the following steps:
Step 201, target vehicle body image is obtained.
It in the present embodiment, can be with for generating the executing subject (such as server 105 shown in FIG. 1) of the method for information By wired connection mode or radio connection from remotely-or locally obtaining target vehicle body image.Wherein, target vehicle body figure As being the vehicle body image to be detected to it.Specifically, target vehicle body image can be obtained shoot to vehicle body Image.
Step 202, the vehicle body category identification model that the input of target vehicle body image is trained in advance, obtains information.
In the present embodiment, based on target vehicle body image obtained in step 201, above-mentioned executing subject can be by target carriage Body image input vehicle body category identification model trained in advance, obtains information.Wherein, vehicle body category identification model is corresponding pre- First determining preset quantity body gesture.Body gesture refers to the direction of the vehicle body shown in vehicle body image.In practice, vehicle body The shooting visual angle when direction of the vehicle body shown in image obtains vehicle body image by shooting determines that in turn, above-mentioned preset quantity is a Body gesture can correspond to preset quantity shooting visual angle.As an example, vehicle body category identification model can correspond to it is predetermined 5 body gestures, corresponding 5 shooting visual angles of 5 body gestures, wherein 5 shooting visual angles can be predetermined, example It is such as respectively front, side front, dead astern, side rear, positive side.
It should be noted that the corresponding relationship of vehicle body category identification model and preset quantity body gesture can be and instruct It is determined when practicing acquisition vehicle body category identification model.Specifically, for training the sample vehicle body image of vehicle body category identification model Corresponding body gesture determines the corresponding body gesture of vehicle body category identification model.
In the present embodiment, information can serve to indicate that in preset quantity body gesture, target vehicle body image institute Corresponding body gesture can include but is not limited at least one of following: text, number, symbol, image.As an example, vehicle body The corresponding preset quantity body gesture of category identification model can respectively correspond it is predetermined number (such as vehicle body type know Corresponding 5 body gestures of other model, 5 body gestures respectively correspond following number: 1;2;3;4;5), then type obtained is believed Breath can be the number (such as " 1 ") of body gesture corresponding to target carriage body image.
In the present embodiment, vehicle body category identification model can be used for characterizing kind corresponding to vehicle body image and vehicle body image The corresponding relationship of category information.Specifically, as an example, vehicle body category identification model can be technical staff and be in advance based on to a large amount of Vehicle body image and vehicle body image corresponding to information statistics and pre-establish, be stored with multiple vehicle body images with it is right The mapping table for the information answered;Or it is based on preset training sample, using machine learning method to introductory die The model that type (such as neural network) obtains after being trained.
Step 203, it is based on information obtained, critical point detection is carried out to target vehicle body image, vehicle body is generated and closes Key point information.
In the present embodiment, based on the information obtained in step 202, above-mentioned executing subject can be to above-mentioned target carriage Body image carries out critical point detection, generates vehicle body key point information.Wherein, vehicle body key point information is used to indicate target vehicle body figure Vehicle body key point as in can include but is not limited at least one of following: number, text, symbol, image.
In practice, vehicle body key point can be point crucial in vehicle body, specifically, can be influence body contour or table Levy the point of the structure of vehicle body.As an example, vehicle body key point can be point corresponding to point, car light corresponding to vehicle window etc..
Specifically, above-mentioned executing subject can be based on information obtained, using various methods to target vehicle body figure As carrying out critical point detection, vehicle body key point information is generated.
As an example, can be in advance for every in preset quantity body gesture corresponding to body style identification model A body gesture, one critical point detection model of training, may finally obtain preset quantity critical point detection model.In turn, Above-mentioned executing subject can choose corresponding body gesture first and be obtained from preset quantity critical point detection model Information indicated by body gesture match the critical point detection model of (same or similar).Then above-mentioned executing subject Target vehicle body image can be inputted to selected critical point detection model, obtain vehicle body key point information.
In this example, critical point detection model can be used for characterizing vehicle body image pass corresponding with vehicle body key point information System.For each critical point detection model in preset quantity critical point detection model, which can be used It is closed in the vehicle body image to match to corresponding body gesture body gesture corresponding with the critical point detection model The detection of key point, with this, can be improved the accuracy of critical point detection, helps to generate more accurate vehicle body key point information.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for generating information of the present embodiment Figure.In the application scenarios of Fig. 3, the target vehicle body image 302 available first of server 301.Then, server 301 can be with Target vehicle body image 302 is inputted to vehicle body category identification model 303 trained in advance, obtains information 304, wherein vehicle body Corresponding five predetermined (the i.e. preset quantity) body gesture of category identification model 303, information 304 are used to indicate five In a body gesture, body gesture corresponding to target vehicle body image 302.Finally, server 301 can be based on obtained kind Category information 304 carries out critical point detection to target vehicle body image 302, generates vehicle body key point information 305.
The method provided by the above embodiment of the disclosure can identify the key point of vehicle body, facilitate using identifying Key point handles vehicle body image, compared to artificially from vehicle body image choose vehicle body region, and to vehicle body region into The efficiency of image procossing can be improved in row processing, the disclosure;Also, the disclosure is based on body gesture corresponding to vehicle body image, Critical point detection is carried out to vehicle body image, the accuracy of vehicle body key point information generated can be improved, help to improve pair The accuracy that vehicle body image is handled, and then help to generate and show more accurate, treated vehicle body image.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for generating information.The use In the process 400 for the method for generating information, comprising the following steps:
Step 401, target vehicle body image is obtained.
It in the present embodiment, can be with for generating the executing subject (such as server 105 shown in FIG. 1) of the method for information By wired connection mode or radio connection from remotely-or locally obtaining target vehicle body image.Wherein, target vehicle body figure As being the vehicle body image to be detected to it.Specifically, target vehicle body image can be obtained shoot to vehicle body Image.
Step 402, the vehicle body category identification model that the input of target vehicle body image is trained in advance, obtains information.
In the present embodiment, based on target vehicle body image obtained in step 401, above-mentioned executing subject can be by target carriage Body image input vehicle body category identification model trained in advance, obtains information.Wherein, vehicle body category identification model is corresponding pre- First determining preset quantity body gesture.Body gesture refers to the direction of the vehicle body shown in vehicle body image.In practice, vehicle body The shooting visual angle when direction of the vehicle body shown in image obtains vehicle body image by shooting determines that in turn, above-mentioned preset quantity is a Body gesture can correspond to preset quantity shooting visual angle.Information can serve to indicate that in preset quantity body gesture, Body gesture corresponding to target vehicle body image can include but is not limited at least one of following: text, number, symbol, figure Picture.Vehicle body category identification model can be used for characterizing the corresponding relationship of information corresponding to vehicle body image and vehicle body image.
Above-mentioned steps 401, step 402 are consistent with step 201, the step 202 in previous embodiment respectively, above with respect to step Rapid 201, the description of step 202 is also applied for step 401, step 402, and details are not described herein again.
Step 403, in response to determining that body gesture indicated by information meets preset condition, by target vehicle body image Input vehicle body key point identification model trained in advance, obtains for characterizing position of the vehicle body key point in target vehicle body image Vehicle body key point information.
In the present embodiment, based on the information obtained in step 402, above-mentioned executing subject can be in response to determining kind Body gesture indicated by category information meets preset condition, and target vehicle body image input vehicle body key point trained in advance is identified Model obtains the vehicle body key point information for characterizing position of the vehicle body key point in target vehicle body image.Wherein, vehicle body closes Key point information can include but is not limited at least one of following: number, text, symbol, image.As an example, vehicle body key point Information can be coordinate of the vehicle body key point on target vehicle body image.
In practice, vehicle body key point can be point crucial in vehicle body, specifically, can be influence body contour or table Levy the point of the structure of vehicle body.
In the present embodiment, preset condition can be the various conditions for limiting body gesture, for example, preset condition can Think that shooting visual angle corresponding to body gesture is front, or can be shooting visual angle corresponding to body gesture in addition to Other visual angles other than positive side.Specifically, preset condition can be for for the pre-set item of vehicle body key point identification model Part.When the body gesture corresponding to the vehicle body image meets preset condition, vehicle body key point identification model can be from vehicle body image In identify vehicle body key point.
It is appreciated that vehicle body is three-dimensional structure, and it is two-dimensional for shooting the vehicle body image obtained, so closing using vehicle body When key point identification model identifies the vehicle body key point of vehicle body image, due to blocking for vehicle body, it can not often be directed to all vehicle bodies Image identifies vehicle body key point (for example, vehicle body key point identification model key point corresponding to front window for identification, then It is positive the vehicle body image (being unsatisfactory for the vehicle body image of preset condition) of side for shooting visual angle corresponding to body gesture, vehicle Body key point identification model can not identify vehicle body key point for it), at this point, if the vehicle body of preset condition still will be unsatisfactory for Image input vehicle body key point identification model is identified, then can waste consumed resource in image recognition processes, therefore, this Embodiment, which passes through, determines whether body gesture corresponding to target vehicle body image meets preset condition, and then meets in response to determining Preset condition, by target vehicle body image input vehicle body key point identification model trained in advance, it is possible to reduce image recognition processes In the wasting of resources, improve the utilization rate of resource;In addition, pointedly the vehicle body image for meeting preset condition is identified, More accurate vehicle body key point information can be obtained.
In some optional implementations of the present embodiment, after obtaining vehicle body key point information, above-mentioned executing subject can At to image-region in target vehicle body image, corresponding with the vehicle body key point that vehicle body key point information is characterized Reason obtains result vehicle body image.Wherein, as a result vehicle body image is the image obtained after handling target vehicle body image.
Herein, image-region corresponding with the vehicle body key point that vehicle body key point information is characterized can close for vehicle body The body contour that key point is influenced is formed by image-region, or structure (such as vehicle window) institute characterized by vehicle body key point Corresponding image-region.
Specifically, the processing for being directed to image-region in this implementation can be various predetermined image procossings, example It such as, can be the color of the pixel in adjustment image-region;Or to add pre-set image etc. in the image area.At this In, by the limitation of preset condition, this implementation pointedly can meet preset condition to corresponding body gesture Image-region in target vehicle body image is handled, and with this, can reduce the consumption of process resource, and improve image procossing Efficiency;Also, more accurate vehicle body key point information is utilized, this implementation may be implemented at more accurate image Reason, improves the accuracy of result vehicle body image.
In some optional implementations of the present embodiment, after obtaining result vehicle body image, above-mentioned executing subject can be with Result vehicle body image is shown.
In some optional implementations of the present embodiment, after obtaining result vehicle body image, above-mentioned executing subject may be used also Result vehicle body image to be sent to the user terminal of communication connection, and control user terminal shows result vehicle body image Show.Wherein, user terminal is terminal used by a user, with the communication connection of above-mentioned executing subject.Specifically, above-mentioned execution master Body can send control signal to user terminal, and then control user terminal and show to result vehicle body image.
By the more accurate vehicle body key point information identified, more accurate result vehicle body image can be obtained, And then this implementation can control user terminal to more accurately result vehicle body image is shown, help to improve vehicle body The display effect of image.
In some optional implementations of the present embodiment, above-mentioned executing subject may also respond to determine information Indicated body gesture is unsatisfactory for above-mentioned preset condition, and generating for characterizing target vehicle body image does not include vehicle body key point Vehicle body key point information.
Figure 4, it is seen that the method for generating information compared with the corresponding embodiment of Fig. 2, in the present embodiment Process 400 highlight and meet preset condition in response to body gesture indicated by information, target vehicle body image is inputted Trained vehicle body key point identification model in advance, obtains the vehicle for characterizing position of the vehicle body key point in target vehicle body image The step of body key point information, wherein preset condition is the condition being arranged for vehicle body key point identification model, works as body gesture When meeting preset condition, vehicle body key point identification model can identify vehicle body key point.The scheme of the present embodiment description as a result, Can by preset condition, limit for inputting body gesture corresponding to the vehicle body image of vehicle body key point identification model, from And help to generate more accurate vehicle body key point information;Also, it, can not for the vehicle body image for being unsatisfactory for preset condition It is identified using vehicle body key point identification model, identifies that this programme can compared to the vehicle body image to all kinds Consumed resource during the vehicle body image of preset condition is unsatisfactory for save identification.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, present disclose provides one kind for generating letter One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 5, the device 500 for generating information of the present embodiment includes: that image acquisition unit 501, image are defeated Enter unit 502 and information generating unit 503.Wherein, image acquisition unit 501 is configured to obtain target vehicle body image;Image Input unit 502 is configured to inputting target vehicle body image into vehicle body category identification model trained in advance, obtains information, Wherein, vehicle body category identification model corresponds to predetermined preset quantity body gesture, and information is used to indicate present count It measures in a body gesture, body gesture corresponding to target vehicle body image;Information generating unit 503 is configured to be based on to be obtained Information, to target vehicle body image carry out critical point detection, generate vehicle body key point information.
It in the present embodiment, can be by wired connection side for generating the image acquisition unit 501 of the device 500 of information Formula or radio connection are from remotely-or locally obtaining target vehicle body image.Wherein, target vehicle body image is to carry out to it The vehicle body image of detection.Specifically, target vehicle body image can be to carry out shooting image obtained to vehicle body.
In the present embodiment, the target vehicle body image obtained based on image acquisition unit 501, image input units 502 can With the vehicle body category identification model that the input of target vehicle body image is trained in advance, information is obtained.Wherein, vehicle body category identification Model corresponds to predetermined preset quantity body gesture.Body gesture refers to the vehicle for inputting vehicle body category identification model The direction of the vehicle body shown in body image.In practice, the direction of the vehicle body shown in vehicle body image obtains vehicle body image by shooting When shooting visual angle determine, in turn, above-mentioned preset quantity body gesture can correspond to preset quantity shooting visual angle.
In the present embodiment, information can serve to indicate that in preset quantity body gesture, target vehicle body image institute Corresponding body gesture can include but is not limited at least one of following: text, number, symbol, image.
In the present embodiment, vehicle body category identification model can be used for characterizing kind corresponding to vehicle body image and vehicle body image The corresponding relationship of category information.
In the present embodiment, the information obtained based on image input units 502, information generating unit 503 can be right Above-mentioned target vehicle body image carries out critical point detection, generates vehicle body key point information.Wherein, vehicle body key point information is used to indicate Vehicle body key point in target vehicle body image can include but is not limited at least one of following: number, text, symbol, image.
In some optional implementations of the present embodiment, information generating unit 502 can be further configured to: be rung Preset condition should be met in determining body gesture indicated by information, by target vehicle body image input vehicle body trained in advance Key point identification model obtains the vehicle body key point information for characterizing position of the vehicle body key point in target vehicle body image.
In some optional implementations of the present embodiment, device 500 can also include: image processing unit (in figure It is not shown), it is configured to in target vehicle body image, corresponding with the vehicle body key point that vehicle body key point information is characterized Image-region is handled, and result vehicle body image is obtained.
In some optional implementations of the present embodiment, device 500 can also include: image-display units (in figure It is not shown), it is configured to show result vehicle body image.
In some optional implementations of the present embodiment, device 500 can also include: image transmission unit (in figure It is not shown), it is configured to for result vehicle body image being sent to the user terminal of communication connection, and control user terminal to result Vehicle body image is shown.
In some optional implementations of the present embodiment, information generating unit 503 can be further configured to: be rung It should be unsatisfactory for preset condition in determining body gesture indicated by information, generation does not include for characterizing target vehicle body image The vehicle body key point information of vehicle body key point.
It is understood that all units recorded in the device 500 and each step phase in the method with reference to Fig. 2 description It is corresponding.As a result, above with respect to the operation of method description, the beneficial effect of feature and generation be equally applicable to device 500 and its In include unit, details are not described herein.
The device provided by the above embodiment 500 of the disclosure can identify the key point of vehicle body, help to utilize identification Key point out handles vehicle body image, compared to the artificially selection vehicle body region from vehicle body image, and to vehicle body area Domain is handled, and the efficiency of image procossing can be improved in the disclosure;Also, the disclosure is based on vehicle body appearance corresponding to vehicle body image State carries out critical point detection to vehicle body image, the accuracy of vehicle body key point information generated can be improved, help to improve To the accuracy that vehicle body image is handled, and then help to generate and show more accurate, treated vehicle body image.
Below with reference to Fig. 6, it illustrates the electronic equipment (end of example as shown in figure 1 for being suitable for being used to realize the embodiment of the present disclosure End equipment 101,102,103 or server 105) 600 structural schematic diagram.Terminal device in the embodiment of the present disclosure may include But it is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (plate electricity Brain), PMP (portable media player), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as The fixed terminal of digital TV, desktop computer etc..Electronic equipment shown in Fig. 6 is only an example, should not be to the disclosure The function and use scope of embodiment bring any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 607 of dynamic device etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.Communication device 609, which can permit electronic equipment 600, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool There is the electronic equipment 600 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608 It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that computer-readable medium described in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.Above-mentioned computer-readable medium carries one or more program, when said one or more When a program is executed by the electronic equipment, so that the electronic equipment: obtaining target vehicle body image;The input of target vehicle body image is pre- First trained vehicle body category identification model obtains information, wherein vehicle body category identification model corresponds to predetermined default Quantity body gesture, information are used to indicate in preset quantity body gesture, vehicle body corresponding to target vehicle body image Posture;Based on information obtained, critical point detection is carried out to target vehicle body image, generates vehicle body key point information.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, figure As acquiring unit is also described as " obtaining the unit of target vehicle body image ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of method for generating information, comprising:
Obtain target vehicle body image;
By target vehicle body image input vehicle body category identification model trained in advance, information is obtained, wherein the vehicle Body category identification model corresponds to predetermined preset quantity body gesture, and the information is used to indicate the present count It measures in a body gesture, body gesture corresponding to the target vehicle body image;
Based on information obtained, critical point detection is carried out to the target vehicle body image, generates vehicle body key point information.
2. it is described to be based on information obtained according to the method described in claim 1, wherein, to the target vehicle body figure As carrying out critical point detection, generating vehicle body key point information includes:
Meet preset condition in response to body gesture indicated by the determination information, the target vehicle body image is inputted Trained vehicle body key point identification model in advance is obtained for characterizing position of the vehicle body key point in the target vehicle body image Vehicle body key point information.
3. according to the method described in claim 2, wherein, the method also includes:
To image-region in the target vehicle body image, corresponding with the vehicle body key point that vehicle body key point information is characterized It is handled, obtains result vehicle body image.
4. according to the method described in claim 3, wherein, the method also includes:
The result vehicle body image is shown.
5. according to the method described in claim 3, wherein, the method also includes:
The result vehicle body image is sent to the user terminal of communication connection, and the control user terminal to the result Vehicle body image is shown.
6. the method according to one of claim 2-5, wherein it is described to be based on information obtained, to the target Vehicle body image carries out critical point detection, generates vehicle body key point information further include:
It is unsatisfactory for the preset condition in response to body gesture indicated by the determination information, is generated described for characterizing Target vehicle body image does not include the vehicle body key point information of vehicle body key point.
7. a kind of for generating the device of information, comprising:
Image acquisition unit is configured to obtain target vehicle body image;
Image input units are configured to inputting the target vehicle body image into vehicle body category identification model trained in advance, obtain Obtain information, wherein the vehicle body category identification model corresponds to predetermined preset quantity body gesture, the type Information is used to indicate in the preset quantity body gesture, body gesture corresponding to the target vehicle body image;
Information generating unit, is configured to based on information obtained, carries out key point inspection to the target vehicle body image It surveys, generates vehicle body key point information.
8. device according to claim 7, wherein the information generating unit is further configured to:
Meet preset condition in response to body gesture indicated by the determination information, the target vehicle body image is inputted Trained vehicle body key point identification model in advance is obtained for characterizing position of the vehicle body key point in the target vehicle body image Vehicle body key point information.
9. device according to claim 8, wherein described device further include:
Image processing unit is configured to vehicle body in the target vehicle body image, being characterized with vehicle body key point information The corresponding image-region of key point is handled, and result vehicle body image is obtained.
10. device according to claim 9, wherein described device further include:
Image-display units are configured to show the result vehicle body image.
11. device according to claim 9, wherein described device further include:
Image transmission unit is configured to for the result vehicle body image being sent to the user terminal of communication connection, and control The user terminal shows the result vehicle body image.
12. the device according to one of claim 8-11, wherein the information generating unit is further configured to:
It is unsatisfactory for the preset condition in response to body gesture indicated by the determination information, is generated described for characterizing Target vehicle body image does not include the vehicle body key point information of vehicle body key point.
13. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 6.
14. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Such as method as claimed in any one of claims 1 to 6.
CN201910312192.2A 2019-04-18 2019-04-18 Method and apparatus for generating information Active CN110059623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910312192.2A CN110059623B (en) 2019-04-18 2019-04-18 Method and apparatus for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910312192.2A CN110059623B (en) 2019-04-18 2019-04-18 Method and apparatus for generating information

Publications (2)

Publication Number Publication Date
CN110059623A true CN110059623A (en) 2019-07-26
CN110059623B CN110059623B (en) 2021-06-11

Family

ID=67319491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910312192.2A Active CN110059623B (en) 2019-04-18 2019-04-18 Method and apparatus for generating information

Country Status (1)

Country Link
CN (1) CN110059623B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753635A (en) * 2020-03-31 2020-10-09 杭州海康威视数字技术股份有限公司 Intelligent scoring method and device for chemical experiment operation and storage medium
CN112052807A (en) * 2020-09-10 2020-12-08 讯飞智元信息科技有限公司 Vehicle position detection method, device, electronic equipment and storage medium
CN112131935A (en) * 2020-08-13 2020-12-25 浙江大华技术股份有限公司 Motor vehicle carriage manned identification method and device and computer equipment
CN112200183A (en) * 2020-09-30 2021-01-08 北京字节跳动网络技术有限公司 Image processing method, device, equipment and computer readable medium
CN112967339A (en) * 2020-12-28 2021-06-15 北京市商汤科技开发有限公司 Vehicle pose determination method, vehicle control method and device and vehicle

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456127A (en) * 2010-10-21 2012-05-16 三星电子株式会社 Head posture estimation equipment and head posture estimation method
CN103824049A (en) * 2014-02-17 2014-05-28 北京旷视科技有限公司 Cascaded neural network-based face key point detection method
CN104268573A (en) * 2014-09-24 2015-01-07 深圳市华尊科技有限公司 Vehicle detecting method and device
CN104992148A (en) * 2015-06-18 2015-10-21 江南大学 ATM terminal human face key points partially shielding detection method based on random forest
CN105447490A (en) * 2015-11-19 2016-03-30 浙江宇视科技有限公司 Vehicle key point detection method based on gradient regression tree and apparatus thereof
CN106971187A (en) * 2017-04-12 2017-07-21 华中科技大学 A kind of vehicle part detection method and system based on vehicle characteristics point
CN107506702A (en) * 2017-08-08 2017-12-22 江西高创保安服务技术有限公司 Human face recognition model training and test system and method based on multi-angle
CN108108656A (en) * 2017-11-15 2018-06-01 浙江工业大学 Vehicle window corner detection and multidirectional projection-based vehicle window accurate positioning method
CN108182376A (en) * 2017-11-15 2018-06-19 浙江工业大学 Vehicle window corner detection-based vehicle window positioning method
CN108319907A (en) * 2018-01-26 2018-07-24 腾讯科技(深圳)有限公司 A kind of vehicle identification method, device and storage medium
CN108319952A (en) * 2017-01-16 2018-07-24 浙江宇视科技有限公司 A kind of vehicle characteristics extracting method and device
CN108416321A (en) * 2018-03-23 2018-08-17 北京市商汤科技开发有限公司 For predicting that target object moves method, control method for vehicle and the device of direction
CN109063768A (en) * 2018-08-01 2018-12-21 北京旷视科技有限公司 Vehicle recognition methods, apparatus and system again

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456127A (en) * 2010-10-21 2012-05-16 三星电子株式会社 Head posture estimation equipment and head posture estimation method
CN103824049A (en) * 2014-02-17 2014-05-28 北京旷视科技有限公司 Cascaded neural network-based face key point detection method
CN104268573A (en) * 2014-09-24 2015-01-07 深圳市华尊科技有限公司 Vehicle detecting method and device
CN104992148A (en) * 2015-06-18 2015-10-21 江南大学 ATM terminal human face key points partially shielding detection method based on random forest
CN105447490A (en) * 2015-11-19 2016-03-30 浙江宇视科技有限公司 Vehicle key point detection method based on gradient regression tree and apparatus thereof
CN108319952A (en) * 2017-01-16 2018-07-24 浙江宇视科技有限公司 A kind of vehicle characteristics extracting method and device
CN106971187A (en) * 2017-04-12 2017-07-21 华中科技大学 A kind of vehicle part detection method and system based on vehicle characteristics point
CN107506702A (en) * 2017-08-08 2017-12-22 江西高创保安服务技术有限公司 Human face recognition model training and test system and method based on multi-angle
CN108182376A (en) * 2017-11-15 2018-06-19 浙江工业大学 Vehicle window corner detection-based vehicle window positioning method
CN108108656A (en) * 2017-11-15 2018-06-01 浙江工业大学 Vehicle window corner detection and multidirectional projection-based vehicle window accurate positioning method
CN108319907A (en) * 2018-01-26 2018-07-24 腾讯科技(深圳)有限公司 A kind of vehicle identification method, device and storage medium
CN108416321A (en) * 2018-03-23 2018-08-17 北京市商汤科技开发有限公司 For predicting that target object moves method, control method for vehicle and the device of direction
CN109063768A (en) * 2018-08-01 2018-12-21 北京旷视科技有限公司 Vehicle recognition methods, apparatus and system again

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111753635A (en) * 2020-03-31 2020-10-09 杭州海康威视数字技术股份有限公司 Intelligent scoring method and device for chemical experiment operation and storage medium
CN111753635B (en) * 2020-03-31 2023-08-04 杭州海康威视数字技术股份有限公司 Intelligent scoring method and device for chemical experiment operation and storage medium
CN112131935A (en) * 2020-08-13 2020-12-25 浙江大华技术股份有限公司 Motor vehicle carriage manned identification method and device and computer equipment
CN112131935B (en) * 2020-08-13 2024-07-30 浙江大华技术股份有限公司 Method and device for identifying person carried in motor vehicle compartment and computer equipment
CN112052807A (en) * 2020-09-10 2020-12-08 讯飞智元信息科技有限公司 Vehicle position detection method, device, electronic equipment and storage medium
CN112052807B (en) * 2020-09-10 2022-06-10 讯飞智元信息科技有限公司 Vehicle position detection method, device, electronic equipment and storage medium
CN112200183A (en) * 2020-09-30 2021-01-08 北京字节跳动网络技术有限公司 Image processing method, device, equipment and computer readable medium
CN112967339A (en) * 2020-12-28 2021-06-15 北京市商汤科技开发有限公司 Vehicle pose determination method, vehicle control method and device and vehicle
CN112967339B (en) * 2020-12-28 2023-07-25 北京市商汤科技开发有限公司 Vehicle pose determining method, vehicle control method and device and vehicle

Also Published As

Publication number Publication date
CN110059623B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN110059623A (en) Method and apparatus for generating information
CN109993150A (en) The method and apparatus at age for identification
CN109902186A (en) Method and apparatus for generating neural network
CN109858445A (en) Method and apparatus for generating model
CN108898185A (en) Method and apparatus for generating image recognition model
CN110298906A (en) Method and apparatus for generating information
CN108595628A (en) Method and apparatus for pushed information
CN109255337A (en) Face critical point detection method and apparatus
CN108492364A (en) The method and apparatus for generating model for generating image
CN110162670A (en) Method and apparatus for generating expression packet
CN109977839A (en) Information processing method and device
CN109754464A (en) Method and apparatus for generating information
CN109829432A (en) Method and apparatus for generating information
CN109815365A (en) Method and apparatus for handling video
CN109947989A (en) Method and apparatus for handling video
CN110084317A (en) The method and apparatus of image for identification
CN109389072A (en) Data processing method and device
CN110059624A (en) Method and apparatus for detecting living body
CN110032978A (en) Method and apparatus for handling video
CN109918530A (en) Method and apparatus for pushing image
CN109902446A (en) Method and apparatus for generating information prediction model
CN109961141A (en) Method and apparatus for generating quantization neural network
CN109829164A (en) Method and apparatus for generating text
CN110046571A (en) The method and apparatus at age for identification
CN109683710B (en) A kind of palm normal vector determines method, apparatus, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder