Vehicle detection method, device and equipment and storage medium

Through automated vehicle detection methods and devices, the collection of detection items is obtained, the parameters of the image acquisition device are adjusted, and images are collected and detected, which solves the problem of low efficiency and missed detection of traditional manual detection, and achieves efficient and accurate vehicle detection.

CN118730559APending Publication Date: 2024-10-01BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310333625.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Vehicle inspection on traditional automobile production lines relies on manual labor, is inefficient, and is prone to missed inspections and confusing inspection standards in the case of multiple models.

Method used

Provide a vehicle detection method and device, by obtaining the detection item set of the vehicle to be detected, adjusting the internal and external parameters of the image acquisition device, collecting and detecting images, generating detection results, and determining the vehicle to enter the next target station based on the results, avoiding manual labor operate.

Benefits of technology

It improves the efficiency of vehicle detection, reduces missed detections and mixed detections, and ensures the accuracy and consistency of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730559A_ABST
    Figure CN118730559A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle detection method, device and equipment and a storage medium, and the method comprises the steps: obtaining a detection item set corresponding to a to-be-detected vehicle after the to-be-detected vehicle enters a detection station, and obtaining the target internal and external parameters of an image collection device corresponding to the detection item for each detection item in the detection item set; adjusting internal and external parameters of an image acquisition device, controlling the image acquisition device to acquire a detection image, and detecting the detection image to obtain a detection result corresponding to the detection item; then, after all the detection items in the detection item set are detected, a detection result set is obtained; and finally, based on the detection results of all the detection items included in the detection result set, controlling the to-be-detected vehicle to enter the corresponding target station. The corresponding detection item is obtained through the vehicle identifier, manual operation is avoided, and the vehicle detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle testing technology, and in particular to a vehicle testing method, device, equipment and storage medium. Background Art

[0002] During the vehicle production process, the vehicle must be inspected and qualified before it can leave the factory. The inspection work on the traditional automobile production line is basically done manually, which is inefficient. If there are multiple models on the production line, the inspectors need to understand the various inspection requirements of the multiple models, which is prone to missed inspections and confusing inspection standards.

[0003] Therefore, how to improve vehicle inspection efficiency, avoid missed inspections, and avoid confusion in inspection standards has become an urgent problem to be solved. Summary of the invention

[0004] The present disclosure provides a vehicle detection method, device, equipment and storage medium, which improve the vehicle detection efficiency.

[0005] In a first aspect, an embodiment of the present disclosure provides a vehicle detection method, the method comprising:

[0006] When a vehicle to be inspected is detected to enter the inspection station, a set of inspection items corresponding to the vehicle to be inspected is obtained;

[0007] For each detection item in the detection item set, obtaining target internal and external parameters of the image acquisition device corresponding to the detection item;

[0008] Adjusting the image acquisition device based on the internal and external parameters of the target;

[0009] Controlling the image acquisition device to acquire detection images;

[0010] Detecting the detection image based on the detection item to obtain a detection result corresponding to the detection item;

[0011] After all the test items in the test item set are tested, a test result set is obtained;

[0012] Based on the detection results of all detection items included in the detection result set, the vehicle to be detected is controlled to enter its corresponding target workstation.

[0013] In one embodiment of the present disclosure, after all the detection items in the detection item set are detected, a detection result set is obtained, including:

[0014] Mark the test items for which test results have been obtained as tested;

[0015] Query whether all the test items in the test item set are marked;

[0016] If yes, it is determined that all the test items in the test item set have been tested;

[0017] The test items and their corresponding test results are summarized to obtain a test result set.

[0018] In one embodiment of the present disclosure, based on the detection results of all detection items included in the detection result set, controlling the vehicle to be detected to enter its corresponding target workstation includes:

[0019] If any one of the test results in the test result set is unqualified, determining the trimming station corresponding to the unqualified test item, and taking the modification target as the target station;

[0020] If all the test results in the test result set are qualified, then determining the next test station of the vehicle to be tested according to the set generation process, and taking the next test station as the target station;

[0021] The vehicle to be inspected is controlled to enter its corresponding target station.

