Camera recognition method and device, electronic equipment and storage medium

Through the communication between the control device and the scanning module, it is possible to judge and separate the cameras that do not belong to the target batch, which solves the problem of mixed models on the camera production line and improves product quality.

CN119035099APending Publication Date: 2024-11-29DONG GUAN GAO WEI GUANG XUE DIAN ZI YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411093043.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The camera production line is prone to mixing different models of cameras, resulting in poor product quality.

Method used

By controlling the communication between the device and the mobile module and the scanning module, receive and scan the camera logo transmitted on the production line to determine whether it belongs to the target batch. If it does not belong, it will be transferred from the production line to the material tray to ensure that all cameras belong to Same product batch.

Benefits of technology

It effectively avoids the mixing of cameras of different models, improves the quality of products produced on the production line, and ensures that the camera belongs to the same product batch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119035099A_ABST
    Figure CN119035099A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a camera identification method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving a camera identifier which is sent by a scanning module and corresponds to a target camera transmitted on a production line; the camera identifier is obtained by scanning a target camera by a scanning module; judging whether the target camera belongs to a target object batch or not according to the camera identifier; and if it is determined that the target camera does not belong to the target object batch, the moving module is controlled to convey the target camera from the production line to the charging tray. According to the embodiment of the invention, the condition that cameras of different models are mixed on a production line is avoided, and the quality of products produced by the production line is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera technology, and in particular to a camera recognition method, device, electronic device and storage medium. Background Art

[0002] At present, on the production line where cameras are assembled, they are usually classified according to their product models, and the cameras transmitted on the production line are usually of the same product model, so as to ensure the quality of the products produced using the cameras on the production line. However, it is easy for cameras of different models to be mixed on the current camera production line, resulting in poor quality of the products produced on the production line. Summary of the invention

[0003] The embodiments of the present application disclose a camera recognition method, device, electronic device and storage medium, which can avoid the mixing of cameras of different models on a production line and improve the quality of products produced by the production line.

[0004] The embodiment of the present application discloses a camera recognition method, which is applied to a control device, wherein the control device is respectively connected to a mobile module and a scanning module for communication, and the method includes:

[0005] receiving a camera identifier sent by the scanning module and corresponding to a target camera transmitted on the production line; the camera identifier is obtained by the scanning module scanning the target camera;

[0006] According to the camera identification, determining whether the target camera belongs to a target object batch;

[0007] If it is determined that the target camera does not belong to the target object batch, the moving module is controlled to transfer the target camera from the production line to the material tray.

[0008] As an optional implementation manner, judging whether the target camera belongs to a target object batch according to the camera identifier includes:

[0009] Extracting features of the camera identification to obtain a first identification feature;

[0010] Determining whether the first identification feature matches a camera identification feature corresponding to a batch of target objects;

[0011] If the first identification feature matches the camera identification feature, it is determined that the target camera belongs to the target object batch;

[0012] If the first identification feature does not match the camera identification feature, it is determined that the target camera does not belong to the target object batch.

[0013] As an optional implementation manner, before determining whether the target camera belongs to a target object batch according to the camera identifier, the method further includes:

[0014] Receiving camera identifiers corresponding to a plurality of cameras respectively sent by the scanning module, where the camera identifiers corresponding to the plurality of cameras respectively are obtained by the scanning module scanning the plurality of cameras transmitted on the production line respectively;

[0015] Performing feature extraction on camera identifiers respectively corresponding to the plurality of cameras to obtain second identifier features respectively corresponding to the plurality of cameras;

[0016] The second identification feature with the largest number of occurrences is determined as the camera identification feature corresponding to the target object batch.

[0017] As an optional implementation manner, the control device is communicatively connected with at least two mobile modules; and the method further comprises:

[0018] Control different mobile modules to grab the cameras on the production line in turn, and move to the scanning position corresponding to the scanning module for scanning;

[0019] If it is determined that the target camera does not belong to the target object batch, controlling the moving module to transfer the target camera from the production line to the material tray includes:

[0020] If it is determined that the target camera does not belong to the target object batch, the moving module that grabs the target camera is controlled to transfer the target camera from the production line to the material tray.

[0021] As an optional implementation, if it is determined that the target camera does not belong to the target object batch, controlling the moving module to transfer the target camera from the production line to the material tray includes:

[0022] If it is determined that the target camera does not belong to the target product batch, searching for the first product batch to which the target camera belongs according to the camera identifier;

[0023] According to the first product batch, the moving module is controlled to transfer the target camera from the production line to the material tray, to a target position corresponding to the first product batch.

[0024] As an optional implementation, according to the first product batch, controlling the mobile module to transfer the target camera from the production line to the material tray, the target position corresponding to the first product batch includes:

[0025] Obtaining a second product batch to which each camera contained in the tray belongs;

[0026] If there is a second product batch to which the first camera belongs that is the same as the first product batch in the material tray, controlling the moving module to transfer the target camera from the production line to a target position in the material tray corresponding to the second product batch to which the first camera belongs;

[0027] If the second product batch to which each camera in the tray belongs is different from the first product batch, the target position corresponding to the first product batch is selected from the tray, and the mobile module is controlled to transfer the target camera from the production line to the target position corresponding to the first product batch.

