Search

KR-20260067232-A - BCR Camera and method for moving the focus of the BCR camera

KR20260067232AKR 20260067232 AKR20260067232 AKR 20260067232AKR-20260067232-A

Abstract

The present invention provides a focus shifting method for a two-channel BCR camera having a first channel and a second channel, comprising the steps of: acquiring a first image and a second image respectively from the first channel and the second channel, which have their shooting times synchronized with each other; detecting an object in the first image and the second image; matching the object in the first image and the second image; calculating a separation degree between the first image and the second image using the matched object; and shifting the focal length of the BCR camera based on the separation degree.

Inventors

  • 김창현
  • 김성은
  • 조의현

Assignees

  • 한화비전 주식회사

Dates

Publication Date
20260512
Application Date
20241105

Claims (11)

  1. A method for shifting the focus of a two-channel BCR camera having a first channel and a second channel, A step of acquiring a first image and a second image, respectively, from the first channel and the second channel, whose shooting times are synchronized with each other; A step of detecting objects in the first image and the second image; A step of matching the objects of the first image and the second image; A step of calculating the separation degree between the first image and the second image using the matched object; and A focus shifting method comprising the step of shifting the focal length of the BCR camera based on the above separation.
  2. In Article 1, A focus shifting method comprising the step of acquiring the first image and the second image, respectively, from the first channel which is a mono sensor or a color sensor, and the step of acquiring the first image and the second image, respectively, from the second channel which is a mono sensor or a color sensor.
  3. In Article 1, A focus shifting method comprising the step of detecting the object, which includes calculating the difference between the background and the object within the first image and the second image and detecting the object based on the difference.
  4. In Paragraph 3, The step of matching the above object is, A step of producing a template including an overlapping area of an object within the first image and the second image; and A focus shifting method comprising the step of matching the above template to the first image and the second image, respectively.
  5. In Paragraph 4, A focus shift method comprising the step of calculating the above-mentioned separation degree, which calculates the separation degree between a first template matched to the first image and a second template matched to the second image, and calculates the distance between the BCR camera and the object based on the separation degree.
  6. Regarding BCR cameras, A first channel for acquiring a first image of an object on a conveyor; A second channel that acquires a second image of an object by synchronizing the shooting time with the first channel above; and Includes a processor, A BCR camera, wherein the processor detects objects in the first image and the second image, matches the objects in the first image and the second image, calculates a separation between the first image and the second image using the matched objects, and moves the focal length of the BCR camera based on the separation.
  7. An image acquisition module that acquires a first image of an object on a conveyor using a first channel, and acquires a second image of the object using a second channel whose shooting time is synchronized with that of the first channel; An object detection module that detects objects in the first image and the second image; An object matching module that matches the objects of the first image and the second image; A separation calculation module that calculates the separation between the first image and the second image using a matched object; and A BCR camera comprising a focal length shift module that moves the focal length of the camera based on the above separation.
  8. In Article 7, The first channel above is a mono sensor or a color sensor, and The second channel above is a BCR camera, which is a mono sensor or a color sensor.
  9. In Article 7, The object detection module above is a BCR camera that calculates the difference between the background and the object within the first image and the second image and detects the object based on the difference.
  10. In Article 9, The object matching module above calculates a template including an overlapping area of an object within the first image and the second image, and matches the template to the first image and the second image, respectively, a BCR camera.
  11. In Article 10, The above-described separation calculation module calculates the separation between a first template matched to the first image and a second template matched to the second image, and calculates the distance between the BCR camera and the object based on the separation.

Description

BCR Camera and method for moving the focus of the BCR camera Embodiments of the present invention relate to a BCR camera and a method for shifting the focus of a BCR camera. In the case of a dual-lens camera equipped with both a barcode recognition sensor and a cargo imaging sensor, it is difficult to synchronize the field of view between the two sensor images because their positions are inevitably different. Furthermore, barcode position matching is challenging because the field of view synchronization must be achieved empirically based on the camera's installation site, location, and conveyor speed. Additionally, conventional technologies that automatically adjust focus using liquid lenses required the focus to be adjusted based on the distance between the lens and the object measured by separately installed physical sensors, such as Time of Flight (ToF) sensors or Hall sensors. FIGS. 1 and FIGS. 2 are drawings for explaining the configuration and operation of a BCR camera according to an embodiment of the present invention. FIG. 3 is a diagram illustrating the configuration and operation of a processor of a BCR camera according to one embodiment of the present invention. FIG. 4 is a flowchart illustrating a focus shifting method according to an embodiment of the present invention. FIGS. 5 to 7 are drawings for explaining a focus shifting method according to an embodiment of the present invention. The present invention is capable of various modifications and may have various embodiments; specific embodiments are illustrated in the drawings and described in detail in the detailed description. The effects and features of the present invention, and the methods for achieving them, will become clear by referring to the embodiments described below in detail together with the drawings. However, the present invention is not limited to the embodiments disclosed below but can be implemented in various forms. Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. When describing with reference to the drawings, identical or corresponding components are given the same reference numerals, and redundant descriptions thereof will be omitted. In the following embodiments, terms such as "first," "second," etc. are used not in a limiting sense, but for the purpose of distinguishing one component from another. Also, singular expressions include plural expressions unless the context clearly indicates otherwise. Furthermore, terms such as "include" or "have" mean that the feature or component described in the specification exists, and do not exclude the possibility that one or more other features or components may be added. In the drawings, the size of components may be exaggerated or reduced for convenience of explanation. For example, the size and thickness of each component shown in the drawings are depicted arbitrarily for convenience of explanation, so the present invention is not necessarily limited to what is illustrated. In the following embodiments, when a part such as a region, component, section, block, or module is described as being on or above another part, it includes not only cases where it is directly on top of the other part, but also cases where another region, component, section, block, or module is interposed therein. Furthermore, when a region, component, section, block, or module is described as being connected, it includes not only cases where the region, component, section, block, or module is directly connected, but also cases where other regions, components, sections, blocks, or modules are interposed therein to indirectly connect them. Hereinafter, in order to enable a person skilled in the art to easily practice the present invention, various embodiments of the present invention will be described in detail with reference to the attached drawings. FIGS. 1 and FIGS. 2 are drawings for explaining the configuration and operation of a BCR camera according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 together, a barcode recognition system according to one embodiment of the present invention may include a BCR camera (100). However, the present invention is not limited thereto, and a barcode recognition system according to one embodiment of the present invention may include additional components, or some components may be omitted. Some components of a barcode recognition system according to one embodiment of the present invention may be separated into a plurality of devices, or a plurality of components may be merged into a single device. For example, a barcode recognition system according to one embodiment of the present invention may include a BCR camera (100) and a server. For example, the server may be a server device provided in the barcode recognition system of the present invention. For example, the server may be connected to the BCR camera (100) via a network to exchange data with each other. Additionally,