Bluetooth headset production automatic detection method, electronic device and storage medium
A bluetooth earphone and automatic detection technology, applied in measuring devices, instruments, optical devices, etc., can solve problems such as complicated operation and inaccurate detection results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] For the detection of the existing Bluetooth headset production, it is generally to detect the concentricity, that is, to detect whether the coordinate difference of the center of the pole piece circle and the diaphragm circle in the Bluetooth headset production meets the requirements of the system, and then obtain whether it is qualified. However, since the production of the Bluetooth headset includes a pole piece and a diaphragm, and due to the existence of the diaphragm, it is easy for the edge of the diaphragm to protrude when a photo is taken during inspection. For traditional detection, such as manual measurement of the photographed photos with a magnifying ruler, the detection of concentricity is to judge the difference between the coordinates of the center of the outer circle and the inner circle, so the phenomenon of edge burr sticking out is the detection of concentricity The results have little impact, but have a greater impact on the detection accuracy of othe...
Embodiment 2
[0057] The invention also provides an automatic detection method for bluetooth headset production, such as figure 1 shown, it includes the following steps:
[0058] Step S1: Acquire an image produced by the Bluetooth headset, and preprocess the image. Among them, the preprocessing is implemented by the following algorithms: morphological processing of the binarized image, such as erosion expansion, opening and closing operations, etc., and image segmentation operations, such as threshold segmentation, etc.
[0059] Step S2: extracting the region of the image, and processing the region through a corresponding algorithm, thereby obtaining a measurement value corresponding to the detection data. Grayscale processing is performed on the image to obtain a grayscale contrast map, and then the corresponding regions can be distinguished.
[0060] Step S3: According to the measurement value of each detection data, it is judged whether the production of the Bluetooth headset meets the...
Embodiment 3
[0089] The present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and running on the process, wherein the processor implements the following steps when executing the program:
[0090] Image acquisition step: acquiring the image produced by the Bluetooth headset, and preprocessing the image;
[0091] Region extraction step: perform image processing to extract the diaphragm region and the pole piece region;
[0092] Calculation step: According to the circle finding algorithm or the edge finding algorithm, the diaphragm area and / or the pole piece area are processed respectively to obtain the measurement value of the corresponding detection data of the Bluetooth headset production;
[0093] Judgment step: according to the measurement value of each test data, judge whether the bluetooth headset production meets the system requirements and obtain the test result.
[0094] Further, the detection data is...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