[0028] As an optional implementation, after controlling the mobile module to transfer the target camera from the production line to the target position corresponding to the product batch, the method further includes:

[0029] Record and output product information corresponding to the target camera; the product information includes a first product batch corresponding to the target camera and a target position in the tray.

[0030] The embodiment of the present application discloses a camera recognition device, which is applied to a control device, wherein the control device is respectively connected to a mobile module and a scanning module for communication, and the device comprises:

[0031] A receiving module, used for receiving a camera identifier corresponding to a target camera transmitted on the production line and sent by the scanning module; the camera identifier is obtained by the scanning module scanning the target camera;

[0032] A judgment module, used for judging whether the target camera belongs to a target object batch according to the camera identification;

[0033] The control module is used to control the moving module to transfer the target camera from the production line to the material tray if it is determined that the target camera does not belong to the target object batch.

[0034] An embodiment of the present application discloses an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements any camera recognition method disclosed in the embodiment of the present application.

[0035] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, any camera recognition method disclosed in the embodiment of the present application is implemented.

[0036] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0037] The embodiment of the present application provides a text error correction method, device, electronic device and storage medium, which receives a camera identification corresponding to a target camera transmitted on a production line and sent by a scanning module; the camera identification is obtained by scanning the target camera by the scanning module; according to the camera identification, it is determined whether the target camera belongs to the target object batch; if it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to transfer the target camera from the production line to the material tray. In implementing the embodiment of the present application, the control device receives the camera identification corresponding to the target camera scanned by the scanning module, and can determine whether the target camera belongs to the target object batch according to the camera identification, and effectively identify the camera that does not belong to the target object batch. If it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to transfer the target camera from the production line to the material tray. The target camera that does not belong to the target object batch is automatically transferred from the production line to the material tray by the mobile module to ensure that the cameras on the production line belong to the same product batch, avoid the mixing of cameras of different models on the production line, and improve the quality of products produced by the production line. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 This is an application scenario diagram of a camera recognition method disclosed in an embodiment of the present application;

[0040] Figure 2 It is a flowchart of a camera recognition method disclosed in an embodiment of the present application;

[0041] Figure 3 It is a schematic diagram of a process for judging whether a target camera belongs to a target object batch according to a camera identification disclosed in an embodiment of the present application;

[0042] Figure 4 It is a flow chart of controlling the mobile module to transfer the target camera from the production line to the material tray if it is determined that the target camera does not belong to the target object batch disclosed in the embodiment of the present application;

[0043] Figure 5 is a schematic diagram of a display interface for outputting product information in an embodiment;

[0044] Figure 6 It is a structural schematic diagram of a camera recognition device disclosed in an embodiment of the present application;

[0045] Figure 7It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0048] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first product batch may be referred to as a second product batch, and similarly, a second product batch may be referred to as a first product batch. Both the first product batch and the second product batch are product batches, but they are not the same product batch.

[0049] The embodiments of the present application disclose a camera recognition method, device, electronic device and storage medium, which can effectively reduce the probability of camera mixing on the production line. Detailed descriptions are given below.

[0050] See also Figure 1 , Figure 1 1 is an application scenario diagram of a camera recognition method disclosed in an embodiment of the present application. The camera recognition method is applicable to a control device, which may include but is not limited to a mobile phone, a tablet computer, a PC (Personal Computer), a control center, etc., which is not limited here. The application scenario diagram includes a control device 101, a mobile module 102, a production line 103, a scanning module 104, a target camera 105, and a material tray 106.

[0051] The control device 101 may establish a communication connection with the scanning module 104 , and the communication connection may include a wired communication connection or a wireless communication connection.

[0052] The scanning module 104 may include a scanning gun, a scanner, a QR code scanner, etc.

[0053] The control device 101 can be connected to the mobile module 102 for communication. Optionally, the control device 101 can be connected to the mobile module 102 for wired communication via a data cable; the control device 101 can also be connected to the mobile module 102 for wireless communication. Multiple cameras can be transmitted on the production line 103. The control device 101 can control the mobile module 102 to grab the target camera 105 transmitted on the production line 103, and move the target camera 105 to the area scanned by the scanning module 104 through the mobile module 102, and control the scanning module 104 to scan the target camera 105 to obtain the camera identification corresponding to the target camera 105. The tray 106 can be used to store cameras that do not belong to the target batch.

[0054] The scanning module 104 can send the camera identification obtained by the scan to the control device 101, and the control device 101 can determine whether the target camera 105 belongs to the target object batch based on the camera identification. If the control device 101 determines that the target camera 105 does not belong to the target object batch, the control movement module 102 will transfer the currently captured target camera 105 from the production line to the material tray 106.

[0055] Figure 2 : is a flow chart of a camera recognition method disclosed in an embodiment of the present application. Figure 2 The camera recognition method described is applicable to the above control device. Figure 2 As shown, the camera recognition method may include the following steps:

[0056] Step S202, receiving a camera identifier sent by a scanning module, which corresponds to a target camera transmitted on the production line; the camera identifier is obtained by the scanning module by scanning the target camera.