[0022] In one embodiment of the present disclosure, the adjusting the image acquisition device based on the internal and external parameters of the target includes:

[0023] Adjusting internal parameters of the image acquisition device to target internal parameters, wherein the internal parameters control parameters of acquisition quality of the image acquisition device;

[0024] The external parameters of the image acquisition device are adjusted to target external parameters, wherein the external parameters include parameters for controlling an acquisition area of ​​the image acquisition device.

[0025] In one embodiment of the present disclosure, the detection image is detected based on the detection item to obtain the detection result corresponding to the detection item, including:

[0026] When the inspection item is welding quality inspection, inspecting the inspection image to obtain the number of inspection welding points included in the inspection image;

[0027] Obtaining the actual number of welding points corresponding to the inspection item;

[0028] When the number of detected welding points is equal to the number of actual welding points, determining that the inspection result corresponding to the inspection item is qualified;

[0029] When the number of the detected welding points is not equal to the number of the detected welding points, it is determined that the detection result corresponding to the detection item is unqualified.

[0030] In one embodiment of the present disclosure, after controlling the image acquisition device to acquire the detection image, the method further includes:

[0031] For each detection image, obtain the acquisition time point corresponding to the detection image;

[0032] Storing the collected multiple detection images and the collection time point corresponding to each detection image in an image cache device;

[0033] Obtaining the start detection time point corresponding to the detection item;

[0034] A detection image corresponding to a collection time point that is consistent with the start detection time point is selected from the image cache device.

[0035] In one embodiment of the present disclosure, the detecting that the vehicle to be inspected enters the inspection station includes:

[0036] Real-time polling of vehicle identification positions at inspection stations in vehicle production lines;

[0037] When the incoming vehicle identification position of the detection station is polled to be in a preset state, it is detected that the vehicle to be detected enters the detection station.

[0038] In a second aspect, an embodiment of the present disclosure provides a vehicle detection device, including:

[0039] A detection item set acquisition module is used to acquire a detection item set corresponding to the vehicle to be detected after detecting that the vehicle to be detected enters the detection station;

[0040] A target internal and external parameter acquisition module, used for acquiring, for each detection item in the detection item set, target internal and external parameters of the image acquisition device corresponding to the detection item;

[0041] A target parameter adjustment module, used for adjusting the image acquisition device based on the target internal and external parameters;

[0042] A detection item set acquisition module, used to control the image acquisition device to acquire detection images;

[0043] A detection result acquisition module, used to detect the detection image based on the detection item to obtain the detection result corresponding to the detection item;

[0044] A detection result set determination module, used to obtain a detection result set after all detection items in the detection item set have been detected;

[0045] The vehicle control module to be detected is used to control the vehicle to be detected to enter its corresponding target workstation based on the detection results of all detection items included in the detection result set.

[0046] The vehicle detection method, device, equipment and storage medium provided by the embodiments of the present disclosure, the technical solution of the present disclosure, first, after the vehicle to be detected enters the detection station, the detection item set corresponding to the vehicle to be detected is obtained, and then for each detection item in the detection item set, the target internal and external parameters of the image acquisition device corresponding to the detection item are obtained; then the internal and external parameters of the image acquisition device are adjusted, the image acquisition device is controlled to acquire the detection image, the detection image is detected, and the detection result corresponding to the detection item is obtained; then, after all the detection items in the detection item set are detected, a detection result set is obtained; finally, based on the detection results of all the detection items included in the detection result set, the vehicle to be detected is controlled to enter its corresponding target station. The corresponding detection item is obtained through vehicle identification, manual operation is avoided, and the detection efficiency of the vehicle is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0049] Figure 1 A schematic diagram of a vehicle detection method provided by an embodiment of the present disclosure;

[0050] Figure 2 A schematic diagram of the structure of a vehicle detection device provided in an embodiment of the present disclosure;

[0051] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0052] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0053] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0054] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0055] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0056] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0057] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0058] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0059] Figure 1 This is a flow chart of a vehicle detection method in an embodiment of the present disclosure. This embodiment can be applied to detecting whether a welding point in a vehicle is abnormal. The vehicle detection method can be implemented in software and / or hardware, and the vehicle detection method can be configured in an electronic device.

