Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a vehicle image capturing and guiding method to solve the technical defects in the prior art. The embodiment of the specification also provides a vehicle image acquisition guiding device, a computing device and a computer readable storage medium.
One embodiment of the present specification provides a vehicle image acquisition guidance method, including:
extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle;
detecting whether the first image frame has an acquisition identifier of the target vehicle in an image frame region corresponding to a reference acquisition range;
if the current time does not exist, sending a prompt for carrying out acquisition adjustment to the acquisition terminal;
under the condition that a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame area corresponding to the reference acquisition range, identifying a vehicle part of the target vehicle corresponding to the second image frame;
and sending a collection guidance prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
Optionally, identifying a vehicle part of the target vehicle corresponding to a second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment when the acquisition identifier exists in the image frame region corresponding to the reference acquisition range includes:
extracting the second image frame from the video stream acquired by the acquisition terminal after the acquisition adjustment;
detecting whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
and if so, identifying the vehicle part of the target vehicle corresponding to the second image frame.
Optionally, if a detection result after the step of detecting whether the first image frame has the acquisition identifier of the target vehicle in the image frame region corresponding to the reference acquisition range is yes, the following operations are performed:
identifying a vehicle part of the first image frame corresponding to the target vehicle;
and sending a collection guiding prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on the vehicle part collection sequence.
Optionally, when the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment has the acquisition identifier in the image frame region corresponding to the reference acquisition range, after the step of identifying the vehicle part of the target vehicle corresponding to the second image frame is executed, and before the step of sending an acquisition guidance prompt for acquiring the next vehicle part of the target vehicle to the acquisition terminal based on a preset vehicle part acquisition sequence is executed, the method includes:
judging whether the vehicle part of the target vehicle corresponding to the second image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if the vehicle part acquisition sequence is consistent with the preset vehicle part acquisition sequence, displaying a successful reminding mark of the successful acquisition of the reference vehicle part on the basis of an image acquisition page of the acquisition terminal, and sending an acquisition guiding prompt step of acquiring the next vehicle part of the target vehicle to the acquisition terminal;
and if the reference vehicle part is inconsistent with the reference vehicle part, displaying a failure reminding identifier of the reference vehicle part which fails to be acquired based on an image acquisition page of the acquisition terminal.
Optionally, the sending, to the collection terminal, a collection guidance prompt for collecting a next vehicle location of the target vehicle based on a preset vehicle location collection sequence includes:
determining that the acquisition terminal acquires a next vehicle part of the target vehicle based on the vehicle part acquisition sequence;
determining the acquisition movement direction from the second image frame corresponding to the vehicle part of the target vehicle to the next vehicle part based on the determined next vehicle part and the second image frame corresponding to the vehicle part of the target vehicle;
and displaying the acquisition guide prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Optionally, after the step of sending a guidance prompt for acquiring a next vehicle location of the target vehicle to the acquisition terminal is executed based on a preset vehicle location acquisition sequence, the method includes:
extracting a third image frame from a video stream acquired by the acquisition terminal for a next vehicle part of the target vehicle;
detecting whether the acquisition identifier exists in an image frame region corresponding to the reference acquisition range of the third image frame;
if yes, identifying the next vehicle part corresponding to the third image frame;
judging whether the next vehicle part corresponding to the third image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if so, judging whether the next vehicle part corresponding to the third image frame is the last vehicle part determined according to the vehicle part acquisition sequence;
and if so, storing the video streams acquired by the acquisition terminal aiming at each vehicle part of the target vehicle in a video file form.
Optionally, if the execution result of the step of judging whether the next vehicle part of the target vehicle is the last vehicle part determined according to the vehicle part collection sequence is negative, the step of executing the collection guidance prompting step based on the preset vehicle part collection sequence is returned, and the collection guidance prompting step of collecting the next vehicle part of the target vehicle is sent to the collection terminal.
Optionally, after the step of extracting, by the capture terminal, the first image frame from the video stream captured by the target vehicle is executed, and before the step of detecting whether the capture identification of the target vehicle exists in the image frame region corresponding to the reference capture range in the first image frame is executed, the method includes:
identifying a vehicle part of the target vehicle contained in the first image frame;
judging whether a vehicle part corresponding to the acquisition identifier exists in the vehicle parts of the target vehicle contained in the first image frame;
and if so, executing the step of detecting whether the first image frame has the acquisition identification of the target vehicle in the image frame area corresponding to the reference acquisition range.
Optionally, the vehicle part corresponding to the collection identifier includes at least one of the following: a vehicle top portion and a vehicle bottom portion;
correspondingly, the detecting whether the acquisition identifier of the target vehicle exists in the image frame region corresponding to the reference acquisition range of the first image frame includes:
and detecting whether the first image frame has a vehicle top part and a vehicle bottom part corresponding to the acquisition identification in an image frame region corresponding to a reference acquisition range.
Optionally, the sending the reminder for performing acquisition adjustment to the acquisition terminal includes:
if the first image frame does not have the vehicle top part corresponding to the acquisition identifier in the image frame area corresponding to the reference acquisition range, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle upwards on the basis of an image acquisition page of the acquisition terminal;
or if the vehicle bottom part corresponding to the acquisition identifier does not exist in the image frame region corresponding to the reference acquisition range of the first image frame, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle downwards based on an image acquisition page of the acquisition terminal.
One or more embodiments of the present specification further provide a vehicle image capturing guide apparatus including:
the first image frame extraction module is configured to extract a first image frame from a video stream acquired by an acquisition terminal for a target vehicle;
the acquisition identifier detection module is configured to detect whether the first image frame has the acquisition identifier of the target vehicle in an image frame area corresponding to a reference acquisition range;
if the current time does not exist, the reminding sending module is operated; the reminding sending module is configured to send a reminding for carrying out acquisition adjustment to the acquisition terminal;
the vehicle part recognition module is configured to recognize a vehicle part of the target vehicle corresponding to a second image frame under the condition that the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment exists in the image frame area corresponding to the reference acquisition range;
and the acquisition guide prompt sending module is configured to send an acquisition guide prompt for acquiring the next vehicle part of the target vehicle to the acquisition terminal based on a preset vehicle part acquisition sequence.
Optionally, the vehicle part identification module includes:
the second image frame extraction sub-module is configured to extract the second image frame from the video stream acquired by the acquisition terminal after acquisition adjustment;
a first acquisition identifier detection sub-module configured to detect whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range; and if so, identifying the vehicle part of the target vehicle corresponding to the second image frame.
Optionally, if the detection result after the first acquisition identifier detection sub-module operates is yes, the following sub-modules are operated:
a first vehicle part identification sub-module configured to identify a vehicle part of the target vehicle corresponding to the first image frame;
a first collection guidance prompt issuing sub-module configured to issue a collection guidance prompt to the collection terminal to collect a next vehicle part of the target vehicle based on the vehicle part collection order.
Optionally, the vehicle image capturing and guiding device further includes:
a vehicle part determination module configured to determine whether a vehicle part of the target vehicle corresponding to the second image frame coincides with a reference vehicle part determined in the vehicle part collection order;
if the operation is consistent with the operation, the mark display module is successfully reminded; the successful reminding mark display module is configured to display a successful reminding mark of successful acquisition of the reference vehicle part based on an image acquisition page of the acquisition terminal and operate the acquisition guide prompt sending module;
if the operation result is not consistent with the operation result, the failure reminding mark display module is operated; the failure reminding mark display module is configured to display the failure reminding mark of the reference vehicle part failure in collection based on an image collection page of the collection terminal.
Optionally, the collection guidance prompt sending module includes:
a next vehicle location determination sub-module configured to determine that the acquisition terminal acquires a next vehicle location of the target vehicle based on the vehicle location acquisition order;
an acquisition movement direction determination sub-module configured to determine the acquisition movement direction from the second image frame corresponding to the vehicle part of the target vehicle to the next vehicle part based on the determined next vehicle part and the second image frame corresponding to the vehicle part of the target vehicle;
and the second acquisition guide prompt sending sub-module is configured to display the acquisition guide prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Optionally, the vehicle image capturing and guiding device further includes:
a third image frame extraction module configured to extract a third image frame in a video stream captured by the capture terminal for a next vehicle portion of the target vehicle;
a third acquisition identifier detection module configured to detect whether the third image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
if yes, operating a next vehicle part identification module; the next vehicle part identification module is configured to identify the next vehicle part corresponding to the third image frame;
a next vehicle part determination module configured to determine whether the next vehicle part corresponding to the third image frame coincides with a reference vehicle part determined in the vehicle part collection order;
if the vehicle position is consistent with the first vehicle position, a third vehicle position judgment module is operated; the third vehicle part judging module is configured to judge whether the next vehicle part corresponding to the third image frame is an end vehicle part determined according to the vehicle part collecting sequence;
if so, operating a video stream storage module; the video stream storage module is configured to store the video streams acquired by the acquisition terminal aiming at each vehicle part of the target vehicle in the form of video files.
Optionally, if the operation result of the third vehicle position judgment module after operation is negative, the acquisition guidance prompt sending module is operated.
Optionally, the vehicle image capturing and guiding device further includes:
an identification module configured to identify a vehicle part of the target vehicle contained in the first image frame;
a vehicle part determination module configured to determine whether a vehicle part corresponding to the acquisition identifier exists among vehicle parts of the target vehicle included in the first image frame;
and if so, operating the acquisition identifier detection module.
Optionally, the vehicle part corresponding to the collection identifier includes at least one of the following: a vehicle top portion and a vehicle bottom portion;
correspondingly, the acquisition identifier detection module is specifically configured to detect whether the first image frame has a vehicle top part and a vehicle bottom part corresponding to the acquisition identifier in an image frame region corresponding to a reference acquisition range.
Optionally, the prompt sending module includes:
the first reminding sub-module is configured to show reminding information and reminding identifications for adjusting the image acquisition visual angle upwards based on an image acquisition page of the acquisition terminal if the first image frame does not have the vehicle top part corresponding to the acquisition identification in the image frame area corresponding to the reference acquisition range;
and the second reminding sub-module is configured to show reminding information and reminding identification for adjusting the image acquisition visual angle downwards based on an image acquisition page of the acquisition terminal if the first image frame does not have the vehicle bottom part corresponding to the acquisition identification in the image frame area corresponding to the reference acquisition range.
One or more embodiments of the present specification also provide a computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle;
detecting whether the first image frame has an acquisition identifier of the target vehicle in an image frame region corresponding to a reference acquisition range;
if not, sending a prompt for carrying out acquisition adjustment to the acquisition terminal;
under the condition that a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame area corresponding to the reference acquisition range, identifying a vehicle part of the target vehicle corresponding to the second image frame;
and sending a collecting guide prompt for collecting the next vehicle part of the target vehicle to the collecting terminal based on a preset vehicle part collecting sequence.
One or more embodiments of the present specification also provide a computer-readable storage medium storing computer instructions, which when executed by a processor, implement the steps of the vehicle image capture guidance method.
An embodiment of the present specification provides a vehicle image acquisition guidance method, including: extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle; detecting whether the first image frame has an acquisition identifier of the target vehicle in an image frame area corresponding to a reference acquisition range; if the current time does not exist, sending a prompt for carrying out acquisition adjustment to the acquisition terminal; under the condition that a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame area corresponding to the reference acquisition range, identifying a vehicle part of the target vehicle corresponding to the second image frame; and sending a collection guidance prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
An embodiment of the present description implements that starting from a video stream acquired by an acquisition terminal for a target vehicle, whether an acquired image meets an image detection requirement is detected by detecting whether an acquired image frame includes an acquisition identifier of the target vehicle, and under the condition that an image frame extracted from the acquired video stream meets the image detection requirement, a collection sequence of the acquisition terminal for a vehicle part of the target vehicle is further prompted on the basis of identifying the vehicle part included in the image frame, and an acquisition guidance prompt for performing image acquisition according to the vehicle part collection sequence is sent to the acquisition terminal, so that on one hand, the quality of image acquisition is improved, on the other hand, the acquisition efficiency of image acquisition for the target vehicle is also improved, and the experience of an image acquisition process is improved.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination," depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
The specification provides a vehicle image acquisition guiding method, and also provides a vehicle image acquisition guiding device, a computing device and a computer readable storage medium. The following detailed description and the explanation of the steps of the method are individually made with reference to the drawings of the embodiments provided in the present specification.
The embodiment of the vehicle image acquisition guiding method provided by the specification is as follows:
referring to fig. 1, which shows a processing flow chart of a vehicle image capturing and guiding method provided in this embodiment, referring to fig. 2, which shows a schematic diagram of an image capturing page of a first type of capturing terminal provided in this embodiment, referring to fig. 3, which shows a schematic diagram of an image capturing page of a second type of capturing terminal provided in this embodiment.
Step S102, extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle.
In practical application, a vehicle owner needs to comprehensively detect and evaluate the vehicle condition of a vehicle in the process of purchasing a vehicle insurance from the vehicle, and needs to acquire the image of the vehicle in the process of evaluating the vehicle condition of the vehicle, and evaluate the vehicle condition on the basis of the acquired image of the vehicle so as to purchase insurance.
The vehicle image acquisition guiding method provided by the embodiment comprises the steps of carrying out image acquisition on a target vehicle in a video acquisition mode, controlling the acquisition quality of image acquisition on the target vehicle by detecting whether acquired image frames contain the acquisition identification of the target vehicle or not in the acquisition process, prompting the acquisition sequence of an acquisition terminal on the vehicle part of the target vehicle on the basis of identifying the vehicle part contained in the image frames, detecting and prompting the image acquisition process of the vehicle, on one hand, improving the quality of the acquired image, on the other hand, improving the acquisition efficiency of image acquisition on the target vehicle, and improving the experience of the image acquisition process.
The target vehicle in this embodiment is a vehicle that needs to perform image acquisition, for example, an owner of the vehicle needs to purchase a vehicle insurance for a vehicle C under its own name, the vehicle condition of the vehicle C needs to be detected and evaluated in detail in the insurance purchasing process, and the detection and evaluation of the vehicle condition need to be performed on the basis of the acquired image of the vehicle C, so that the vehicle C is the target vehicle that performs image acquisition, and then the vehicle condition of the vehicle C is determined according to the image (or video) acquired for the vehicle C in the insurance application process, and the vehicle C is subjected to insurance application processing based on the image (or video).
The acquisition terminal in this embodiment refers to a terminal device that acquires an image of a target vehicle, and the acquisition terminal may be a mobile terminal equipped with an image acquisition component, or may be another image acquisition terminal device that is used for acquiring an image, which is not limited to this.
In this embodiment, in the process of capturing an image of a target vehicle by using the capture terminal, the capture is performed in a video capture mode, so that the captured data also exists in the form of a video stream, and in the process of guiding image capture of the target vehicle, the capture is performed on the basis of extracting an image frame from the video stream. It should be noted that, in the present embodiment, the image of the target vehicle is captured by the capture terminal in a video capture manner, and the image capture process of the target vehicle in the video capture manner is continuous until all the images of the target vehicle are captured.
In this embodiment, the first image frame is extracted from the video stream captured by the capture terminal for the target vehicle, and the purpose of extracting the first image frame is to detect whether image capture performed by the capture terminal on the target vehicle meets the image capture requirement (i.e., the detection process of the first image frame in step S104 described below), where the detection process is to ensure that the image captured for the target vehicle meets the image capture requirement. The method includes the steps that a first image frame extracted from a video stream collected by a collection terminal for a target vehicle is not an image frame extracted from the video stream, but an image frame extracted from the video stream at a certain time interval, for example, an image frame is extracted from the video stream collected by the collection terminal for the target vehicle at intervals of 2S or 5S and is used as a first image frame for detecting whether an image collection requirement is met; or, under the condition that the image processing capability and the computing resource allow, each image frame in the video stream acquired by the acquisition terminal for the target vehicle can be extracted as a first image frame for detecting whether the image acquisition requirement is met, so that the image frames contained in the video stream acquired by the acquisition terminal for the target vehicle are all ensured to meet the image acquisition requirement.
Step S104, detecting whether the first image frame has the acquisition identifier of the target vehicle in the image frame area corresponding to the reference acquisition range.
After the first image frame is extracted from a video stream acquired by an acquisition terminal for a target vehicle, the extracted first image frame is detected, and whether the extracted first image frame meets an image acquisition requirement is detected, specifically, whether an acquisition identifier of the target vehicle exists in an image frame area corresponding to a reference acquisition range is detected.
The purpose of setting the reference capture range in the embodiment is to constrain the image capture process of the target vehicle, and improve the quality of the image frames included in the video stream captured for the target vehicle, and the integrity and usability of the image features of the target vehicle included in the image frames.
The reference acquisition range refers to acquisition requirements or limitations of the acquired image characteristics of the target vehicle in the process of acquiring the image of the target vehicle by using the acquisition terminal. As shown in fig. 2 and fig. 3, the image capture pages are displayed on the capture terminal, where 201 is a reference capture range set in the image capture page, and based on the reference capture range, in the process of capturing an image of the vehicle C, the target is to capture an image of the vehicle C around the vehicle body, that is, to capture images of vehicle positions of the vehicle C around the vehicle body within the reference capture range.
In an optional implementation manner provided by this embodiment, on the basis that the first image frame is extracted from a video stream captured by a capture terminal for a target vehicle in the above step, and before detecting whether a capture identifier of the target vehicle exists in an image frame region corresponding to a reference capture range of the first image frame, a vehicle part of the target vehicle included in the first image frame is first identified;
optionally, the vehicle part corresponding to the collection identifier includes at least one of the following: a vehicle top portion and a vehicle bottom portion; a vehicle top part 202 and a vehicle bottom part 203 provided by an image capture page displayed on a mobile phone screen serving as a capture terminal shown in fig. 2, a vehicle top part 302 and a vehicle bottom part 303 provided by an image capture page displayed on a mobile phone screen serving as a capture terminal shown in fig. 3;
further, whether a vehicle part corresponding to the acquisition identifier exists in the vehicle parts of the target vehicle contained in the first image frame is judged;
if the first image frame is acquired, the acquired first image frame is shown to contain the vehicle top part and the vehicle bottom part of the target vehicle, then an acquisition identification process for detecting whether the first image frame has the target vehicle in an image frame area corresponding to a reference acquisition range is executed, and the first image frame contained in a video stream acquired by an acquisition terminal is further detected;
if not, it is indicated that the acquired first image frame does not include the vehicle top part and the vehicle bottom part of the target vehicle, a prompt for acquisition adjustment is sent to the acquisition terminal, for example, a prompt for displaying an image acquisition angle or an image acquisition distance on an image acquisition page of the acquisition terminal is sent to remind an operator of the acquisition terminal of bringing the vehicle top part and the vehicle bottom part of the target vehicle into an acquisition target of a reference acquisition range of the image acquisition page of the acquisition terminal by adjusting the acquisition angle or the acquisition distance between the acquisition terminal and the target vehicle.
In specific implementation, on the basis that the vehicle part corresponding to the acquisition identifier includes a vehicle top part and a vehicle bottom part, detecting whether the acquisition identifier of the target vehicle exists in an image frame region corresponding to a reference acquisition range of the first image frame, that is, detecting whether the vehicle top part and the vehicle bottom part of the target vehicle exist in the image frame region corresponding to the reference acquisition range of the first image frame;
if yes, it is indicated that the image frame area corresponding to the reference acquisition range in the acquired first image frame includes a vehicle top part and a vehicle bottom part of a target vehicle, optionally, the vehicle part of the target vehicle corresponding to the first image frame is identified, and an acquisition guidance prompt for acquiring a next vehicle part of the target vehicle is sent to the acquisition terminal based on the vehicle part acquisition sequence;
if not, the acquired first image frame does not include the vehicle top part and the vehicle bottom part of the target vehicle in the image frame region corresponding to the reference acquisition range, and the following step S106 is executed to send a prompt for acquisition adjustment to the acquisition terminal.
For example, as shown in fig. 2, the mobile phone serves as an image capture page of the capture terminal, and an image displayed on the image capture page is an image frame extracted from a video stream captured by the mobile phone for the vehicle C; as can be seen, the extracted vehicle bottom portion 203 of the vehicle C in the image frame is within the reference collection range of the image collection page, and the vehicle top portion 202 of the vehicle C is not within the reference collection range of the image collection page and exceeds the reference collection range of the image collection page, so that a reminder for collection adjustment needs to be sent out on the image collection page of the mobile phone, for example, the reminder that "the adjustment of the angle of the mobile phone is required to keep the vehicle top portion in the screen" shown in fig. 2 reminds the operator who performs image collection on the vehicle C to adjust the collection angle of the mobile phone, and brings the vehicle top portion 202 and the vehicle bottom portion 203 of the vehicle C into the reference collection range of the image collection page, so as to collect the vehicle image meeting the image collection requirement.
And step S106, sending a prompt for acquisition adjustment to the acquisition terminal.
If the step S104 detects that the first image frame has the acquisition identifier of the target vehicle in the image frame region corresponding to the reference acquisition range, that is, if the acquired first image frame does not include the vehicle top part and the vehicle bottom part of the target vehicle in the image frame region corresponding to the reference acquisition range, the step is executed to send a prompt to the acquisition terminal to perform acquisition adjustment.
On the basis of the optional implementation manner provided in the step S104, here, sending a reminder to perform acquisition adjustment to the acquisition terminal is implemented by adopting the following optional implementation manner:
if the first image frame does not have the vehicle top part corresponding to the acquisition identifier in the image frame area corresponding to the reference acquisition range, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle upwards on the basis of an image acquisition page of the acquisition terminal;
or if the vehicle bottom part corresponding to the acquisition identifier does not exist in the image frame region corresponding to the reference acquisition range of the first image frame, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle downwards based on an image acquisition page of the acquisition terminal.
In practical application, if the first image frame acquired by the acquisition terminal does not have the vehicle top part corresponding to the acquisition identifier in the image frame region corresponding to the reference acquisition range, it indicates that the vehicle top part of the target vehicle exceeds the image acquisition limit above the reference acquisition range, and at this time, the operation direction of the acquisition terminal should be prompted to move the acquisition view angle of the acquisition terminal upwards, so that the acquisition terminal can acquire the vehicle top part and the vehicle bottom part of the target vehicle in the reference acquisition range after adjustment;
similarly, if the first image frame acquired by the acquisition terminal does not have the vehicle bottom part corresponding to the acquisition identifier in the image frame region corresponding to the reference acquisition range, it indicates that the vehicle bottom part of the target vehicle exceeds the image acquisition limit below the reference acquisition range, and at this time, the operation party of the acquisition terminal should be prompted to move the acquisition view angle of the acquisition terminal downwards, so that the acquisition terminal can acquire the vehicle bottom part and the vehicle top part of the target vehicle in the reference acquisition range after adjustment;
therefore, the reminding of acquisition adjustment is sent to the acquisition terminal through the two types of information, the condition that the top part and the bottom part of the vehicle of the target vehicle exceed the reference acquisition range is pointed, the reminding information and the reminding identification of the adjustment of the image acquisition visual angle are displayed on the image acquisition page of the acquisition terminal, and the reminding information and the reminding identification are matched, so that the reminding of the adjustment of the image acquisition visual angle is sent to the acquisition terminal more visually and more effectively, and meanwhile, the humanization degree of the reminding sent in the image acquisition process of the target vehicle is also improved.
For example, in the image capturing page of the capturing terminal shown in fig. 2, the displayed image is an image frame extracted from a video stream captured by the mobile phone for the vehicle C, where the vehicle bottom portion 203 of the vehicle C in the image frame is within the reference capturing range of the image capturing page, and the vehicle top portion 202 of the vehicle C is not within the reference capturing range of the image capturing page and has exceeded the reference capturing range of the image capturing page, so that a prompt for performing capturing adjustment needs to be sent on the image capturing page of the mobile phone, for example, a prompt of "asking for adjusting the angle of the mobile phone to keep the vehicle top portion in the screen" shown in fig. 2 is displayed on the image capturing page of the mobile phone, and a prompt identifier of "upward arrow" for prompting the operating direction to move the capturing angle of the mobile phone upward is displayed on the upper position of the reference capturing range of the image capturing page, and the capturing angle of the mobile phone is adjusted more accurately by combining the two prompts, so that the vehicle top portion 202 and the vehicle bottom portion 203 of the vehicle C are brought into the reference capturing range of the image capturing page, and the vehicle image meeting the image capturing requirement is captured.
Step S108, under the condition that the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment has the acquisition identifier in the image frame area corresponding to the reference acquisition range, the vehicle part of the target vehicle corresponding to the second image frame is identified.
As described above, the process of image acquisition by the acquisition terminal for the target vehicle is performed in a video acquisition manner, and the video acquisition process is continuous, and the video acquisition process of the acquisition terminal for the target vehicle is not interrupted by sending a reminder for acquisition adjustment or an acquisition guidance prompt described below, so that it can be seen that there is only one video stream acquired by the acquisition terminal for the target vehicle. It should be noted that, the first image frame extracted from the video stream acquired by the acquisition terminal, the second image frame extracted from the video stream acquired by the acquisition terminal in this step, and the third image frame or even the nth image frame extracted from the video stream acquired by the acquisition terminal in the following step, where the video streams for extracting the image frames all refer to the video streams acquired by the acquisition terminal for the target vehicle, and the first image frame, the second image frame, the third image frame or even the nth image frame are extracted from the video streams acquired by the acquisition terminal, and there is no essential difference between the image frames, and the difference is only that:
the image frames extracted from the video stream are processed differently at different stages of image acquisition for the target vehicle, and therefore, for convenience of description and distinction of the different processing stages, the image frames extracted from the same video stream are named the first image frame, the second image frame, the third image frame, and even the nth image frame.
In an optional implementation manner provided in this embodiment, when a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame region corresponding to the reference acquisition range, the vehicle part of the target vehicle corresponding to the second image frame is identified, which is specifically implemented by the following method:
extracting the second image frame from the video stream acquired by the acquisition terminal after the acquisition adjustment;
detecting whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range; wherein the acquisition identifier comprises a vehicle top part and a vehicle bottom part;
if yes, the second image frame is extracted from the video stream acquired by the acquisition terminal after acquisition adjustment, wherein the second image frame comprises the vehicle top part and the vehicle bottom part of the target vehicle, and the vehicle part of the target vehicle corresponding to the second image frame is identified;
if not, indicating that the vehicle top part or the vehicle bottom part of the target vehicle is not included in the second image frame extracted from the video stream acquired by the acquisition terminal after acquisition adjustment, and sending a prompt for acquisition adjustment to the acquisition terminal.
Specifically, if the first image frame does not have the vehicle top part corresponding to the acquisition identifier in the image frame region corresponding to the reference acquisition range, displaying a reminding message and a reminding identifier for adjusting the image acquisition visual angle upwards on the basis of an image acquisition page of the acquisition terminal;
similarly, if the vehicle bottom part corresponding to the acquisition identifier does not exist in the image frame region corresponding to the reference acquisition range of the first image frame, displaying the reminding information and the reminding identifier for adjusting the image acquisition visual angle downwards based on the image acquisition page of the acquisition terminal.
In the above example, in the image capturing page using the mobile phone shown in fig. 2 as the capturing terminal, the displayed image is an image frame extracted from a video stream captured by the mobile phone for the vehicle C, the vehicle bottom portion 203 of the vehicle C in the image frame is within the reference capturing range of the image capturing page, and the vehicle top portion 202 of the vehicle C is not within the reference capturing range of the image capturing page and exceeds the reference capturing range of the image capturing page, so that a prompt for performing capturing adjustment needs to be sent out on the image capturing page of the mobile phone, for example, a prompt of "requiring to adjust the angle of the mobile phone to keep the vehicle top portion within the screen" shown in fig. 2 is displayed on the image capturing page, and a prompt identifier of "upward arrow" for prompting the operating party to move the capturing angle of the mobile phone upward is displayed on the upper position of the reference capturing range of the image capturing page, and the operating party is prompted to adjust the capturing angle of the mobile phone by a combination of the two prompts;
thereafter, after the acquisition angle of the mobile phone is adjusted according to the prompt, the video acquisition mode is continuously adopted to acquire the image of the vehicle C, the image frames extracted from the adjusted video stream are displayed on the image acquisition page of the mobile phone, as shown in fig. 3, and both the vehicle top part 302 and the vehicle bottom part 303 of the vehicle C in the image frames are within the reference acquisition range of the image acquisition page of the mobile phone.
During specific implementation, in order to improve the acquisition efficiency and acquisition accuracy rate of image acquisition for a target vehicle, a vehicle part acquisition sequence is set in the image acquisition process for the target vehicle, and the acquisition sequence of the target vehicle and the vehicle part are constrained based on the set vehicle part acquisition sequence, so that the acquisition terminal is more accurate for the image acquired by the target vehicle on the basis of the vehicle part acquisition sequence.
Specifically, in an optional implementation manner provided in this embodiment, when the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment exists in the image frame region corresponding to the reference acquisition range and the acquisition identifier is identified, the following operations are performed after the second image frame is identified as corresponding to the vehicle part of the target vehicle:
judging whether the vehicle part of the target vehicle corresponding to the second image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if the second image frame extracted after the acquisition adjustment is consistent with the reference vehicle part to be acquired specified by the vehicle part acquisition sequence, the second image frame is extracted, and the vehicle part acquired by the target vehicle is consistent with the reference vehicle part to be acquired, the successful acquisition reminding mark of the reference vehicle part is displayed based on the image acquisition page of the acquisition terminal, and the following step S110 is executed, and the acquisition guiding prompt for acquiring the next vehicle part of the target vehicle is sent to the acquisition terminal based on the preset vehicle part acquisition sequence;
if the acquired vehicle parts are inconsistent, the acquired vehicle parts of the second image frames extracted after the acquisition adjustment are inconsistent with the reference vehicle parts to be acquired according to the vehicle part acquisition sequence, namely the acquired vehicle parts are failed to be acquired according to the vehicle part acquisition sequence, and a failure reminding identifier of the reference vehicle part acquisition failure is displayed on the basis of an image acquisition page of the acquisition terminal.
For example, the starting vehicle part for vehicle acquisition recorded in the vehicle part acquisition sequence is "head", and then the following parts of the vehicle are sequentially acquired in a clockwise surrounding manner from the vehicle part of "head": "front head" - > "left front headlight" - > "left front body" - > "left rear view mirror" - > "left front door" - > "left rear headlight" - > "left rear wing" - > "right rear headlight" - > "right rear door" - > "right front door" - > "right rear view mirror" - > "right front body" - > "right front headlight" - >;
after the acquisition angle of the mobile phone is adjusted, the image frame extracted from the video stream acquired by the mobile phone is as shown in fig. 3, it can be seen that both the vehicle top portion 302 and the vehicle bottom portion 303 of the vehicle C in the image frame are within the reference acquisition range of the image acquisition page of the mobile phone, and the image frame is input into a vehicle portion identification model trained in advance to perform vehicle portion identification, and the vehicle portion of the vehicle C corresponding to the image frame is output as a "head";
further, whether a vehicle part, namely a vehicle head collected by the mobile phone aiming at the vehicle C, is consistent with a vehicle part recorded in a vehicle part collecting sequence is judged, specifically, the vehicle part collected first in the vehicle part collecting sequence is the vehicle head, and is consistent with the vehicle part currently collected by the mobile phone for the vehicle C, so that the vehicle part collecting sequence is consistent with the vehicle part collecting sequence, the name of the vehicle part, namely the vehicle head collected currently, and a successful reminding mark for successful collection are displayed at the upper right corner of a reference collecting range of an image collecting page of the mobile phone, and the successful reminding mark is a mark in a shape of a small circle point;
in addition, if the vehicle parts acquired by the mobile phone do not accord with the vehicle part acquisition sequence, the names of the vehicle parts with failed acquisition and failed acquisition reminding identifications recorded in the vehicle part acquisition sequence are displayed at the upper right corner of the reference acquisition range of the image acquisition page, and the failed reminding identifications can be X-shaped identifications.
And step S110, sending a collection guidance prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
In an optional implementation manner provided in this embodiment, based on a preset vehicle location acquisition sequence, an acquisition guidance prompt for acquiring a next vehicle location of the target vehicle is sent to the acquisition terminal, and the following implementation manner is specifically adopted:
1) Determining that the acquisition terminal acquires a next vehicle part of the target vehicle based on the vehicle part acquisition sequence;
2) Determining an acquisition movement direction from the second image frame corresponding to the vehicle location of the target vehicle to the next vehicle location based on the determined next vehicle location and the second image frame corresponding to the vehicle location of the target vehicle;
3) And displaying the acquisition guiding prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Starting from the vehicle position of the target vehicle corresponding to the second image frame and the next vehicle position determined based on the vehicle position acquisition sequence, the acquisition moving direction from the vehicle position corresponding to the second image frame to the next vehicle position is determined, that is, the acquisition moving direction from the vehicle position corresponding to the acquired second image frame to the next vehicle position in the acquisition process of the acquisition terminal is determined, and the acquisition guidance prompt for acquiring according to the acquisition direction is displayed on the image acquisition page of the acquisition terminal, so that the acquisition terminal is guided to acquire the image of the target vehicle more accurately, more efficiently and more specifically through the intuitive acquisition guidance prompt.
Still taking the car-surrounding image acquisition of the vehicle C by the mobile phone as an example, after the acquisition angle of the mobile phone is adjusted, the image frame extracted from the video stream acquired by the mobile phone is as shown in fig. 3, as can be seen, the vehicle top part 302 and the vehicle bottom part 303 of the vehicle C in the image frame are both located in the reference acquisition range of the image acquisition page of the mobile phone, and the vehicle part is identified by inputting the image frame into a pre-trained vehicle part identification model, and outputting the vehicle part of the vehicle C corresponding to the image frame as the "head";
further, whether a vehicle part, namely a vehicle head collected by the mobile phone aiming at the vehicle C, is consistent with a vehicle part recorded in a vehicle part collecting sequence is judged, specifically, the vehicle part collected first in the vehicle part collecting sequence is the vehicle head, and is consistent with the vehicle part currently collected by the mobile phone for the vehicle C, so that the vehicle part collecting sequence is consistent with the vehicle part collecting sequence, the name of the vehicle part, namely the vehicle head collected currently, and a successful reminding mark for successful collection are displayed at the upper right corner of a reference collecting range of an image collecting page of the mobile phone, and the successful reminding mark is a mark in a shape of a small circle point;
after the vehicle part of the head is successfully acquired, determining the next vehicle part of the head as a vehicle part of a left headlamp according to the acquisition sequence of the vehicle parts recorded in the acquisition sequence of the vehicle parts;
secondly, according to the vehicle part of the 'head' and the next vehicle part of the 'left headlight' which are collected by the vehicle C, the collection moving direction from the vehicle part of the 'head' to the next vehicle part of the 'left headlight' is determined to move leftwards, namely: in the process of acquiring the image of the vehicle C in a video acquisition mode, if the vehicle parts of the vehicle C are required to be sequentially acquired according to the vehicle part acquisition sequence, the mobile phone which serves as an acquisition terminal for acquiring the image of the vehicle C needs to move leftwards to move from the acquired vehicle part, namely the head of the vehicle, to the next vehicle part, namely a left headlamp, for acquisition;
and finally, displaying an acquisition guiding prompt which is acquired according to the leftward movement acquisition moving direction on an image acquisition page of the mobile phone, wherein the acquisition guiding prompt comprises two parts, the first part is a text prompt of 'please move the car around to the left headlamp direction' displayed in the middle of a reference acquisition range of the image acquisition page, the second part is a graphic prompt of 'left arrow' displayed below the text prompt, and the visual and accurate prompt is performed in a mode of combining the text prompt and the graphic prompt, so that the mobile phone serving as the role of an acquisition terminal is guided to acquire the car-around image of the vehicle C more accurately and more efficiently.
In addition, in a specific implementation, in order to improve the integrity of image acquisition performed by the acquisition terminal on the target vehicle, and detect whether the image acquisition performed on the target vehicle reaches the target through a detection mechanism, and meanwhile, in order to ensure the integrity of the image acquired on the target vehicle, in an optional implementation manner provided in this embodiment, after sending an acquisition guidance prompt for acquiring the next vehicle location to the acquisition terminal based on the vehicle location acquisition sequence, the following operations are performed:
1) Extracting a third image frame from a video stream acquired by the acquisition terminal aiming at a next vehicle part of the target vehicle;
2) Detecting whether the third image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range; the vehicle parts corresponding to the acquisition marks comprise a vehicle top part and a vehicle bottom part;
if yes, indicating that the acquired third image frame comprises the vehicle top part and the vehicle bottom part of the target vehicle, and executing step 3);
if the third image frame does not exist, the third image frame is acquired, and the vehicle top part and the vehicle bottom part of the target vehicle are not included, a prompt for acquisition adjustment is sent to the acquisition terminal, for example, a prompt for displaying an image acquisition angle or an image acquisition distance on an image acquisition page of the acquisition terminal is sent, so that an operator of the acquisition terminal is reminded to bring the vehicle top part and the vehicle bottom part of the target vehicle into a reference acquisition range of the image acquisition page of the acquisition terminal by adjusting the acquisition angle or the acquisition distance between the acquisition terminal and the target vehicle;
3) Identifying the next vehicle part corresponding to the third image frame;
4) Judging whether the next vehicle part corresponding to the third image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if the vehicle parts are consistent with the reference vehicle parts, the vehicle parts included in the third image frame collected by the target vehicle are consistent with the collected reference vehicle parts specified by the vehicle part collecting sequence, and step 5) is executed;
if the acquired vehicle parts are inconsistent, the acquired vehicle parts contained in the third image frame acquired by the target vehicle are inconsistent with the acquired reference vehicle parts specified by the vehicle part acquisition sequence, namely the acquired vehicle parts specified by the vehicle part acquisition sequence fail to be acquired, and displaying a failure reminding identifier of the reference vehicle part acquisition failure on the basis of an image acquisition page of an acquisition terminal;
5) Judging whether the next vehicle part corresponding to the third image frame is the last vehicle part determined according to the vehicle part acquisition sequence;
if so, storing the video streams acquired by the acquisition terminal aiming at each vehicle part of the target vehicle in a video file form;
if not, returning to execute the preset vehicle part acquisition sequence, sending an acquisition guidance prompt step for acquiring the next vehicle part of the target vehicle to the acquisition terminal, and repeating the process of sending the acquisition guidance prompt of the next vehicle part- > acquiring the next vehicle part and detecting according to the acquisition guidance prompt until all vehicle parts of the target vehicle are acquired according to the vehicle part acquisition sequence.
For example, in the process that the mobile phone captures the vehicle C in a video capturing manner, when the image frame extracted from the captured video stream includes a vehicle top portion and a vehicle bottom portion of the vehicle C, the vehicle portion of the vehicle C corresponding to the image frame is identified as a "right front headlight", the vehicle portion coincides with a vehicle portion capturing sequence, and the vehicle portion of the "right front headlight" can be determined as a last vehicle portion to be captured recorded in the vehicle portion capturing sequence according to the vehicle portion capturing sequence, which indicates that the mobile phone has finished capturing the ring vehicle image of the vehicle C as the capturing terminal, and the video streams captured by the mobile phone in the video capturing manner for all vehicle components (from the "head" of the first vehicle component to the "right front headlight" of the last vehicle portion) of the vehicle C are stored in the form of a video file.
In summary, the vehicle image collection guiding method starts from a video stream collected by a collection terminal for a target vehicle, detects whether a collected image meets an image detection requirement by detecting whether the collected image frame includes a collection identifier of the target vehicle, and further prompts a collection sequence of the collection terminal for the vehicle parts of the target vehicle on the basis of identifying the vehicle parts included in the image frame and sends a collection guiding prompt for collecting the image according to the collection sequence of the vehicle parts to the collection terminal under the condition that the image frame extracted from the collected video stream meets the image detection requirement, so that on one hand, the quality of image collection is improved, on the other hand, the collection efficiency of image collection for the target vehicle is also improved, and the experience of the image collection process is improved.
The embodiment of the vehicle image acquisition guiding device provided by the specification is as follows:
in the above embodiment, a vehicle image collecting and guiding method is provided, and correspondingly, a vehicle image collecting and guiding device is also provided, which is described below with reference to the accompanying drawings.
Referring to fig. 4, a schematic diagram of a vehicle image capturing and guiding device provided in this embodiment is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
This specification provides a vehicle image acquisition guiding device, includes:
a first image frame extraction module 402 configured to extract a first image frame from a video stream captured by a capture terminal for a target vehicle;
an acquisition identifier detection module 404 configured to detect whether the first image frame has an acquisition identifier of the target vehicle in an image frame region corresponding to a reference acquisition range;
if not, a reminder issuing module 406 is operated; the prompt sending module 406 is configured to send a prompt for performing acquisition adjustment to the acquisition terminal;
a vehicle part recognition module 408 configured to recognize a vehicle part of the target vehicle corresponding to a second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment, if the acquisition identifier exists in an image frame region corresponding to the reference acquisition range;
a collection guidance prompt issuing module 410 configured to issue a collection guidance prompt for collecting a next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
Optionally, the vehicle location identifying module 408 includes:
the second image frame extraction sub-module is configured to extract the second image frame from the video stream acquired by the acquisition terminal after acquisition adjustment;
a first acquisition identifier detection sub-module configured to detect whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range; and if so, identifying the vehicle part of the target vehicle corresponding to the second image frame.
Optionally, if the detection result after the first acquisition identifier detection sub-module operates is yes, the following sub-modules are operated:
a first vehicle part identification sub-module configured to identify a vehicle part of the target vehicle corresponding to the first image frame;
a first collection guidance prompt issuing sub-module configured to issue a collection guidance prompt to the collection terminal to collect a next vehicle part of the target vehicle based on the vehicle part collection order.
Optionally, the vehicle image capturing and guiding device further includes:
a vehicle part judging module configured to judge whether a vehicle part of the target vehicle corresponding to the second image frame coincides with a reference vehicle part determined in the vehicle part collection order;
if the operation is consistent with the operation, the mark display module is successfully reminded; the successful reminding identifier display module is configured to display the successful reminding identifier of successful acquisition of the reference vehicle part based on the image acquisition page of the acquisition terminal, and operate the acquisition guide prompt sending module 410;
if the operation result is inconsistent, the failure reminding identification display module is operated; the failure reminding mark display module is configured to display the failure reminding mark of the reference vehicle part failure in collection based on an image collection page of the collection terminal.
Optionally, the collection guidance prompt issuing module 410 includes:
a next vehicle location determination sub-module configured to determine that the acquisition terminal acquires a next vehicle location of the target vehicle based on the vehicle location acquisition order;
an acquisition movement direction determination sub-module configured to determine the acquisition movement direction from the second image frame corresponding to the vehicle part of the target vehicle to the next vehicle part based on the determined next vehicle part and the second image frame corresponding to the vehicle part of the target vehicle;
and the second acquisition guidance prompt sending sub-module is configured to display the acquisition guidance prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Optionally, the vehicle image capturing and guiding device further includes:
a third image frame extraction module configured to extract a third image frame in a video stream captured by the capture terminal for a next vehicle portion of the target vehicle;
a third acquisition identifier detection module configured to detect whether the third image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
if so, operating the next vehicle part identification module; the next vehicle part identification module is configured to identify the next vehicle part corresponding to the third image frame;
a next vehicle part determination module configured to determine whether the next vehicle part corresponding to the third image frame coincides with a reference vehicle part determined in the vehicle part collection order;
if the vehicle position is consistent with the first vehicle position, a third vehicle position judgment module is operated; the third vehicle part judging module is configured to judge whether the next vehicle part corresponding to the third image frame is an end vehicle part determined according to the vehicle part collecting sequence;
if so, operating a video stream storage module; the video stream storage module is configured to store the video streams collected by the collection terminal aiming at each vehicle part of the target vehicle in a video file form.
Optionally, if the operation result of the third vehicle position determining module is negative after operation, the collection guidance prompt sending module 410 is operated.
Optionally, the vehicle image capturing and guiding device further includes:
an identification module configured to identify a vehicle part of the target vehicle contained in the first image frame;
a vehicle part determination module configured to determine whether a vehicle part corresponding to the acquisition identifier exists among vehicle parts of the target vehicle included in the first image frame; if yes, the acquisition identifier detection module 404 is operated.
Optionally, the vehicle part corresponding to the collection identifier includes at least one of the following: a vehicle top portion and a vehicle bottom portion;
accordingly, the capture identifier detecting module 404 is specifically configured to detect whether the first image frame has a vehicle top portion and a vehicle bottom portion corresponding to the capture identifier in an image frame region corresponding to a reference capture range.
Optionally, the reminder issuing module 406 includes:
the first reminding sub-module is configured to show reminding information and reminding identifications for adjusting the image acquisition visual angle upwards based on an image acquisition page of the acquisition terminal if the first image frame does not have the vehicle top part corresponding to the acquisition identification in the image frame area corresponding to the reference acquisition range;
and the second reminding sub-module is configured to show reminding information and reminding identification for adjusting the image acquisition visual angle downwards based on an image acquisition page of the acquisition terminal if the first image frame does not have the vehicle bottom part corresponding to the acquisition identification in the image frame area corresponding to the reference acquisition range.
The vehicle image acquisition guiding device provided by the specification starts from an acquisition terminal to a video stream acquired by a target vehicle, detects whether the acquired image meets the image detection requirement by detecting whether the acquired image frame contains an acquisition identifier of the target vehicle, further prompts the acquisition sequence of the acquisition terminal to the vehicle part of the target vehicle on the basis of identifying the vehicle part contained in the image frame under the condition that the image frame extracted from the acquired video stream meets the image detection requirement, and sends an acquisition guiding prompt for acquiring the image according to the acquisition sequence of the vehicle part to the acquisition terminal, so that on one hand, the quality of image acquisition is improved, on the other hand, the acquisition efficiency of image acquisition to the target vehicle is also improved, and the experience of the image acquisition process is improved.
The present specification provides an embodiment of a computing device as follows:
FIG. 5 is a block diagram illustrating an architecture of a computing device 500 provided in accordance with one embodiment of the present specification. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530, and database 550 is used to store data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, e.g., a Network Interface Card (NIC), wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present description. Other components may be added or replaced as desired by those skilled in the art.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
The present specification provides a computing device comprising a memory 510, a processor 520, and computer instructions stored on the memory and executable on the processor, the processor 520 being configured to execute the following computer-executable instructions:
extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle;
detecting whether the first image frame has an acquisition identifier of the target vehicle in an image frame region corresponding to a reference acquisition range;
if the current time does not exist, sending a prompt for carrying out acquisition adjustment to the acquisition terminal;
under the condition that a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame area corresponding to the reference acquisition range, identifying a vehicle part of the target vehicle corresponding to the second image frame;
and sending a collection guidance prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
Optionally, identifying a vehicle part of the target vehicle corresponding to a second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment when the acquisition identifier exists in the image frame region corresponding to the reference acquisition range includes:
extracting the second image frame from the video stream acquired by the acquisition terminal after the acquisition adjustment;
detecting whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
and if so, identifying the vehicle part of the target vehicle corresponding to the second image frame.
Optionally, if the detection result after the step of detecting whether the acquisition identification instruction of the target vehicle exists in the image frame region corresponding to the reference acquisition range in the first image frame is executed is yes, the processor 520 is further configured to execute the following computer-executable instructions:
identifying a vehicle part of the target vehicle corresponding to the first image frame;
and sending a collection guiding prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on the vehicle part collection sequence.
Optionally, when the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment has the acquisition identifier in the image frame region corresponding to the reference acquisition range, after the vehicle part instruction of the target vehicle corresponding to the second image frame is identified and executed, and before the acquisition guidance prompt instruction for acquiring the next vehicle part of the target vehicle is sent to the acquisition terminal based on the preset vehicle part acquisition sequence and executed, the processor 520 is further configured to execute the following computer-executable instructions:
judging whether the vehicle part of the target vehicle corresponding to the second image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if the vehicle part acquisition sequence is consistent with the preset vehicle part acquisition sequence, displaying a successful reminding mark of the reference vehicle part acquisition based on an image acquisition page of the acquisition terminal, and sending an acquisition guide prompt instruction for acquiring the next vehicle part of the target vehicle to the acquisition terminal;
and if the reference vehicle part is inconsistent with the reference vehicle part, displaying a failure reminding identifier of the reference vehicle part which fails to be acquired based on an image acquisition page of the acquisition terminal.
Optionally, the sending, to the collection terminal, a collection guidance prompt for collecting a next vehicle location of the target vehicle based on a preset vehicle location collection sequence includes:
determining that the acquisition terminal acquires a next vehicle part of the target vehicle based on the vehicle part acquisition sequence;
determining the acquisition movement direction from the second image frame corresponding to the vehicle part of the target vehicle to the next vehicle part based on the determined next vehicle part and the second image frame corresponding to the vehicle part of the target vehicle;
and displaying the acquisition guide prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Optionally, after the acquisition guidance prompt instruction for acquiring the next vehicle part of the target vehicle is sent to the acquisition terminal based on the preset vehicle part acquisition sequence and executed, the processor 520 is further configured to execute the following computer-executable instructions:
extracting a third image frame from a video stream acquired by the acquisition terminal for a next vehicle part of the target vehicle;
detecting whether the third image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
if yes, identifying the next vehicle part corresponding to the third image frame;
judging whether the next vehicle part corresponding to the third image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if so, judging whether the next vehicle part corresponding to the third image frame is the last vehicle part determined according to the vehicle part acquisition sequence;
and if so, storing the video streams acquired by the acquisition terminal aiming at each vehicle part of the target vehicle in a video file form.
Optionally, if the execution result of judging whether the next vehicle part of the target vehicle is the last vehicle part instruction determined according to the vehicle part acquisition sequence is negative, executing the acquisition guidance prompt instruction for acquiring the next vehicle part of the target vehicle to the acquisition terminal based on the preset vehicle part acquisition sequence.
Optionally, after the capturing terminal extracts the first image frame instruction from the video stream captured by the target vehicle, and before the capturing identification instruction for detecting whether the first image frame exists in the image frame region corresponding to the reference capturing range is executed, the processor 520 is further configured to execute the following computer-executable instructions:
identifying a vehicle part of the target vehicle contained in the first image frame;
judging whether a vehicle part corresponding to the acquisition identifier exists in the vehicle parts of the target vehicle contained in the first image frame;
and if yes, executing the acquisition identification instruction for detecting whether the target vehicle exists in the image frame area corresponding to the reference acquisition range of the first image frame.
Optionally, the vehicle part corresponding to the collection identifier includes at least one of the following: a vehicle top portion and a vehicle bottom portion;
correspondingly, the detecting whether the acquisition identifier of the target vehicle exists in the image frame region corresponding to the reference acquisition range of the first image frame includes:
and detecting whether the first image frame has a vehicle top part and a vehicle bottom part corresponding to the acquisition identification in an image frame region corresponding to a reference acquisition range.
Optionally, the sending the reminder for performing acquisition adjustment to the acquisition terminal includes:
if the first image frame does not have the vehicle top part corresponding to the acquisition identifier in the image frame area corresponding to the reference acquisition range, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle upwards on the basis of an image acquisition page of the acquisition terminal;
or if the first image frame does not have the vehicle bottom part corresponding to the acquisition identifier in the image frame region corresponding to the reference acquisition range, displaying reminding information and reminding identifiers for downwards adjusting the image acquisition visual angle on the basis of an image acquisition page of the acquisition terminal.
This specification provides one example of a computer-readable storage medium, comprising:
one embodiment of the present specification provides a computer readable storage medium storing computer instructions that, when executed by a processor, are operable to:
extracting a first image frame from a video stream acquired by an acquisition terminal aiming at a target vehicle;
detecting whether the first image frame has an acquisition identifier of the target vehicle in an image frame region corresponding to a reference acquisition range;
if not, sending a prompt for carrying out acquisition adjustment to the acquisition terminal;
under the condition that a second image frame extracted from a video stream acquired by an acquisition terminal after acquisition adjustment has the acquisition identifier in an image frame area corresponding to the reference acquisition range, identifying a vehicle part of the target vehicle corresponding to the second image frame;
and sending a collection guidance prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on a preset vehicle part collection sequence.
Optionally, identifying a vehicle part of the target vehicle corresponding to a second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment when the acquisition identifier exists in the image frame region corresponding to the reference acquisition range includes:
extracting the second image frame from the video stream acquired by the acquisition terminal after the acquisition adjustment;
detecting whether the second image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
and if so, identifying the vehicle part of the target vehicle corresponding to the second image frame.
Optionally, if the detection result after the step of detecting whether the first image frame has the acquisition identifier of the target vehicle in the image frame region corresponding to the reference acquisition range is yes, the following operations are performed:
identifying a vehicle part of the target vehicle corresponding to the first image frame;
and sending a collection guiding prompt for collecting the next vehicle part of the target vehicle to the collection terminal based on the vehicle part collection sequence.
Optionally, when the second image frame extracted from the video stream acquired by the acquisition terminal after the acquisition adjustment has the acquisition identifier in the image frame region corresponding to the reference acquisition range, after the step of identifying the vehicle part of the target vehicle corresponding to the second image frame is executed, and before the step of sending an acquisition guidance prompt for acquiring the next vehicle part of the target vehicle to the acquisition terminal based on the preset vehicle part acquisition sequence is executed, the method includes:
judging whether the vehicle part of the target vehicle corresponding to the second image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if the vehicle position information is consistent with the reference vehicle position information, displaying a successful reminding mark of successful acquisition of the reference vehicle position on the basis of an image acquisition page of the acquisition terminal, executing a preset vehicle position acquisition sequence, and sending an acquisition guiding prompt step of acquiring the next vehicle position of the target vehicle to the acquisition terminal;
and if the reference vehicle part is inconsistent with the reference vehicle part, displaying a failure reminding identifier of the reference vehicle part which fails to be acquired based on an image acquisition page of the acquisition terminal.
Optionally, the sending, to the collection terminal, a collection guidance prompt for collecting a next vehicle location of the target vehicle based on a preset vehicle location collection sequence includes:
determining that the acquisition terminal acquires a next vehicle part of the target vehicle based on the vehicle part acquisition sequence;
determining the acquisition movement direction from the second image frame corresponding to the vehicle part of the target vehicle to the next vehicle part based on the determined next vehicle part and the second image frame corresponding to the vehicle part of the target vehicle;
and displaying the acquisition guide prompt acquired according to the acquisition moving direction on the basis of an image acquisition page of the acquisition terminal.
Optionally, after the step of sending a guidance prompt for acquiring a next vehicle location of the target vehicle to the acquisition terminal is executed based on a preset vehicle location acquisition sequence, the method includes:
extracting a third image frame from a video stream acquired by the acquisition terminal for a next vehicle part of the target vehicle;
detecting whether the third image frame has the acquisition identifier in an image frame region corresponding to the reference acquisition range;
if yes, identifying the next vehicle part corresponding to the third image frame;
judging whether the next vehicle part corresponding to the third image frame is consistent with a reference vehicle part determined according to the vehicle part acquisition sequence;
if so, judging whether the next vehicle part corresponding to the third image frame is the last vehicle part determined according to the vehicle part acquisition sequence;
and if so, storing the video streams acquired by the acquisition terminal aiming at each vehicle part of the target vehicle in a video file form.
Optionally, if the execution result of the step of judging whether the next vehicle part of the target vehicle is the last vehicle part determined according to the vehicle part acquisition sequence is negative, the step of executing the preset vehicle part acquisition sequence is returned, and the acquisition guidance prompting step of acquiring the next vehicle part of the target vehicle is sent to the acquisition terminal.
Optionally, after the step of extracting, by the capture terminal, the first image frame from the video stream captured by the target vehicle is executed, and before the step of detecting whether the capture identification of the target vehicle exists in the image frame region corresponding to the reference capture range in the first image frame is executed, the method includes:
identifying a vehicle part of the target vehicle contained in the first image frame;
judging whether a vehicle part corresponding to the acquisition identifier exists in the vehicle parts of the target vehicle contained in the first image frame;
and if so, executing the step of detecting whether the first image frame has the acquisition identification of the target vehicle in the image frame area corresponding to the reference acquisition range.
Optionally, the vehicle part corresponding to the collecting identifier includes at least one of: a vehicle top portion and a vehicle bottom portion;
correspondingly, the detecting whether the acquisition identifier of the target vehicle exists in the image frame region corresponding to the reference acquisition range of the first image frame comprises the following steps:
and detecting whether the first image frame has a vehicle top part and a vehicle bottom part corresponding to the acquisition identification in an image frame region corresponding to a reference acquisition range.
Optionally, the sending the reminder for performing acquisition adjustment to the acquisition terminal includes:
if the first image frame does not have the vehicle top part corresponding to the acquisition identifier in the image frame area corresponding to the reference acquisition range, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle upwards on the basis of an image acquisition page of the acquisition terminal;
or if the vehicle bottom part corresponding to the acquisition identifier does not exist in the image frame region corresponding to the reference acquisition range of the first image frame, displaying reminding information and reminding identifiers for adjusting the image acquisition visual angle downwards based on an image acquisition page of the acquisition terminal.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above vehicle image capturing and guiding method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above vehicle image capturing and guiding method.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.