[0057] On the production line, the cameras transmitted on the production line can be classified by the control device. The control device can be connected to the scanning module for communication, and the control device can control the scanning module to scan the target camera on the production line. After scanning the target camera transmitted on the production line, the scanning module can identify the camera identifier corresponding to the target camera, and send the camera identifier corresponding to the target camera to the control device in real time. The control device can receive the camera identifier corresponding to the target camera sent by the scanning module, and classify the target camera according to the camera identifier. Among them, the target camera refers to the camera currently being classified, that is, the camera currently identifying whether it belongs to the target batch. The camera identifier corresponding to the target camera refers to the identifier used to uniquely identify the target camera. For example, the camera identifier may include the camera number, etc.

[0058] Furthermore, the cameras conveyed on the production line can be used to assemble electronic products. Then, on the production line for assembling cameras, the cameras may refer to cameras that need to be assembled on electronic products, where the electronic products may include electronic devices such as cameras, smart phones, and computers that need to assemble cameras. Electronic products can be classified according to the corresponding product models, and electronic products of the same product model often need to assemble cameras belonging to the same product batch. Therefore, when installing cameras on electronic products of the target model, it is often necessary to ensure that the cameras assembled on the production line belong to the target batch, where the electronic products of the target model may be electronic products that need to be assembled using cameras belonging to the target batch.

[0059] In some embodiments, the control device can control the scanning module to scan the target camera transmitted on the production line. Further, the control device can control the scanning module to detect in real time whether there is a camera at the scanning position corresponding to the scanning module in the working state. If it is determined that the target camera exists, the scanning module is controlled to scan the target camera. Among them, the scanning module in the working state can refer to the state in which the scanning module is turned on to collect the camera identifiers corresponding to the cameras on the production line, and the scanning position corresponding to the scanning module can be the camera space area on the production line where the scanning module can scan. For example, the scanning position corresponding to the scanning module can be a platform directly facing the scanning module, and the platform can be used to place the target camera so that the scanning module can scan the target camera placed on the platform.

[0060] In some embodiments, the camera identification corresponding to each camera may be directly marked on each camera. The control device may control the scanning module to scan the target camera to obtain an image containing the camera identification corresponding to the target camera, and recognize the camera identification corresponding to the target camera by recognizing the image. In other embodiments, the target camera may be provided with a corresponding graphic code, such as a barcode, a QR code, etc., and the scanning module may recognize the graphic code by scanning the graphic code to obtain the camera identification corresponding to the target camera.

[0061] Step S204, judging whether the target camera belongs to the target object batch according to the camera identification, if so, executing step S208, if not, executing step S206.

[0062] In some embodiments, the control device can search in the target object batch identification list according to the camera identification, so as to determine whether the target camera belongs to the target object batch, wherein the target object batch identification list can record the camera identifications corresponding to all cameras belonging to the target object batch, and the target object batch identification list can be stored in the control device in advance. If the control device finds the camera identification in the target object batch identification list, it is determined that the target camera belongs to the target object batch; if the control device does not find the camera identification in the target object batch identification list, it is determined that the target camera does not belong to the target object batch. The control device searches in the target object batch identification list according to the camera identification, and can quickly determine whether the target camera belongs to the target object batch, thereby improving the efficiency of camera recognition.

[0063] In other embodiments, the control device may calculate the similarity between the camera identifier and the target camera identifier, and determine whether the target camera belongs to the target object batch based on the similarity. The target camera identifier may be the camera identifier corresponding to the camera belonging to the target object batch. If the similarity is greater than a preset similarity threshold, it is determined that the target camera belongs to the target object batch; if the similarity is less than or equal to the preset similarity threshold, it is determined that the target camera does not belong to the target object batch. The control device calculates the similarity between the camera identifier and the preset target camera identifier, and determines whether the target camera belongs to the target object batch based on the similarity, thereby ensuring that the camera identifier corresponding to the target camera has a large similarity with the target camera identifier, thereby improving the accuracy of determining whether the target camera belongs to the target object batch.

[0064] In some embodiments, since the camera identification corresponding to the camera is often related to the production line number, production date and other parameters of the camera, the production line, production date and other parameters of the cameras belonging to the same product batch are the same, and the camera identification determined according to the production line, generation time and other parameters of the camera often has the same specific features. Therefore, the camera identification corresponding to each camera belonging to the target batch has a corresponding identification feature, and the identification feature refers to the feature of the camera identification. For example, there are three cameras belonging to the target batch, and the camera identifications corresponding to these three cameras can be expressed as "ABCDE1234", "ABCDE5634" and "ABCD8934", then the camera identifications corresponding to these three cameras can be identified in the format of "ABCD**34". The control device can determine whether the target camera belongs to the target batch according to the camera identification features corresponding to the target batch and the camera identification corresponding to the target camera. Among them, the camera identification features can be used to describe the characteristics of the camera identifications corresponding to several cameras belonging to the corresponding product batch. Both the camera identification features and the camera identification contain multiple characters, and each character can be represented by a number or a letter. For example, one of the characters of the camera identification feature "ABCD**34" can be "A". The control device can compare each character in the camera identification feature corresponding to the target object batch with each character in the camera identification corresponding to the target camera. If the characters in the camera identification feature corresponding to the target object batch are different from the characters in the camera identification corresponding to the target camera, it is determined that the target camera does not belong to the target object batch; if the characters in the camera identification feature corresponding to the target object batch are the same as the characters in the camera identification corresponding to the target camera, it is determined that the target camera belongs to the target object batch. After the control device determines that the target camera belongs to the target object batch, the control device compares the characters in the camera identification feature corresponding to the target object batch and the characters in the camera identification corresponding to the target camera, thereby determining whether the target camera belongs to the target object batch, thereby improving the accuracy of determining whether the target camera belongs to the target object batch.