[0060] For example: the electronic device can be a mobile terminal, a fixed terminal or a portable terminal, such as a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet module, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof.

[0061] For another example: the electronic device may be a server, wherein the server may be a physical server or a cloud server, and the server may be a server or a server cluster.

[0062] like Figure 1 As shown, the vehicle detection method provided by the embodiment of the present disclosure mainly includes steps S101-S107.

[0063] S101. When a vehicle to be inspected is detected to enter an inspection station, a set of inspection items corresponding to the vehicle to be inspected is obtained.

[0064] The vehicle detection method provided by the embodiment of the present disclosure can be implemented by a factory manufacturing execution system (Manufacturing Execution System) deployed on a vehicle production line. The factory manufacturing execution system is mainly used for production plan management, production process control, product quality management, workshop inventory management, project kanban management, etc., to improve the manufacturing execution capability of the enterprise and the automation capability of the production line. Preferably, the above-mentioned production management module refers to a factory manufacturing execution system applied to a vehicle production line, which mainly manages vehicle production plans, vehicle production processes, vehicle product quality, etc.

[0065] The vehicle to be inspected refers to a vehicle that has not yet left the factory and needs to be inspected on the production line to see if a certain function or a certain component of the vehicle meets the design requirements. The inspection station can be understood as a station for inspecting whether a certain function of the vehicle or a vehicle component has defects. Preferably, the inspection station in the embodiment of the present disclosure is a work for inspecting whether there are defects in the welding points in the vehicle.

[0066] The detecting that the vehicle to be detected enters the detection station includes: polling the incoming vehicle identification position of the detection station in the vehicle production line in real time; when the polled incoming vehicle identification position of the detection station is in a preset state, detecting that the vehicle to be detected enters the detection station.

[0067] In the disclosed embodiment, the vehicle incoming identification position of the detection station in the vehicle production line is polled in real time. After the vehicle incoming signal of the detection station is polled, it is determined that the vehicle to be detected has entered the detection station. Among them, the vehicle incoming identification position refers to an identification position used to determine whether the vehicle to be detected in the vehicle production line has reached a specified position. For example: the vehicle incoming identification position is 1, and the vehicle incoming identification position of the detection station in the vehicle production line is polled. In the disclosed embodiment. Only the vehicle incoming identification position is explained, not limited.

[0068] In one embodiment of the present disclosure, after detecting that a vehicle to be inspected enters the inspection station, the vehicle identification of the vehicle to be inspected is obtained, and based on the vehicle identification, a query is performed in the correspondence between the vehicle identification and the inspection item set, and the queried inspection item set is used as the inspection item set corresponding to the vehicle to be inspected.

[0069] S102: For each detection item in the detection item set, obtain target internal and external parameters of the image acquisition device corresponding to the detection item.

[0070] In the embodiments of the present disclosure, the inspection item can be understood as a specific inspection component of a certain inspection content, or a specific inspection content corresponding to a certain inspection component. Optionally, the inspection item can be a welding point defect inspection item, which can be specifically subdivided into: roof welding point defect inspection item, trunk lid welding point inspection item, left front door welding point inspection item, right front door welding point inspection item, etc. It should be noted that the specific inspection items can be designed according to actual conditions and are no longer specifically limited in the embodiments of the present disclosure.

[0071] In one embodiment of the present disclosure, the detection items can be selected in sequence according to the numbers of the detection items in the detection item set for detection, that is, steps S102-S105 in the embodiment of the present disclosure are executed. Any detection item in the detection item set can also be selected to execute steps S102-S105 in the embodiment of the present disclosure. The manner of selecting the detection item from the detection item set is not specifically limited in the embodiment of the present disclosure.

[0072] In one embodiment of the present disclosure, the correspondence between the detection items and the internal and external parameters of the image acquisition device is pre-stored. After the detection item is selected, the above correspondence is queried based on the detection item, and the internal and external parameters of the image acquisition device obtained by the query are used as the target internal and external parameters.