[0065] Step S206: If it is determined that the target camera does not belong to the target object batch, the moving module is controlled to transfer the target camera from the production line to the material tray.

[0066] If the control device determines that the target camera does not belong to the target object batch, in order to prevent different models of cameras from being mixed on the production line, the mobile module can be controlled to transfer the target camera from the production line to the material tray, thereby ensuring that the cameras transferred on the production line all belong to the target object batch.

[0067] The material tray can be a device for placing cameras that do not belong to the target object batch. The material tray can be set near the production line, or it can be set at a position where each mobile module can transfer the camera, so that each mobile module can transfer the camera that does not belong to the target object batch to the material tray. In some embodiments, the control device can control the mobile module to grab the target camera, and move the target camera to the scanning position by controlling the mobile module, and control the scanning module to scan the target camera at the scanning position, so as to obtain the camera identification corresponding to the target camera. The control device can determine whether the target camera belongs to the target object batch according to the camera identification corresponding to the target camera. If it is determined that the target camera belongs to the target object batch, the mobile module is controlled to grab the target camera and put it back on the production line; if it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to grab the target camera and move it to the material tray.

[0068] In some embodiments, the control device can also be connected to communicate with at least two mobile modules, controlling different mobile modules to take turns grabbing the cameras on the production line, and moving to the scanning position corresponding to the scanning module for scanning; if it is determined that the target camera does not belong to the target object batch, the mobile module that grabs the target camera is controlled to transfer the target camera from the production line to the material tray.

[0069] Before the control device receives the camera identifier corresponding to the target camera transmitted on the production line sent by the scanning module, the control device can control different mobile modules to grab the camera on the production line in turn, and control the mobile module to move the grabbed target camera to the scanning position corresponding to the scanning module for scanning. If the control device determines that the target camera does not belong to the target object batch, it controls the mobile module that grabs the target camera to transfer the target camera from the production line to the material tray.

[0070] Furthermore, since the control device can be connected to at least two mobile modules for communication, when the control device controls the first mobile module to capture the target camera and moves the target camera to the scanning position corresponding to the scanning module for scanning through the target mobile module, the second mobile module can be controlled to capture other cameras, and after the control device receives the camera identifier corresponding to the target camera sent by the scanning module, the target mobile module can be controlled to move the captured target camera away from the scanning position, and other mobile modules can be controlled to move the captured other cameras as new target cameras to the scanning position corresponding to the scanning module for scanning. Wherein, the first mobile module and the second mobile module are different mobile modules, and the camera captured by the second mobile module can be the next camera of the target camera captured by the first mobile module. For example, if the control device captures camera A through mobile module A, then in the process of moving the captured camera A to the scanning position corresponding to the scanning module through mobile module A, mobile module B can be controlled to capture camera B, and when the control device receives the camera identifier corresponding to camera A, the control device controls the mobile module to move camera A away from the scanning position, and moves the captured camera B to the scanning position for scanning through mobile module B.

[0071] The control device controls different mobile modules to grab the cameras on the production line in turn, and move to the scanning position corresponding to the scanning module for scanning, which can improve the efficiency of grabbing the cameras on the production line. If it is determined that the target camera does not belong to the target object batch, the mobile module that grabs the target camera is controlled to transfer the target camera from the production line to the material tray, which can avoid mixing of materials caused by transferring cameras of other product batches on the production line at the same time.

[0072] Step S208: If it is determined that the target camera belongs to the target object batch, the mobile module is controlled to send the target camera back to the production line.

[0073] In some embodiments, if the control device determines that the target camera belongs to the target object batch, the control device controls the mobile module to grab the target camera at the scanning position, and puts the target camera back to the production line through the mobile module. After the control device controls the mobile module to send the target camera back to the production line, the control device can control the mobile module to grab the next camera, so that the scanning module scans the next camera, thereby determining whether the next camera belongs to the target object batch according to the camera identifier corresponding to the next camera.

[0074] In an embodiment of the present application, the control device receives a camera identification corresponding to the target camera transmitted on the production line and sent by the scanning module, and determines whether the target camera belongs to the target object batch based on the camera identification. If it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to transmit the target camera from the production line to the tray. The control device receives the camera identification corresponding to the target camera scanned by the scanning module, and can determine whether the target camera belongs to the target object batch based on the camera identification, and effectively identify the camera that does not belong to the target object batch. If it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to transmit the target camera from the production line to the tray. The target camera that does not belong to the target object batch is automatically transmitted from the production line to the tray through the mobile module to ensure that the cameras on the production line belong to the same product batch, avoid the mixing of cameras of different models on the production line, and improve the quality of products produced by the production line.

[0075] Figure 3 is a flow chart of determining whether a target camera belongs to a target object batch according to a camera identification disclosed in an embodiment of the present application. Figure 3 As shown, the step of determining whether the target camera belongs to the target object batch according to the camera identification also includes the following steps:

[0076] Step S302: extract features from the camera identification to obtain a first identification feature.

[0077] Step S304, determining whether the first identification feature matches the camera identification feature corresponding to the target object batch, if so, executing step S306, if not, executing step S308.

[0078] The camera identification feature can be used to describe the feature of the camera identification corresponding to each camera belonging to the target object batch. The control device can extract the feature of the camera identification sent by the scanning module to obtain the first identification feature, wherein the first identification feature can be used to describe the feature of the camera identification corresponding to the target camera.

[0079] In some embodiments, the control device performs feature extraction on the camera identifier, and can perform feature extraction on the camera identifier according to a preset feature extraction method. The feature extraction method can be used to indicate the method of extracting features from the camera identifier, such as defining the extraction position, extraction content, etc. For example, assuming that the set feature condition can be to extract the first three characters and the last two characters of the camera identifier, if the camera identifier is "ABCDE1234", then the first identification feature obtained by feature extraction of the camera identifier can be "ABC****34". Further, the control device can set multiple different feature conditions. If the camera identifier is extracted according to the first feature condition, multiple first identification features are obtained, and it is determined in turn whether the multiple first identification features match the camera identification feature. If it is determined that one of the multiple first identification features does not match the camera feature identifier, it can be determined that the target camera does not belong to the target object batch; if it is determined that the multiple first identification features all match the camera identification feature, it can be determined that the target camera belongs to the target object batch. Among them, the obtained multiple first identification features are generated by the control device based on a number of characters randomly selected from the camera identification. For example, assuming the camera identification is "ABCDE1234", the control device can generate corresponding multiple first identification features "ABC****34", "A****34", etc.

[0080] The control device can extract features of the camera identification according to multiple feature conditions, obtain the first identification features multiple times, and determine whether the multiple first identification features match the camera identification features corresponding to the target object batch, which can further ensure whether the target camera belongs to the target object batch and improve the accuracy of determining whether the target camera belongs to the target object batch.

[0081] In some embodiments, the control device may receive the camera identification features set by manual input of a user, thereby determining the camera identification features corresponding to the target object batch.

[0082] In other embodiments, the control device may scan several cameras that are initially transmitting on the production line, and determine the camera identification features corresponding to the target batch according to the camera identifications corresponding to the several cameras. The control device may receive the camera identifications corresponding to the several cameras sent by the scanning module, and the camera identifications corresponding to the several cameras are obtained by scanning the several cameras transmitted on the production line by the scanning module; extract features from the camera identifications corresponding to the several cameras to obtain the second identification features corresponding to the several cameras; determine the second identification feature with the most occurrences as the camera identification feature corresponding to the target batch.

[0083] Among them, after receiving the start signal, the control device controls the scanning module to scan the cameras transmitted on the production line, and extracts features of the camera identifiers corresponding to several cameras that start to receive the transmission from the scanning module after receiving the start signal. For example, the control device can use the camera identifiers corresponding to the earliest twenty cameras received to obtain the second identification features corresponding to several cameras, and select the second identification feature with the largest number of occurrences as the camera identification feature corresponding to the target object batch. Among them, the start signal can be used to instruct the control device to start classifying the cameras on the production line.

[0084] The control device extracts features of the camera identifications corresponding to the several cameras according to the camera identifications corresponding to the several cameras sent by the receiving scanning module, obtains second identification features corresponding to the several cameras, and uses the second identification features with the largest number of occurrences as the camera identification features corresponding to the target object batch. The control device can automatically determine the camera identification features corresponding to the target object batch, thereby improving the efficiency and accuracy of determining the camera identification features corresponding to the target object batch.

[0085] In some embodiments, the first identification feature and the camera identification feature corresponding to the target object batch may both contain multiple characters, wherein the characters in the first identification feature and the camera identification feature may be any letters, numbers, symbols, etc. For example, assuming that the first identification feature is "ABC****34", "A" or "*" or "3" may be a character. Furthermore, the first identification feature and the camera identification feature may contain the same number of characters, and the characters in the first identification feature and the camera identification feature may have the same position. The control device may match the characters contained in the first identification feature with the characters contained in the camera identification corresponding to the target object batch. If the characters contained in the first identification feature match the characters contained in the camera identification feature, it is determined that the first identification feature matches the camera identification feature; if there is one or more characters in the first identification feature that do not match the characters contained in the camera identification feature, it is determined that the first identification feature does not match the camera identification feature. Furthermore, the control device may first determine whether the number of characters included in the first identification feature is the same as the number of characters included in the camera identification feature. If the numbers of the two are the same, the characters in the first identification feature may be matched with the characters in the camera identification feature in order; if the numbers of the two are different, it may be determined that the first identification feature does not match the camera identification feature. For example, assuming that the first identification feature is "ABC****34" and the camera identification feature is "BBC****34", since the first character "A" in the first identification feature does not match the first character "B" in the camera identification feature, the control device may determine that the first identification feature does not match the camera identification feature.