[0073] S103: Adjust the image acquisition device based on the internal and external parameters of the target.

[0074] In one embodiment of the present disclosure, the adjusting of the image acquisition device based on the target internal and external parameters includes: adjusting the internal parameters of the image acquisition device to the target internal parameters, wherein the internal parameters control the parameters of the acquisition quality of the image acquisition device; and adjusting the external parameters of the image acquisition device to the target external parameters, wherein the external parameters include parameters that control the acquisition area of ​​the image acquisition device.

[0075] In the embodiments of the present disclosure, the above-mentioned internal and external parameters include internal parameters and external parameters, wherein the internal parameters are parameters related to the camera's own characteristics, such as the camera's focal length, pixel size, etc.; the external parameters are parameters in the world coordinate system, such as the camera's position, rotation direction, etc.

[0076] In one embodiment of the present disclosure, after obtaining the target internal and external parameters of the image acquisition device in step S102, the internal parameters of the image acquisition device are adjusted from the current state to the target internal parameters, and the external parameters of the image acquisition device are adjusted from the current state to the target external parameters.

[0077] S104: Control the image acquisition device to acquire a detection image.

[0078] In one embodiment of the present disclosure, controlling the image acquisition device to acquire the detection image may be to detect that after the image acquisition device is adjusted to the internal and external parameters of the target, send a capture instruction to the image acquisition device so that the image acquisition device acquires the detection image. Further, after receiving the capture instruction, the image acquisition device takes an image as the detection image.

[0079] In one embodiment of the present disclosure, after receiving the acquisition instruction, the image acquisition device continuously captures a plurality of detection images and records the acquisition time points corresponding to the detection images.

[0080] In one embodiment of the present disclosure, after controlling the image acquisition device to acquire detection images, the method further includes: for each detection image, obtaining a collection time point corresponding to the detection image; storing multiple collected detection images and the collection time points corresponding to each detection image to an image cache device; obtaining a start detection time point corresponding to the detection item; and selecting a detection image corresponding to a collection time point consistent with the start detection time point from the image cache device.

[0081] In the embodiment of the present disclosure, the start detection time point corresponding to the detection item can be understood as the time point when the detection item calls the algorithm module to detect the detection image. In the embodiment of the present disclosure, the detection image whose acquisition time point is consistent with the start detection time point is obtained from the multi-image cache device.

[0082] S105 : Detect the detection image based on the detection item to obtain a detection result corresponding to the detection item.

[0083] In one embodiment of the present disclosure, the detection image is detected based on the detection item to obtain the detection result corresponding to the detection item, including: when the detection item is welding quality detection, the detection image is detected to obtain the number of detection welding points included in the detection image; the actual number of welding points corresponding to the detection item is obtained; when the number of detection welding points is equal to the actual number of welding points, it is determined that the detection result corresponding to the detection item is qualified; when the number of detection welding points is not equal to the number of detection welding points, it is determined that the detection result corresponding to the detection item is unqualified.

[0084] In the disclosed embodiment, the detection image is used as the input welding point detection model to perform welding point detection. The detection scheme can be any target detection method based on 2D machine vision, and the detection result includes the number of detected welding points on the detection image. The number of detected welding points is compared with the actual number of welding points to obtain a conclusion on whether there is an abnormality in the current body welding point, and the detection is completed.

[0085] Specifically, when the number of detected welding points is equal to the actual number of welding points, it is determined that there is no abnormality in the welding points in the shooting area corresponding to the detection image, that is, the detection result corresponding to the detection item is qualified; when the number of detected welding points is less than the actual number of welding points, it is determined that there is an abnormality in the welding points in the shooting area corresponding to the detection image, that is, the detection result corresponding to the detection item is unqualified.

[0086] It should be noted that the embodiments of the present disclosure are described by taking welding defect detection as an example. The above-mentioned detection items may also include one or more of paint detection, scratch detection, etc. The embodiments of the present disclosure do not specifically limit the content of the detection items.

[0087] S106: After all the detection items in the detection item set are detected, a detection result set is obtained.