[0086] Step S306: If the first identification feature matches the camera identification feature, it is determined that the target camera belongs to the target object batch.

[0087] In some embodiments, if the control device determines that the first identification feature matches the camera identification feature, it determines that the target camera belongs to the target object batch. The mobile module can be controlled to put the target camera back on the production line, and the target camera can be directly transferred to the area for camera assembly through the production line. The target camera can also be directly moved to the spatial area where the target object batch is placed by grabbing the mobile module of the target camera.

[0088] Step S308: If the first identification feature does not match the camera identification feature, it is determined that the target camera does not belong to the target object batch.

[0089] In some embodiments, if the control device determines that the first identification feature does not match the camera identification feature, it determines that the target camera does not belong to the target object batch, and can control the mobile module that grabs the target camera to move the target camera to the material tray to avoid mixing of cameras transmitted on the production line.

[0090] In an embodiment of the present application, the control device extracts features of the camera identification to obtain a first identification feature, and determines whether the first identification feature matches the camera identification feature corresponding to the target object batch. If the first identification feature matches the camera identification feature, it is determined that the target camera belongs to the target object batch. If the first identification feature does not match the camera identification feature, it is determined that the target camera does not belong to the target object batch, which can improve the accuracy of determining whether the target camera belongs to the target object batch.

[0091] See also Figure 4 , Figure 4 The present invention discloses a flow chart of controlling the mobile module to transfer the target camera from the production line to the tray if it is determined that the target camera does not belong to the target object batch. In one embodiment, the step of controlling the mobile module to transfer the target camera from the production line to the tray if it is determined that the target camera does not belong to the target object batch also includes the following steps:

[0092] Step S402: If it is determined that the target camera does not belong to the target object batch, the first product batch to which the target camera belongs is searched according to the camera identifier.

[0093] In some embodiments, if the control device determines that the target camera does not belong to the target object batch, it can extract features from the camera identification corresponding to the target camera to obtain a first identification feature, determine the product batch corresponding to the first identification feature based on the first identification feature, and use the determined product batch as the first product batch to which the target camera belongs. Further, the control device can match the camera identification features corresponding to each product batch stored in the control device based on the first identification feature, thereby determining the camera identification feature that matches the first identification feature, and determine the product batch corresponding to the camera identification feature that matches the first identification feature as the first product batch to which the target camera belongs.

[0094] Step S404, according to the first product batch, control the moving module to transfer the target camera from the production line to the target position corresponding to the first product batch in the tray.

[0095] In some embodiments, the tray can be used to place cameras that do not belong to the target batch, and the tray can be set with target positions corresponding to each product batch, wherein the target position corresponding to each product batch is used to place the camera belonging to the corresponding product batch. The control device can determine the target position corresponding to the first product batch on the tray based on the first product batch, and control the mobile module to transfer the target camera from the production line to the tray, corresponding to the target position of the first product batch. Furthermore, the control device can determine the target position of the first product batch to which the target camera belongs in the tray based on the matching of the second product batch and the first product batch to which each camera currently exists on the tray belongs.

[0096] Furthermore, the control device can obtain the second product batch to which each camera contained in the tray belongs; if there is a second product batch to which the first camera belongs in the tray that is the same as the first product batch, the control mobile module will transfer the target camera from the production line to the tray, to the target position corresponding to the second product batch to which the first camera belongs; if the second product batch to which each camera in the tray belongs is different from the first product batch, the target position corresponding to the first product batch is selected from the tray, and the control mobile module will transfer the target camera from the production line to the target position corresponding to the first product batch. The control device can store the second product batch to which each camera contained in the tray belongs, so as to facilitate real-time search for the second product batch to which each camera contained in the outfeed tray belongs. The control device can match the first product batch with the second product batch to which each camera in the tray belongs, so as to determine whether there is a second product batch that is the same as the first product batch in the tray. If the second product batch to which the first camera belongs in the material tray is the same as the first product batch, the mobile module is controlled to transfer the target camera from the production line to the material tray, to the target position corresponding to the second product batch to which the first camera belongs, so that the cameras belonging to the same product batch can be merged and placed; if the second product batch to which the cameras in the material tray belong is different from the first product batch, the target position corresponding to the first product batch is selected from the material tray, and the mobile module is controlled to transfer the target camera from the production line to the target position corresponding to the first product batch. Specifically, the position in the material tray where no camera is placed can be selected as the target position corresponding to the first product batch to prevent the target camera from being mixed with the camera belonging to the second product batch.

[0097] The control device obtains the second product batch to which each camera contained in the tray belongs. If the second product batch to which the first camera belongs in the tray is the same as the first product batch, the control device controls the mobile module to transfer the target camera from the production line to the tray, to the target position corresponding to the second product batch to which the first camera belongs; if the second product batch to which the each camera in the tray belongs is different from the first product batch, the target position corresponding to the first product batch is selected from the tray, and the mobile module is controlled to transfer the target camera from the production line to the target position corresponding to the first product batch. The cameras belonging to the same product batch on the tray can be combined and placed, and the cameras belonging to different product batches can be placed separately. While improving the space utilization of the tray, it can also prevent the cameras belonging to different product batches from being mixed on the tray.