[0088] In the disclosed embodiment, the test items in the test item set may be tested in sequence according to the test item serial numbers. When the test item corresponding to the last test item serial number is tested, it is determined that all the test items in the test item set have been tested.

[0089] In one embodiment of the present disclosure, after all the detection items in the detection item set have been detected, a detection result set is obtained, including: marking the detection items for which the detection results have been obtained as detected; querying whether all the detection items in the detection item set are marked; if so, determining that all the detection items in the detection item set have been detected; and summarizing the detection items and their corresponding detection results to obtain a detection result set.

[0090] In the embodiment of the present disclosure, after the detection of the detection item is completed and the detection result is obtained, the detection item is marked as detected, and the undetected detection items are re-obtained from the detection item set as new detection items for detection until all the detection items in the detection item set are marked as detected, that is, all the detection items in the detection item set are detected and the corresponding detection results are obtained.

[0091] In one embodiment of the present disclosure, after each detection item is detected, the detection item and its corresponding detection result are stored in a detection result set. After all detection items in the detection item set are detected, a complete detection result set is obtained.

[0092] S107: Based on the detection results of all detection items included in the detection result set, control the vehicle to be detected to enter its corresponding target workstation.

[0093] In one embodiment of the present disclosure, based on the test results of all the test items included in the test result set, the vehicle to be tested is controlled to enter its corresponding target station, including: if any one of the test results in the test result set is unqualified, then the finishing station corresponding to the unqualified test item is determined, and the modified target is used as the target station; if the test results in the test result set are all qualified, then the next test station of the vehicle to be tested is determined according to the set generation process, and the next test station is used as the target station; the vehicle to be tested is controlled to enter its corresponding target station.

[0094] In the embodiment of the present disclosure, if all the test results in the test result set are qualified, it means that the test results of all the test items in the test item set are qualified, that is, it means that the test of the vehicle to be tested in the test station is qualified. At this time, the next test work is determined based on the production line process, and the vehicle to be tested is controlled to move to the next test station.

[0095] In the disclosed embodiment, if one or more test results in the test result set are unqualified, indicating that the vehicle to be tested has certain defects and needs to be repaired or reworked, then a trimming station is determined based on the test items with unqualified test results, and the vehicle to be tested is moved to the trimming station for trimming.

[0096] If all the test results are qualified, it means that the test results of all the test items in the test item set are qualified, that is, the test of the vehicle to be tested in the test station is qualified. At this time, the next test work is determined based on the production line process, and the vehicle to be tested is controlled to move to the next test station.

[0097] The vehicle detection method provided by the embodiment of the present disclosure is as follows: first, after the vehicle to be detected enters the detection station, a detection item set corresponding to the vehicle to be detected is obtained, and then for each detection item in the detection item set, the target internal and external parameters of the image acquisition device corresponding to the detection item are obtained; then, the internal and external parameters of the image acquisition device are adjusted, and the image acquisition device is controlled to acquire a detection image, and the detection image is detected to obtain the detection result corresponding to the detection item; then, after all the detection items in the detection item set are detected, a detection result set is obtained; finally, based on the detection results of all the detection items included in the detection result set, the vehicle to be detected is controlled to enter its corresponding target station. The corresponding detection item is obtained by vehicle identification, manual operation is avoided, and the detection efficiency of the vehicle is improved.

[0098] Figure 2 Schematic diagram of the structure of a vehicle detection device in an embodiment of the present disclosure. This embodiment can be applied to detecting whether a welding point in a vehicle is abnormal. The vehicle detection device can be configured in an electronic device.

[0099] like Figure 2 As shown, the vehicle detection device 20 provided in the embodiment of the present disclosure mainly includes:

[0100] Among them, the detection item set acquisition module 21 is used to acquire the detection item set corresponding to the vehicle to be detected after detecting that the vehicle to be detected enters the detection station; the target internal and external parameter acquisition module 22 is used to acquire the target internal and external parameters of the image acquisition device corresponding to the detection item for each detection item in the detection item set; the target parameter adjustment module 23 is used to adjust the image acquisition device based on the target internal and external parameters; the detection item set acquisition module 24 is used to control the image acquisition device to acquire the detection image; the detection result acquisition module 25 is used to detect the detection image based on the detection item to obtain the detection result corresponding to the detection item; the detection result set determination module 26 is used to obtain the detection result set after all the detection items in the detection item set are detected; the vehicle to be detected control module 27 is used to control the vehicle to be detected to enter its corresponding target station based on the detection results of all the detection items included in the detection result set.

[0101] In one embodiment of the present disclosure, the detection result set determination module 26 includes: a detection identification unit, used to mark the detection items that have obtained the detection results as detected; a marking query unit, used to query whether all the detection items in the detection item set are marked; a detection completion determination unit, used to determine whether all the detection items in the detection item set have been detected if so; and a detection result summary unit, used to summarize the detection items and their corresponding detection results to obtain a detection result set.

[0102] In one embodiment of the present disclosure, the control module 27 of the vehicle to be inspected includes: a trimming station determination unit, which is used to determine the trimming station corresponding to the unqualified inspection item if any one of the inspection results in the inspection result set is unqualified, and use the modification target as the target station; a next inspection station determination unit, which is used to determine the next inspection station of the vehicle to be inspected according to a set generation process if all the inspection results in the inspection result set are qualified, and use the next inspection station as the target station; and a vehicle to be inspected control unit, which is used to control the vehicle to be inspected to enter its corresponding target station.

[0103] In one embodiment of the present disclosure, the target parameter adjustment module 23 includes: an internal parameter adjustment unit, used to adjust the internal parameters of the image acquisition device to target internal parameters, wherein the internal parameters control the parameters of the acquisition quality of the image acquisition device; an external parameter adjustment unit, used to adjust the external parameters of the image acquisition device to target external parameters, wherein the external parameters include parameters for controlling the acquisition area of ​​the image acquisition device.

[0104] In one embodiment of the present disclosure, the detection result acquisition module 25 includes: a detection welding point number acquisition unit, which is used to detect the detection image when the detection item is welding quality detection, and obtain the number of detection welding points included in the detection image; an actual welding point number acquisition unit, which is used to obtain the actual number of welding points corresponding to the detection item; a qualified determination unit, which is used to determine that the detection result corresponding to the detection item is qualified when the number of detection welding points is equal to the actual number of welding points; and an unqualified determination unit, which is used to determine that the detection result corresponding to the detection item is unqualified when the number of detection welding points is not equal to the number of detection welding points.

[0105] In one embodiment of the present disclosure, the device further includes: an acquisition time point acquisition module, which is used to acquire the acquisition time point corresponding to the detection image for each detection image after the image acquisition device is controlled to acquire the detection image; a detection image storage unit, which is used to store the acquired multiple detection images and the acquisition time point corresponding to each detection image to an image cache device; a start detection time point acquisition unit, which is used to acquire the start detection time point corresponding to the detection item; and a detection image determination unit, which is used to select a detection image corresponding to the acquisition time point consistent with the start detection time point from the image cache device.

[0106] In one embodiment of the present disclosure, the detection of the vehicle to be inspected entering the inspection station includes: real-time polling of the incoming vehicle identification position of the inspection station in the vehicle production line; when the incoming vehicle identification position of the inspection station is polled to be in a preset state, it is detected that the vehicle to be inspected enters the inspection station.

[0107] Figure 2 The vehicle detection device of the illustrated embodiment is used to execute the vehicle detection method in the above-mentioned embodiment, and its implementation principle and technical effect are similar and will not be described in detail here.

[0108] Figure 3 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 3 , which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing the embodiment of the present disclosure. The electronic device 300 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable terminal devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0109] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303 to implement the vehicle detection method of the embodiment described in the present disclosure. In the RAM 303, various programs and data required for the operation of the terminal device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0110] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 305. The communication devices 305 may allow the terminal device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The terminal device 300 is shown to have various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0111] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the vehicle detection method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 305, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0112] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0113] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0114] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0115] The computer-readable medium carries one or more programs. When the one or more programs are executed by the terminal device, the terminal device implements the method described in any one of the embodiments.

[0116] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0117] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, constitute a limitation on the unit itself.