[0098] As an optional implementation, after the control device controls the mobile module to transfer the target camera from the production line to the target position corresponding to the product batch, the control device can record and output the product information corresponding to the target camera, wherein the product information includes the first product batch corresponding to the target camera and the target position in the tray. The control device can output the product information corresponding to the target camera after receiving the end signal, or it can output the product information corresponding to the target camera in real time after controlling the mobile module to transfer the target camera from the production line to the target position corresponding to the product batch, wherein the end signal can be used to indicate that the current control device ends the judgment of whether the camera transmitted on the production line belongs to the target batch. The control device can output the recorded product information corresponding to the target camera through the information output window so that the user can check the output of the product information corresponding to the target camera, wherein the information output window can be a page displayed in the control device. The control device records and outputs the product information corresponding to the target camera, which can facilitate the user to check the product information corresponding to the target camera, so as to know the classification of the target camera on the production line.

[0099] Figure 5 is a schematic diagram of an information output window for outputting product information in an embodiment, such as Figure 5 As shown, the information output window 500 may include an input box 501, a "search" button 502, an output box 503, a "list" area 504, and a real-time display area 505. The user inputs a camera ID through the input box 501, and clicks the "search" button 502 to make the control device search for product information corresponding to the camera according to the input camera ID, and display the found product information in the output box 503. The user can click the camera ID in the "list" area 504 to make the control device search for product information corresponding to the camera according to the clicked camera ID, and display the found product information in the output box 503. The real-time display area 505 is the product information corresponding to multiple cameras respectively recorded and output by the current control device in real time.

[0100] In an embodiment of the present application, if the control device determines that the target camera does not belong to the target object batch, it searches for the first product batch to which the target camera belongs based on the camera identifier, and controls the mobile module to transfer the target camera from the production line to the material tray based on the first product batch. The target position corresponding to the first product batch can reduce the probability of material mixing on the production line.

[0101] See also Figure 6 , Figure 6 Schematic diagram of the structure of a camera recognition device disclosed in the embodiment of the present application. The device can be applied to the above-mentioned control device, without specific limitation. Figure 5As shown, the camera recognition device 600 may include: a receiving module 601 , a judging module 602 and a control module 603 .

[0102] The receiving module 601 is used to receive a camera identifier corresponding to a target camera transmitted on the production line and sent by the scanning module; the camera identifier is obtained by scanning the target camera by the scanning module;

[0103] A determination module 602 is used to determine whether the target camera belongs to the target object batch according to the camera identification;

[0104] The control module 603 is used to control the moving module to transfer the target camera from the production line to the material tray if it is determined that the target camera does not belong to the target object batch.

[0105] In one embodiment, the judgment module 602 is also used to extract features from the camera identification to obtain a first identification feature; determine whether the first identification feature matches the camera identification feature corresponding to the target object batch; if the first identification feature matches the camera identification feature, it is determined that the target camera belongs to the target object batch; if the first identification feature does not match the camera identification feature, it is determined that the target camera does not belong to the target object batch.

[0106] In one embodiment, the camera recognition device 600 further includes an identification receiving module, a feature extraction module, and a feature determination module:

[0107] An identification receiving module is used to receive camera identifications corresponding to a plurality of cameras respectively sent by a scanning module, wherein the camera identifications corresponding to the plurality of cameras respectively are obtained by scanning the plurality of cameras transmitted on the production line by the scanning module;

[0108] A feature extraction module is used to extract features of camera identifiers corresponding to the plurality of cameras to obtain second identifier features corresponding to the plurality of cameras;

[0109] The feature determination module is used to determine the second identification feature with the largest number of occurrences as the camera identification feature corresponding to the target object batch.

[0110] In one embodiment, the camera recognition device 600 further includes a capture control module:

[0111] The grab control module is used to control different mobile modules to grab the cameras on the production line in turn and move them to the scanning position corresponding to the scanning module for scanning;

[0112] The control module 602 is also used to control the moving module that grabs the target camera to transfer the target camera from the production line to the material tray if it is determined that the target camera does not belong to the target object batch.

[0113] In one embodiment, the control module 603 further includes:

[0114] A batch search unit, configured to search for a first product batch to which the target camera belongs according to the camera identifier if it is determined that the target camera does not belong to the target object batch;

[0115] The transport control unit is used to control the mobile module to transport the target camera from the production line to the target position corresponding to the first product batch in the material tray according to the first product batch.

[0116] In one embodiment, the conveying control unit is also used to obtain the second product batch to which each camera contained in the material tray belongs; if the second product batch to which the first camera belongs in the material tray is the same as the first product batch, the moving module is controlled to convey the target camera from the production line to the material tray, to a target position corresponding to the second product batch to which the first camera belongs; if the second product batch to which each camera in the material tray belongs is different from the first product batch, the target position corresponding to the first product batch is selected from the material tray, and the moving module is controlled to convey the target camera from the production line to the target position corresponding to the first product batch.

[0117] In one embodiment, the camera recognition device further includes a recording module:

[0118] The recording module is used to record and output the product information corresponding to the target camera; the product information includes the first product batch corresponding to the target camera and the target position in the tray.