[0119] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0120] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0122] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0123] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A vehicle detection method, It is characterized in that The method comprises: When a vehicle to be inspected is detected to enter the inspection station, a set of inspection items corresponding to the vehicle to be inspected is obtained; For each detection item in the detection item set, obtaining target internal and external parameters of the image acquisition device corresponding to the detection item; Adjusting the image acquisition device based on the internal and external parameters of the target; Controlling the image acquisition device to acquire detection images; Detecting the detection image based on the detection item to obtain a detection result corresponding to the detection item; After all the test items in the test item set are tested, a test result set is obtained; Based on the detection results of all detection items included in the detection result set, the vehicle to be detected is controlled to enter its corresponding target workstation.

2. The method according to claim 1, It is characterized in that After all the test items in the test item set are tested, a test result set is obtained, including: Mark the test items for which test results have been obtained as tested; Query whether all the test items in the test item set are marked; If yes, it is determined that all the test items in the test item set have been tested; The test items and their corresponding test results are summarized to obtain a test result set.

3. The method according to claim 1, It is characterized in that Based on the detection results of all detection items included in the detection result set, controlling the vehicle to be detected to enter its corresponding target workstation includes: If any one of the test results in the test result set is unqualified, determining the trimming station corresponding to the unqualified test item, and taking the modification target as the target station; If all the test results in the test result set are qualified, then determining the next test station of the vehicle to be tested according to the set generation process, and taking the next test station as the target station; The vehicle to be inspected is controlled to enter its corresponding target station.

4. The method according to claim 1, It is characterized in that The adjusting the image acquisition device based on the internal and external parameters of the target includes: Adjusting internal parameters of the image acquisition device to target internal parameters, wherein the internal parameters control parameters of acquisition quality of the image acquisition device; The external parameters of the image acquisition device are adjusted to target external parameters, wherein the external parameters include parameters for controlling an acquisition area of ​​the image acquisition device.

5. The system according to claim 1, It is characterized in that Detecting the detection image based on the detection item to obtain a detection result corresponding to the detection item includes: When the inspection item is welding quality inspection, inspecting the inspection image to obtain the number of inspection welding points included in the inspection image; Obtaining the actual number of welding points corresponding to the inspection item; When the number of detected welding points is equal to the number of actual welding points, determining that the inspection result corresponding to the inspection item is qualified; When the number of the detected welding points is not equal to the number of the detected welding points, it is determined that the detection result corresponding to the detection item is unqualified.

6. The method according to claim 1, It is characterized in that After controlling the image acquisition device to acquire the detection image, the method further includes: For each detection image, obtain the acquisition time point corresponding to the detection image; Storing the collected multiple detection images and the collection time point corresponding to each detection image in an image cache device; Obtaining the start detection time point corresponding to the detection item; A detection image corresponding to a collection time point that is consistent with the start detection time point is selected from the image cache device.

7. The method according to claim 1, It is characterized in that The detecting that the vehicle to be detected enters the detection station includes: Real-time polling of vehicle identification positions at inspection stations in vehicle production lines; When the incoming vehicle identification position of the detection station is polled to be in a preset state, it is detected that the vehicle to be detected enters the detection station.

8. A vehicle detection device, It is characterized in that The device comprises: A detection item set acquisition module is used to acquire a detection item set corresponding to the vehicle to be detected after detecting that the vehicle to be detected enters the detection station; A target internal and external parameter acquisition module, used for acquiring, for each detection item in the detection item set, target internal and external parameters of the image acquisition device corresponding to the detection item; A target parameter adjustment module, used for adjusting the image acquisition device based on the target internal and external parameters; A detection item set acquisition module, used to control the image acquisition device to acquire detection images; A detection result acquisition module, used to detect the detection image based on the detection item to obtain the detection result corresponding to the detection item; A detection result set determination module, used to obtain a detection result set after all detection items in the detection item set have been detected; The vehicle control module to be detected is used to control the vehicle to be detected to enter its corresponding target workstation based on the detection results of all detection items included in the detection result set.

9. An electronic device, It is characterized in that The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.