[0119] In an embodiment of the present application, the control device receives the camera identification corresponding to the target camera scanned by the scanning module, and can determine whether the target camera belongs to the target object batch based on the camera identification, and effectively identify the camera that does not belong to the target object batch. If it is determined that the target camera does not belong to the target object batch, the mobile module is controlled to transfer the target camera from the production line to the material tray. The target camera that does not belong to the target object batch is automatically transferred from the production line to the material tray through the mobile module to ensure that the cameras on the production line belong to the same product batch, avoid the mixing of cameras of different models on the production line, and improve the quality of products produced by the production line.

[0120] See also Figure 7 , Figure 7 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.

[0121] like Figure 7 As shown, the electronic device 700 may include:

[0122] A memory 701 storing executable program codes;

[0123] a processor 702 coupled to the memory 701;

[0124] The processor 702 calls the executable program code stored in the memory 701 to execute any camera recognition method disclosed in the embodiments of the present application.

[0125] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by the processor, the processor implements any camera recognition method disclosed in the embodiment of the present application.

[0126] The embodiments of the present application disclose a computer program product, including a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.

[0127] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0128] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0129] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0132] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0133] The above is a detailed introduction to a camera recognition method, device, electronic device and storage medium disclosed in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. At the same time, for those of ordinary skill in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A camera recognition method, characterized in that: Applied to a control device, the control device is respectively connected to a mobile module and a scanning module for communication, the method comprising: receiving a camera identifier sent by the scanning module and corresponding to a target camera transmitted on the production line; the camera identifier is obtained by the scanning module scanning the target camera; According to the camera identification, determining whether the target camera belongs to a target object batch; If it is determined that the target camera does not belong to the target object batch, the moving module is controlled to transfer the target camera from the production line to the material tray.

2. The method according to claim 1, characterized in that The step of determining, according to the camera identifier, whether the target camera belongs to a target object batch includes: Extracting features of the camera identification to obtain a first identification feature; Determining whether the first identification feature matches a camera identification feature corresponding to a batch of target objects; If the first identification feature matches the camera identification feature, it is determined that the target camera belongs to the target object batch; If the first identification feature does not match the camera identification feature, it is determined that the target camera does not belong to the target object batch.

3. The method according to claim 2, characterized in that Before determining whether the target camera belongs to a target object batch according to the camera identifier, the method further includes: Receiving camera identifiers corresponding to a plurality of cameras respectively sent by the scanning module, where the camera identifiers corresponding to the plurality of cameras respectively are obtained by the scanning module scanning the plurality of cameras transmitted on the production line respectively; Performing feature extraction on camera identifiers respectively corresponding to the plurality of cameras to obtain second identifier features respectively corresponding to the plurality of cameras; The second identification feature with the largest number of occurrences is determined as the camera identification feature corresponding to the target object batch.

4. The method according to claim 1, characterized in that: The control device is communicatively connected with at least two mobile modules; the method further comprises: Control different mobile modules to grab the cameras on the production line in turn, and move to the scanning position corresponding to the scanning module for scanning; If it is determined that the target camera does not belong to the target object batch, controlling the moving module to transfer the target camera from the production line to the material tray includes: If it is determined that the target camera does not belong to the target object batch, the moving module that grabs the target camera is controlled to transfer the target camera from the production line to the material tray.

5. The method according to claim 1, characterized in that If it is determined that the target camera does not belong to the target object batch, controlling the moving module to transfer the target camera from the production line to the material tray includes: If it is determined that the target camera does not belong to the target object batch, searching for the first product batch to which the target camera belongs according to the camera identifier; According to the first product batch, the moving module is controlled to transfer the target camera from the production line to the material tray, to a target position corresponding to the first product batch.

6. The method according to claim 5, characterized in that According to the first product batch, controlling the mobile module to transfer the target camera from the production line to the target position corresponding to the first product batch in the tray includes: Obtaining a second product batch to which each camera contained in the tray belongs; If there is a second product batch to which the first camera belongs that is the same as the first product batch in the material tray, controlling the moving module to transfer the target camera from the production line to a target position in the material tray corresponding to the second product batch to which the first camera belongs; If the second product batch to which each camera in the tray belongs is different from the first product batch, the target position corresponding to the first product batch is selected from the tray, and the mobile module is controlled to transfer the target camera from the production line to the target position corresponding to the first product batch.

7. The method according to claim 5, characterized in that After controlling the mobile module to transfer the target camera from the production line to the target position corresponding to the product batch, the method further includes: Record and output product information corresponding to the target camera; the product information includes a first product batch corresponding to the target camera and a target position in the tray.

8. A camera recognition device, characterized in that: Applied to a control device, the control device is respectively connected to a mobile module and a scanning module for communication, and the device comprises: A receiving module, used for receiving a camera identifier corresponding to a target camera transmitted on the production line and sent by the scanning module; the camera identifier is obtained by the scanning module scanning the target camera; A judgment module, used for judging whether the target camera belongs to a target object batch according to the camera identification; The control module is used to control the moving module to transfer the target camera from the production line to the material tray if it is determined that the target camera does not belong to the target object batch.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 7.

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