WO2022116675A1 - Object detection method and apparatus, storage medium, and electronic device - Google Patents

Object detection method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2022116675A1
WO2022116675A1 PCT/CN2021/122451 CN2021122451W WO2022116675A1 WO 2022116675 A1 WO2022116675 A1 WO 2022116675A1 CN 2021122451 W CN2021122451 W CN 2021122451W WO 2022116675 A1 WO2022116675 A1 WO 2022116675A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection area
area
target
current detection
pixel
Prior art date
Application number
PCT/CN2021/122451
Other languages
French (fr)
Chinese (zh)
Inventor
骆磊
黄晓庆
Original Assignee
达闼机器人股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 达闼机器人股份有限公司 filed Critical 达闼机器人股份有限公司
Publication of WO2022116675A1 publication Critical patent/WO2022116675A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof

Definitions

  • the present disclosure relates to the technical field of object detection, and in particular, to an object detection method, apparatus, storage medium and electronic device.
  • the robot is usually required to have functions such as navigation, obstacle avoidance, and capture (for example, an intelligent sweeping robot), which requires the robot to be able to detect objects in the surrounding environment.
  • functions such as navigation, obstacle avoidance, and capture (for example, an intelligent sweeping robot), which requires the robot to be able to detect objects in the surrounding environment.
  • ultrasonic, infrared, laser radar and other sensing devices are mainly used as the navigation obstacle avoidance device of the robot, and object detection is realized through the navigation obstacle avoidance device.
  • object detection is realized through the navigation obstacle avoidance device.
  • using these sensing devices as navigation and obstacle avoidance devices has various drawbacks.
  • ultrasonic and infrared sensing devices are relatively cheap, but can only detect objects at close range, and when the situation is complicated, the number of object detection failures will be relatively high.
  • lidar can detect objects with high accuracy and long detection distance, it is expensive, consumes high power for active scanning, and its volume and weight are relatively large, so it is not suitable for most robots.
  • the present disclosure provides an object detection method, apparatus, storage medium and electronic device.
  • an object detection method which is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of For the second microlens, the field of view of the first microlens is greater than the field of view of the second microlens, and the method includes:
  • each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
  • the first object feature satisfies the area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from a plurality of the preset detection areas;
  • the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected;
  • the region switching conditions include the following: Any of the conditions:
  • the first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
  • the first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
  • the first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • the method further includes:
  • the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
  • the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area
  • the target pixel corresponding to the large field of view detection area includes the first pixel.
  • the target pixel point corresponding to the small field of view detection area includes the second pixel point
  • the all-lens detection area includes the large field of view detection area and the small field of view detection area.
  • the number of the target pixels corresponding to the all-lens detection area is greater than the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area is greater than the large field of view. detection area.
  • an object detection apparatus which is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, The angle of view of the first microlens is greater than the angle of view of the second microlens, and the device includes:
  • a processing module configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
  • each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
  • a determination module configured to determine a target detection area other than the current detection area from a plurality of the preset detection areas when the first object feature satisfies the area switching condition corresponding to the current detection area;
  • the processing module is further configured to determine a second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is the target corresponding to the target detection area The pixel point information collected by the pixel point.
  • the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected;
  • the region switching conditions include the following: Any of the conditions:
  • the first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
  • the first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
  • the first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • the processing module is further configured to use the first object feature as the second object feature when the first object feature does not satisfy the region switching condition corresponding to the current detection region.
  • the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area
  • the target pixel corresponding to the large field of view detection area includes the first pixel.
  • the target pixel point corresponding to the small field of view detection area includes the second pixel point
  • the all-lens detection area includes the large field of view detection area and the small field of view detection area.
  • the number of the target pixels corresponding to the all-lens detection area is greater than the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area is greater than the large field of view. detection area.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the object detection method provided in the first aspect.
  • an electronic device comprising:
  • a processor configured to execute the computer program in the memory, to implement the steps of the object detection method provided by the first aspect.
  • the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area is The area is an area composed of target pixels on the image sensor.
  • the target pixels corresponding to each preset detection area are different.
  • the target pixels include the first pixel and/or the second pixel.
  • a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined.
  • the present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced.
  • the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
  • FIG. 1 is a flowchart of an object detection method according to an exemplary embodiment
  • FIG. 2 is a schematic diagram of the field of view of a first microlens and a second microlens according to an exemplary embodiment
  • FIG. 3 is a flowchart illustrating another object detection method according to an exemplary embodiment
  • FIG. 4 is a schematic diagram showing the distribution of a first microlens and a second microlens according to an exemplary embodiment
  • FIG. 5 is a block diagram of an object detection apparatus according to an exemplary embodiment
  • Fig. 6 is a block diagram of an electronic device provided according to an exemplary embodiment.
  • the application scenario is to use object detection equipment to detect objects to be detected in the surrounding environment.
  • the object detection device may be provided on the terminal device, and the object detection device may include a lens and an image sensor.
  • the image sensor is located on the side corresponding to the image-side surface of the lens, and has an imaging surface facing the image-side surface.
  • the imaging surface is composed of multiple pixels.
  • the lens and the image sensor can be completely fitted together, or they can be separated by a certain interval. the distance.
  • the lens can be a flat lens or a curved lens
  • the image sensor can be a CMOS (English: Complementary Metal-Oxide-Semiconductor, Chinese: Complementary Metal Oxide Semiconductor) sensor, or a CCD (English: Charge-coupled Device, Chinese: Charge Coupled Device) element), or any other photosensitive sensor, which is not specifically limited in the present disclosure.
  • the terminal device may be, for example, a terminal device such as a smart robot, a smart phone, a tablet computer, a smart watch, and a smart bracelet.
  • Fig. 1 is a flow chart of an object detection method according to an exemplary embodiment.
  • the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the field angle of the first microlens is larger than that of the second microlens the field of view, the method may include the following steps:
  • Step 101 Determine a first object feature of an object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas.
  • each preset detection area is an area composed of target pixels on the image sensor, the target pixels corresponding to each preset detection area are different, and the target pixels include first pixels and/or second pixels , the first pixel is the pixel included in the projection area of the plurality of first microlenses on the image sensor, the second pixel is the pixel included in the projection area of the plurality of second microlenses on the image sensor, and the first pixel
  • the information is the pixel point information collected by the target pixel point corresponding to the current detection area.
  • a new sensing device can be constructed through lenses and image sensors for object detection.
  • the lens may be divided into a plurality of first microlenses and a plurality of second microlenses arranged in a grid format.
  • a plurality of first micro-lenses and a plurality of second micro-lenses in a mesh format can be formed on the lens by photolithography (or other techniques), or a plurality of first micro-lenses in a mesh format can be formed on the lens by a layer of nano-film a microlens and a plurality of second microlenses.
  • each first microlens corresponds to one or more first pixels on the image sensor, and the first pixels corresponding to each first microlens are the pixels included in the projection area of the first microlens on the image sensor point.
  • imaging is performed on the first pixel point corresponding to the first microlens.
  • Each second microlens corresponds to one or more second pixels on the image sensor, and the second pixels corresponding to each second microlens are pixels included in the projection area of the second microlens on the image sensor.
  • a second microlens captures the object to be detected, it will image on the second pixel point corresponding to the second microlens.
  • the FOV (English: Field of View, Chinese: Field of View) of the first microlens is greater than the FOV of the second microlens, as shown in FIG. 2 , the dotted line in FIG. 2 is the FOV of the first microlens, and the The solid line is the FOV of the second microlens.
  • the imaging surface of the image sensor can be divided into a plurality of preset detection areas according to the type of pixel points (first pixel point or second pixel point), and each preset detection area can be an area composed of target pixel points .
  • the target pixels corresponding to each preset detection area are different, and the number of target pixels is different.
  • the target pixels may include the first pixel and/or the second pixel, that is, the target pixel corresponding to the preset detection area may Only the first pixel is included, only the second pixel may be included, or both the first pixel and the second pixel may be included.
  • a preset detection area may be selected from a plurality of preset detection areas as the current detection area, and the first pixel information collected by the target pixel points corresponding to the current detection area, Calculate the first object feature of the object to be detected.
  • the first pixel information may include the pixel value of each target pixel corresponding to the current detection area
  • the first object feature may include the first distance between the object to be detected and the object detection device, and the first size and first movement of the object to be detected. speed.
  • Step 102 in the case that the first object feature satisfies the area switching condition corresponding to the current detection area, determine a target detection area other than the current detection area from a plurality of preset detection areas.
  • the object to be detected is detected by the target pixels corresponding to different preset detection areas, the number of target pixels used is different, and the data amount of pixel information collected by the target pixels is different, which will lead to Target pixels corresponding to different preset detection areas have different resolution and power consumption for detecting the object to be detected.
  • the greater the number of target pixel points corresponding to the preset detection area the higher the resolving power of detecting the object to be detected, and the higher the power consumption of detecting the object to be detected at the same time.
  • the resolving power can reflect the performance of detecting the object to be detected. The higher the resolving power, the better the performance of detecting the object to be detected, that is, the higher the detection accuracy of the object to be detected.
  • the area switching conditions corresponding to each preset detection area can be preset, so that when the object detection device detects the object to be detected through the target pixel point corresponding to each preset detection area, it can determine that the preset detection area is to be detected. Whether the resolving power of the object for detection is insufficient or the resolving power is excessive.
  • the area switching condition corresponding to each preset detection area may be set according to the distance range between the object to be detected and the object detection device that can be detected by the preset detection area, as well as the size range and moving speed range of the object to be detected.
  • the first object feature satisfies the area switching condition corresponding to the current detection area, it means that the resolution power to detect the object to be detected by the target pixel point corresponding to the current detection area is insufficient or excessive, and the current detection area needs to be switched.
  • a preset detection area with a higher resolution may be selected from a plurality of preset detection areas as the target detection area (that is, select the target pixel point more preset detection areas) to detect objects to be detected.
  • a preset detection area with a smaller resolution can be selected from a plurality of preset detection areas as the target detection area to perform the detection of the object to be detected. Detection, that is, selecting a preset detection area with a smaller number of target pixels to detect the object to be detected, thereby reducing the power consumption of detecting the object to be detected. By switching the current detection area to the target detection area, the power consumption of object detection can be reduced while ensuring the object detection performance (detection accuracy), so as to meet the needs of different scenarios.
  • Step 103 Determine the second object feature of the object to be detected according to the second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area.
  • the second object feature of the object to be detected may be calculated according to the second pixel information collected from the target pixel point corresponding to the target detection area.
  • the second object characteristic may include a second distance of the object to be detected from the object detection device, and a second size and a second moving speed of the object to be detected.
  • the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area
  • the area is an area composed of target pixels on the image sensor.
  • the target pixels corresponding to each preset detection area are different.
  • the target pixels include the first pixel and/or the second pixel.
  • a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined.
  • the present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced.
  • the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
  • Fig. 3 is a flowchart showing another object detection method according to an exemplary embodiment. As shown in Figure 3, the method further includes the following steps:
  • Step 104 in the case that the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
  • the first object feature does not meet the area switching condition corresponding to the current detection area, it means that the resolution power of detecting the object to be detected through the target pixel point corresponding to the current detection area meets the requirements, and the resolution power is not excessive, There is no need to switch the current detection area.
  • the first object feature can be directly used as the second object feature.
  • the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected
  • the area switching condition may include any of the following conditions:
  • the first size is smaller than the first size threshold corresponding to the current detection area, or the first size is greater than or equal to the second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold.
  • the first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold.
  • the first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • the first size threshold is the minimum size of the object to be detected that can be detected in the current detection area
  • the first distance threshold is the maximum distance between the object to be detected and the object detection device that can be detected in the current detection area
  • the first speed threshold is The minimum speed of the object to be detected that can be detected in the current detection area.
  • the second size threshold is the maximum size of the object to be detected that can be detected in the current detection area
  • the second distance threshold is the minimum distance between the object to be detected and the object detection device that can be detected in the current detection area
  • the second speed threshold is the current detection area. The maximum speed of the object to be detected that can be detected.
  • first microlens and the second microlens may be the same or different.
  • the lens may be divided into a plurality of first microlenses and a plurality of second microlenses which are arranged in a grid format and have the same shape and size according to a preset arrangement.
  • the preset arrangement can be, for example, that the first microlenses and the second microlenses are evenly distributed on the lens according to a certain ratio.
  • the distribution of the micro-lens and the second micro-lens on the lens can be shown in Figure 4.
  • the smallest square in Figure 4 corresponds to one pixel.
  • the nine-square grid filled with shadows in Figure 4 is the first micro-lens.
  • Figure 4 The nine-square grid surrounded by dotted lines is the second microlens.
  • the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area
  • the target pixel point corresponding to the large field of view detection area includes the first pixel point
  • the small field of view detection area corresponds to
  • the target pixel point includes the second pixel point
  • the full-lens detection area includes a detection area with a large field of view and a detection area with a small field of view.
  • the number of the first microlenses included on the lens is greater than the number of the second microlenses
  • the number of target pixels corresponding to the full-lens detection area is greater than the small field of view detection area
  • the small field of view detects
  • the number of target pixels corresponding to the area is larger than the detection area with a large field of view.
  • the relationship between the resolution power of the detection area with large field of view, the detection area with small field of view and the full-lens detection area is: full-lens detection area > detection area with small field of view > detection area with large field of view
  • the power consumption relationship is: : full-lens detection area ⁇ small field of view detection area ⁇ large field of view detection area.
  • the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, and the number of first microlenses on the lens is greater than the number of second microlenses.
  • the user can manually select a preset detection area from the detection area with a large field of view, a detection area with a small field of view, and a full-lens detection area as the current detection area to detect the object to be detected.
  • the method of automatic selection can also be adopted.
  • the detection area with a large field of view can be selected by default, and then the first pixel information of the target pixel corresponding to the detection area with a large field of view can be used to calculate the first object of the object to be detected.
  • the first size threshold corresponding to the detection area with a large field of view If it is determined that the first size is smaller than the first size threshold corresponding to the detection area with a large field of view, the first distance is greater than the first distance threshold corresponding to the detection area with a large field of view, and the first moving speed is smaller than the first distance corresponding to the detection area with a large field of view. Any one of the speed thresholds is satisfied (at this time, the resolution of the target pixel corresponding to the detection area with a large field of view is insufficient to detect the object to be detected, and the appearance is that the pixel value of the adjacent target pixel has a large difference or pixel value. change too slowly), switch the detection area with a large field of view to a detection area with a small field of view.
  • the first object feature of the object to be detected is recalculated, and it is judged whether the recalculated first object feature satisfies the area corresponding to the detection area with small field of view switch condition.
  • the recalculated first size is smaller than the first size threshold corresponding to the small field of view detection area
  • the recalculated first distance is greater than the first distance threshold corresponding to the small field of view detection area
  • the recalculated first moving speed is smaller than the small field of view Any one of the first speed thresholds corresponding to the angle detection area is satisfied (at this time, the target pixel corresponding to the small field of view detection area has insufficient resolving power to detect the object to be detected, and the appearance is that the pixel value difference between adjacent target pixel points larger), switch the detection area with small field of view to the full-lens detection area.
  • the first object feature of the object to be detected is recalculated through the first pixel information collected from the target pixel point corresponding to the full-lens detection area, and it is judged whether the recalculated first object feature satisfies the area switching conditions corresponding to the full-lens detection area .
  • the recalculated first size is greater than or equal to the second size threshold corresponding to the current detection area
  • the recalculated first distance is less than or equal to the second distance threshold corresponding to the current detection area
  • the recalculated first moving speed is greater than or equal to Any one of the second velocity thresholds corresponding to the current detection area satisfies (at this time, the target pixels corresponding to the full-lens detection area have excessive resolving power to detect the object to be detected, and the appearance is that the difference in pixel values of adjacent target pixels is relatively high. small), switch the full-lens detection area to the small field of view detection area.
  • the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area
  • the area is an area composed of target pixels on the image sensor.
  • the target pixels corresponding to each preset detection area are different.
  • the target pixels include the first pixel and/or the second pixel.
  • a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined.
  • the present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced.
  • the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
  • Fig. 5 is a block diagram of an object detection apparatus according to an exemplary embodiment.
  • the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the field angle of the first microlens is larger than that of the second microlens
  • the device 200 includes:
  • the processing module 201 is configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas.
  • each preset detection area is an area composed of target pixels on the image sensor, the target pixels corresponding to each preset detection area are different, and the target pixels include first pixels and/or second pixels , the first pixel is the pixel included in the projection area of the plurality of first microlenses on the image sensor, the second pixel is the pixel included in the projection area of the plurality of second microlenses on the image sensor, and the first pixel
  • the information is the pixel point information collected by the target pixel point corresponding to the current detection area.
  • the determining module 202 is configured to determine a target detection area other than the current detection area from a plurality of preset detection areas under the condition that the first object feature satisfies the area switching condition corresponding to the current detection area.
  • the processing module 201 is further configured to determine the second object feature of the object to be detected according to the second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area.
  • the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected.
  • Region switching conditions include any of the following conditions:
  • the second size is smaller than the first size threshold corresponding to the current detection area, or the second size is greater than or equal to the second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold.
  • the second distance is greater than the first distance threshold corresponding to the current detection area, or the second distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold.
  • the second moving speed is less than the first speed threshold corresponding to the current detection area, or the second moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • the processing module 201 is further configured to use the first object feature as the second object feature when the first object feature does not satisfy the region switching condition corresponding to the current detection region.
  • the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area
  • the target pixel point corresponding to the large field of view detection area includes the first pixel point
  • the small field of view detection area corresponds to
  • the target pixel point includes the second pixel point
  • the full-lens detection area includes a detection area with a large field of view and a detection area with a small field of view.
  • the number of target pixels corresponding to the full-lens detection area is larger than that of the small field of view detection area, and the number of target pixels corresponding to the small field of view detection area is larger than the large field of view detection area.
  • the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area
  • the area is an area composed of target pixels on the image sensor.
  • the target pixels corresponding to each preset detection area are different.
  • the target pixels include the first pixel and/or the second pixel.
  • a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined.
  • the present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected through the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced.
  • the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
  • FIG. 6 is a block diagram of an electronic device 700 according to an exemplary embodiment.
  • the electronic device 700 may include: a processor 701 and a memory 702 .
  • the electronic device 700 may also include one or more of a multimedia component 703 , an input/output (I/O) interface 704 , and a communication component 705 .
  • I/O input/output
  • the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned object detection method.
  • the memory 702 is used to store various types of data to support operations on the electronic device 700, such data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on.
  • the memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Read-Only Memory (PROM for short), read-only Memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • Multimedia components 703 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals.
  • the audio component may include a microphone for receiving external audio signals.
  • the received audio signal may be further stored in memory 702 or transmitted through communication component 705 .
  • the audio assembly also includes at least one speaker for outputting audio signals.
  • the I/O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons.
  • the communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices.
  • Wireless communication such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or more of them
  • the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module and so on.
  • the electronic device 700 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic components Implementation is used to implement the above object detection method.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSP Digital Signal Processor
  • DSP Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components Implementation is used to implement the above object detection method.
  • a computer-readable storage medium comprising program instructions, the program instructions implementing the steps of the above-mentioned object detection method when executed by a processor.
  • the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to implement the above-mentioned object detection method.
  • An object detection method applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, the field of view of the first microlens The angle is greater than the field angle of the second microlens, and the method includes:
  • each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
  • the first object feature satisfies the area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from a plurality of the preset detection areas;
  • the area switching condition includes any one of the following conditions:
  • the first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
  • the first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
  • the first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
  • the preset detection area includes a detection area with a large field of view, a detection area with a small field of view, and a full-lens detection area
  • the large field of view The target pixel point corresponding to the angle detection area includes the first pixel point
  • the target pixel point corresponding to the small field-of-view detection area includes the second pixel point
  • the full-lens detection area includes the large angle detection area.
  • the number of the target pixels corresponding to the all-lens detection area is greater than that of the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area larger than the detection area of the large field of view.
  • An object detection device applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, the field of view of the first microlens The angle is greater than the field angle of the second microlens, and the device includes:
  • a processing module configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
  • each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
  • a determination module configured to determine a target detection area other than the current detection area from a plurality of the preset detection areas when the first object feature satisfies the area switching condition corresponding to the current detection area;
  • the processing module is further configured to determine a second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is the target corresponding to the target detection area The pixel point information collected by the pixel point.
  • the apparatus wherein the first object characteristic includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected;
  • the area switching condition includes any one of the following conditions:
  • the first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
  • the first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
  • the first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  • An electronic device comprising:
  • a processor configured to execute the computer program in the memory, to implement the steps of the method in any one of Embodiments 1 to 5.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The present disclosure relates to an object detection method and apparatus, a storage medium, and an electronic device, the method comprising: on the basis of first pixel information corresponding to a current detection area amongst a plurality of preset detection areas, determining first object features of an object to be detected, each preset detection area being an area composed of target pixel points on an image sensor; when the first object features meet an area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from the plurality of preset detection areas; and, on the basis of second pixel information corresponding to the target detection area, determining second object features of the object to be detected. In the present disclosure, the power consumption required for performing detection of the object to be detected is low, the cost of the object detection equipment is low, and the weight and volume of the object detection equipment are small. The current detection area can be switched and an appropriate target detection area can be selected for object detection, in order to reduce the power consumption of object detection whilst ensuring the precision of object detection.

Description

物体探测方法、装置、存储介质和电子设备Object detection method, device, storage medium and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求在2020年12月02日提交中国专利局、申请号为202011406181.X、名称为“物体探测方法、装置、存储介质和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application entitled "Object Detection Method, Apparatus, Storage Medium, and Electronic Device" with application number 202011406181.X filed with the Chinese Patent Office on December 02, 2020, the entire contents of which are hereby incorporated by reference Incorporated in this disclosure.
技术领域technical field
本公开涉及物体探测技术领域,具体地,涉及一种物体探测方法、装置、存储介质和电子设备。The present disclosure relates to the technical field of object detection, and in particular, to an object detection method, apparatus, storage medium and electronic device.
背景技术Background technique
随着科学技术的不断进步和机器人技术的不断发展,各种类型的机器人被广泛应用于多个领域之中。在某些特定应用场景下,通常需要机器人具备导航,避障以及捕获等功能(例如,智能扫地机器人),这就要求机器人能够对周围环境中的物体进行探测。相关技术中,主要是采用超声、红外、激光雷达等传感装置作为机器人的导航避障器件,并通过导航避障器件来实现物体探测的。然而,采用这些传感装置作为导航避障器件会存在各种缺陷。例如,超声和红外传感装置的价格比较便宜,但只能进行近距离的物体探测,并且当情况复杂时,物体探测的失败次数会比较多。而激光雷达虽然对物体进行探测的准确度高、探测距离远,但价格昂贵、主动扫描耗电高,并且其体积和重量相对较大,并不适合应用于大多数的机器人上。With the continuous progress of science and technology and the continuous development of robotics, various types of robots are widely used in many fields. In some specific application scenarios, the robot is usually required to have functions such as navigation, obstacle avoidance, and capture (for example, an intelligent sweeping robot), which requires the robot to be able to detect objects in the surrounding environment. In the related art, ultrasonic, infrared, laser radar and other sensing devices are mainly used as the navigation obstacle avoidance device of the robot, and object detection is realized through the navigation obstacle avoidance device. However, using these sensing devices as navigation and obstacle avoidance devices has various drawbacks. For example, ultrasonic and infrared sensing devices are relatively cheap, but can only detect objects at close range, and when the situation is complicated, the number of object detection failures will be relatively high. Although lidar can detect objects with high accuracy and long detection distance, it is expensive, consumes high power for active scanning, and its volume and weight are relatively large, so it is not suitable for most robots.
发明内容SUMMARY OF THE INVENTION
为了解决相关技术中存在的问题,本公开提供了一种物体探测方法、装置、存储介质和电子设备。In order to solve the problems existing in the related art, the present disclosure provides an object detection method, apparatus, storage medium and electronic device.
为了实现上述目的,根据本公开实施例的第一方面,提供一种物体探测方法,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述方法包括:In order to achieve the above object, according to a first aspect of the embodiments of the present disclosure, an object detection method is provided, which is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of For the second microlens, the field of view of the first microlens is greater than the field of view of the second microlens, and the method includes:
根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;determining the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;In the case that the first object feature satisfies the area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from a plurality of the preset detection areas;
根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。Determine the second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area .
可选地,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:Optionally, the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected; the region switching conditions include the following: Any of the conditions:
所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
可选地,所述方法还包括:Optionally, the method further includes:
在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所述第一物体特征作为所述第二物体特征。In the case that the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
可选地,所述预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,所述大视场角探测区域对应的所述目标像素点包括所述第一像素点,所述小视场角探测区域对应的所述目标像素点包括所述第二像素点,所述全透镜探测区域包括所述大视场角探测区域和所述小视场角探测区域。Optionally, the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, and the target pixel corresponding to the large field of view detection area includes the first pixel. The target pixel point corresponding to the small field of view detection area includes the second pixel point, and the all-lens detection area includes the large field of view detection area and the small field of view detection area.
可选地,所述全透镜探测区域对应的所述目标像素点的数量大于所述小视场角探测区域,所述小视场角探测区域对应的所述目标像素点数量大于所述大视场角探测区域。Optionally, the number of the target pixels corresponding to the all-lens detection area is greater than the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area is greater than the large field of view. detection area.
根据本公开实施例的第二方面,提供一种物体探测装置,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an object detection apparatus, which is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, The angle of view of the first microlens is greater than the angle of view of the second microlens, and the device includes:
处理模块,用于根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;a processing module, configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
确定模块,用于在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;a determination module, configured to determine a target detection area other than the current detection area from a plurality of the preset detection areas when the first object feature satisfies the area switching condition corresponding to the current detection area;
所述处理模块,还用于根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。The processing module is further configured to determine a second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is the target corresponding to the target detection area The pixel point information collected by the pixel point.
可选地,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:Optionally, the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected; the region switching conditions include the following: Any of the conditions:
所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
可选地,所述处理模块,还用于在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所述第一物体特征作为所述第二物体特征。Optionally, the processing module is further configured to use the first object feature as the second object feature when the first object feature does not satisfy the region switching condition corresponding to the current detection region.
可选地,所述预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探 测区域,所述大视场角探测区域对应的所述目标像素点包括所述第一像素点,所述小视场角探测区域对应的所述目标像素点包括所述第二像素点,所述全透镜探测区域包括所述大视场角探测区域和所述小视场角探测区域。Optionally, the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, and the target pixel corresponding to the large field of view detection area includes the first pixel. The target pixel point corresponding to the small field of view detection area includes the second pixel point, and the all-lens detection area includes the large field of view detection area and the small field of view detection area.
可选地,所述全透镜探测区域对应的所述目标像素点的数量大于所述小视场角探测区域,所述小视场角探测区域对应的所述目标像素点数量大于所述大视场角探测区域。Optionally, the number of the target pixels corresponding to the all-lens detection area is greater than the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area is greater than the large field of view. detection area.
根据本公开实施例的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面提供的物体探测方法的步骤。According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the object detection method provided in the first aspect.
根据本公开实施例的第四方面,提供一种电子设备,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising:
存储器,其上存储有计算机程序;a memory on which a computer program is stored;
处理器,用于执行所述存储器中的所述计算机程序,以实现第一方面提供的物体探测方法的步骤。A processor, configured to execute the computer program in the memory, to implement the steps of the object detection method provided by the first aspect.
通过上述技术方案,本公开首先通过根据多个预设探测区域中当前探测区域对应的目标像素点采集到的第一像素信息,确定待探测物体的第一物体特征,其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同,目标像素点包括第一像素点,和/或第二像素点,然后在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域,并根据目标探测区域对应的目标像素点采集到的第二像素信息,确定待探测物体的第二物体特征。本公开通过第一微透镜和第二微透镜,划分对应不同数量的目标像素点的多个预设探测区域,并通过目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,能够在低功耗条件下实现对待探测物体的准确探测,同时物体探测设备的结构简单,降低了物体探测设备的成本、重量和体积。并且,可以对当前探测区域进行切换,选择合适的目标探测区域进行物体探测,以在确保物体探测精度的同时,降低物体探测的功耗。Through the above technical solutions, the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area is The area is an area composed of target pixels on the image sensor. The target pixels corresponding to each preset detection area are different. The target pixels include the first pixel and/or the second pixel. Under the condition that the area switching condition corresponding to the current detection area is satisfied, a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined. The present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced. In addition, the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.
附图说明Description of drawings
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:
图1是根据一示例性实施例示出的一种物体探测方法的流程图;FIG. 1 is a flowchart of an object detection method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种第一微透镜和第二微透镜的视场角的示意图;FIG. 2 is a schematic diagram of the field of view of a first microlens and a second microlens according to an exemplary embodiment;
图3是根据一示例性实施例示出的另一种物体探测方法的流程图;FIG. 3 is a flowchart illustrating another object detection method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种第一微透镜和第二微透镜的分布示意图;FIG. 4 is a schematic diagram showing the distribution of a first microlens and a second microlens according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种物体探测装置的框图;FIG. 5 is a block diagram of an object detection apparatus according to an exemplary embodiment;
图6是根据一示例性实施例提供的一种电子设备的框图。Fig. 6 is a block diagram of an electronic device provided according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
在介绍本公开提供的物体探测方法、装置、存储介质和电子设备之前,首先对本公开各个实施例所涉及应用场景进行介绍。该应用场景为利用物体探测设备对周围环境中的待探测物体进行探测。其中,物体探测设备可以设置在终端设备上,物体探测设备可以包括镜头和图像传感器。图像传感器位于该镜头的像侧表面对应的一侧,并且具有朝向像侧表面的成像表面,成像表面由多个像素点组成,镜头与图像传感器之间可以完全贴合在一起,也可以间隔一定的距离。镜头可以是平面镜头或曲面镜头,图像传感器可以为CMOS(英文:Complementary Metal-Oxide-Semiconductor,中文:互补金属氧化物半导体)传感器,也可以为CCD(英文:Charge-coupled Device,中文:电荷耦合元件),还可以是其他任意的感光传感器,本公开对此不作具体限制。该终端设备例如可以是智能机器人、智能手机、平板电脑、智能手表和智能手环等终端设备。Before introducing the object detection method, apparatus, storage medium, and electronic device provided by the present disclosure, the application scenarios involved in the various embodiments of the present disclosure are first introduced. The application scenario is to use object detection equipment to detect objects to be detected in the surrounding environment. Wherein, the object detection device may be provided on the terminal device, and the object detection device may include a lens and an image sensor. The image sensor is located on the side corresponding to the image-side surface of the lens, and has an imaging surface facing the image-side surface. The imaging surface is composed of multiple pixels. The lens and the image sensor can be completely fitted together, or they can be separated by a certain interval. the distance. The lens can be a flat lens or a curved lens, and the image sensor can be a CMOS (English: Complementary Metal-Oxide-Semiconductor, Chinese: Complementary Metal Oxide Semiconductor) sensor, or a CCD (English: Charge-coupled Device, Chinese: Charge Coupled Device) element), or any other photosensitive sensor, which is not specifically limited in the present disclosure. The terminal device may be, for example, a terminal device such as a smart robot, a smart phone, a tablet computer, a smart watch, and a smart bracelet.
图1是根据一示例性实施例示出的一种物体探测方法的流程图。如图1所示,应用于物体探测设备,该设备包括镜头和图像传感器,该镜头包括多个第一微透镜和多个第二微透镜,第一微透镜的视场角大于第二微透镜的视场角,该方法可以包括以下步骤:Fig. 1 is a flow chart of an object detection method according to an exemplary embodiment. As shown in FIG. 1, applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the field angle of the first microlens is larger than that of the second microlens the field of view, the method may include the following steps:
步骤101,根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征。Step 101: Determine a first object feature of an object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas.
其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同,目标像素点包括第一像素点,和/或第二像素点,第一像素点为多个第一微透镜在图像传感器上的投影区域包括的像素点,第二像素点为多个第二微透镜在图像传感器上的投影区域包括的像素点,第一像素信息为当前探测区域对应 的目标像素点采集到的像素点信息。Wherein, each preset detection area is an area composed of target pixels on the image sensor, the target pixels corresponding to each preset detection area are different, and the target pixels include first pixels and/or second pixels , the first pixel is the pixel included in the projection area of the plurality of first microlenses on the image sensor, the second pixel is the pixel included in the projection area of the plurality of second microlenses on the image sensor, and the first pixel The information is the pixel point information collected by the target pixel point corresponding to the current detection area.
举例来说,为了避免采用超声、红外、激光雷达等传感装置进行物体探测存在的缺陷,可以通过镜头和图像传感器来构建一种新的传感装置来进行物体探测。具体的,首先可以将镜头划分成排列为网格式的多个第一微透镜和多个第二微透镜。例如,可以通过光刻的方式(或其他技术)在镜头上形成网格式的多个第一微透镜和多个第二微透镜,或者通过一层纳米膜在镜头上形成网格式的多个第一微透镜和多个第二微透镜。For example, in order to avoid the shortcomings of using ultrasonic, infrared, lidar and other sensing devices for object detection, a new sensing device can be constructed through lenses and image sensors for object detection. Specifically, first, the lens may be divided into a plurality of first microlenses and a plurality of second microlenses arranged in a grid format. For example, a plurality of first micro-lenses and a plurality of second micro-lenses in a mesh format can be formed on the lens by photolithography (or other techniques), or a plurality of first micro-lenses in a mesh format can be formed on the lens by a layer of nano-film a microlens and a plurality of second microlenses.
其中,每个第一微透镜对应图像传感器上的一个或多个第一像素点,每个第一微透镜对应的第一像素点为该第一微透镜在图像传感器上的投影区域包括的像素点。当某一第一微透镜捕获到待探测物体时,会在该第一微透镜对应的第一像素点上进行成像。每个第二微透镜对应图像传感器上的一个或多个第二像素点,每个第二微透镜对应的第二像素点为该第二微透镜在图像传感器上的投影区域包括的像素点。当某一第二微透镜捕获到待探测物体时,会在该第二微透镜对应的第二像素点上进行成像。第一微透镜的FOV(英文:Field of View,中文:视场角)大于第二微透镜的FOV,如图2所示,图2中的虚线为第一微透镜的FOV,图2中的实线为第二微透镜的FOV。Wherein, each first microlens corresponds to one or more first pixels on the image sensor, and the first pixels corresponding to each first microlens are the pixels included in the projection area of the first microlens on the image sensor point. When a certain first microlens captures the object to be detected, imaging is performed on the first pixel point corresponding to the first microlens. Each second microlens corresponds to one or more second pixels on the image sensor, and the second pixels corresponding to each second microlens are pixels included in the projection area of the second microlens on the image sensor. When a second microlens captures the object to be detected, it will image on the second pixel point corresponding to the second microlens. The FOV (English: Field of View, Chinese: Field of View) of the first microlens is greater than the FOV of the second microlens, as shown in FIG. 2 , the dotted line in FIG. 2 is the FOV of the first microlens, and the The solid line is the FOV of the second microlens.
然后,可以根据像素点的类型(第一像素点或第二像素点),将图像传感器的成像表面划分为多个预设探测区域,每个预设探测区域可以是由目标像素点组成的区域。每个预设探测区域对应的目标像素点不同,且目标像素点的数量不同,目标像素点可以包括第一像素点,和/或第二像素点,即预设探测区域对应的目标像素点可以只包括第一像素点,也可以只包括第二像素点,还可以同时包括第一像素点和第二像素点。物体探测设备在对待探测物体进行探测时,可以从多个预设探测区域中选取某一预设探测区域作为当前探测区域,并通过当前探测区域对应的目标像素点采集到的第一像素信息,计算待探测物体的第一物体特征。第一像素信息可以包括当前探测区域对应的每个目标像素点的像素值,第一物体特征可以包括待探测物体与物体探测设备的第一距离,以及待探测物体的第一尺寸和第一移动速度。其中,根据第一像素信息计算第一物体特征的具体实现方式可以参考相关技术中描述的方式,此处不再详细赘述。Then, the imaging surface of the image sensor can be divided into a plurality of preset detection areas according to the type of pixel points (first pixel point or second pixel point), and each preset detection area can be an area composed of target pixel points . The target pixels corresponding to each preset detection area are different, and the number of target pixels is different. The target pixels may include the first pixel and/or the second pixel, that is, the target pixel corresponding to the preset detection area may Only the first pixel is included, only the second pixel may be included, or both the first pixel and the second pixel may be included. When the object detection device detects the object to be detected, a preset detection area may be selected from a plurality of preset detection areas as the current detection area, and the first pixel information collected by the target pixel points corresponding to the current detection area, Calculate the first object feature of the object to be detected. The first pixel information may include the pixel value of each target pixel corresponding to the current detection area, and the first object feature may include the first distance between the object to be detected and the object detection device, and the first size and first movement of the object to be detected. speed. Wherein, for a specific implementation manner of calculating the first object feature according to the first pixel information, reference may be made to the manner described in the related art, which will not be described in detail here.
步骤102,在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域。 Step 102 , in the case that the first object feature satisfies the area switching condition corresponding to the current detection area, determine a target detection area other than the current detection area from a plurality of preset detection areas.
示例地,在通过不同预设探测区域对应的目标像素点对待探测物体进行探测时,所使用的目标像素点的数量不同,目标像素点采集到的像素点信息的数据量不同,这会导 致通过不同预设探测区域对应的目标像素点对待探测物体进行探测的解析力和功耗不同。其中,预设探测区域对应的目标像素点的数量越多,对待探测物体进行探测的解析力越高,同时对待探测物体进行探测的功耗越大。解析力可以反映对待探测物体进行探测的性能,解析力越高,对待探测物体进行探测的性能越好,即对待探测物体进行探测的精度越高。For example, when the object to be detected is detected by the target pixels corresponding to different preset detection areas, the number of target pixels used is different, and the data amount of pixel information collected by the target pixels is different, which will lead to Target pixels corresponding to different preset detection areas have different resolution and power consumption for detecting the object to be detected. Wherein, the greater the number of target pixel points corresponding to the preset detection area, the higher the resolving power of detecting the object to be detected, and the higher the power consumption of detecting the object to be detected at the same time. The resolving power can reflect the performance of detecting the object to be detected. The higher the resolving power, the better the performance of detecting the object to be detected, that is, the higher the detection accuracy of the object to be detected.
因此,可以预先设置每个预设探测区域对应的区域切换条件,以便物体探测设备在通过每个预设探测区域对应的目标像素点对待探测物体进行探测时,可以判断该预设探测区域对待探测物体进行探测的解析力是否不足或解析力是否过剩。每个预设探测区域对应的区域切换条件,可以是根据该预设探测区域所能探测的待探测物体与物体探测设备的距离范围,以及待探测物体的尺寸范围和移动速度范围设置的。在第一物体特征满足当前探测区域对应的区域切换条件的情况下,说明通过当前探测区域对应的目标像素点对待探测物体进行探测的解析力不足或解析力过剩,需要对当前探测区域进行切换。当确定当前探测区域对应的目标像素点对待探测物体进行探测的解析力不足时,可以从多个预设探测区域中选择解析力更高的预设探测区域作为目标探测区域(即选择目标像素点数量更多的预设探测区域),来对待探测物体进行探测。当确定当前探测区域对应的目标像素点对待探测物体进行探测的解析力过剩时,可以从多个预设探测区域中选择解析力更小的预设探测区域作为目标探测区域,来对待探测物体进行探测,即选择目标像素点数量更少的预设探测区域,来对待探测物体进行探测,从而降低对待探测物体进行探测的功耗。通过将当前探测区域切换为目标探测区域,可以在确保物体探测性能(探测精度)的同时,降低物体探测的功耗,从而满足不同场景需要。Therefore, the area switching conditions corresponding to each preset detection area can be preset, so that when the object detection device detects the object to be detected through the target pixel point corresponding to each preset detection area, it can determine that the preset detection area is to be detected. Whether the resolving power of the object for detection is insufficient or the resolving power is excessive. The area switching condition corresponding to each preset detection area may be set according to the distance range between the object to be detected and the object detection device that can be detected by the preset detection area, as well as the size range and moving speed range of the object to be detected. When the first object feature satisfies the area switching condition corresponding to the current detection area, it means that the resolution power to detect the object to be detected by the target pixel point corresponding to the current detection area is insufficient or excessive, and the current detection area needs to be switched. When it is determined that the resolution of the target pixel corresponding to the current detection area to detect the object to be detected is insufficient, a preset detection area with a higher resolution may be selected from a plurality of preset detection areas as the target detection area (that is, select the target pixel point more preset detection areas) to detect objects to be detected. When it is determined that the resolution power of the target pixel corresponding to the current detection area to detect the object to be detected is excessive, a preset detection area with a smaller resolution can be selected from a plurality of preset detection areas as the target detection area to perform the detection of the object to be detected. Detection, that is, selecting a preset detection area with a smaller number of target pixels to detect the object to be detected, thereby reducing the power consumption of detecting the object to be detected. By switching the current detection area to the target detection area, the power consumption of object detection can be reduced while ensuring the object detection performance (detection accuracy), so as to meet the needs of different scenarios.
步骤103,根据目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,第二像素信息为目标探测区域对应的目标像素点采集到的像素点信息。Step 103: Determine the second object feature of the object to be detected according to the second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area.
在本步骤中,可以根据目标探测区域对应的目标像素点采集到的第二像素信息,计算待探测物体的第二物体特征。第二物体特征可以包括待探测物体与物体探测设备的第二距离,以及待探测物体的第二尺寸和第二移动速度。其中,根据第二像素信息计算第二物体特征的具体实现方式可以参考相关技术中描述的方式,此处不再详细赘述。In this step, the second object feature of the object to be detected may be calculated according to the second pixel information collected from the target pixel point corresponding to the target detection area. The second object characteristic may include a second distance of the object to be detected from the object detection device, and a second size and a second moving speed of the object to be detected. For a specific implementation manner of calculating the second object feature according to the second pixel information, reference may be made to the manner described in the related art, which will not be described in detail here.
综上所述,本公开首先通过根据多个预设探测区域中当前探测区域对应的目标像素点采集到的第一像素信息,确定待探测物体的第一物体特征,其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同, 目标像素点包括第一像素点,和/或第二像素点,然后在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域,并根据目标探测区域对应的目标像素点采集到的第二像素信息,确定待探测物体的第二物体特征。本公开通过第一微透镜和第二微透镜,划分对应不同数量的目标像素点的多个预设探测区域,并通过目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,能够在低功耗条件下实现对待探测物体的准确探测,同时物体探测设备的结构简单,降低了物体探测设备的成本、重量和体积。并且,可以对当前探测区域进行切换,选择合适的目标探测区域进行物体探测,以在确保物体探测精度的同时,降低物体探测的功耗。To sum up, the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area The area is an area composed of target pixels on the image sensor. The target pixels corresponding to each preset detection area are different. The target pixels include the first pixel and/or the second pixel. Under the condition that the area switching condition corresponding to the current detection area is satisfied, a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined. The present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced. In addition, the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
图3是根据一示例性实施例示出的另一种物体探测方法的流程图。如图3所示,该方法还包括以下步骤:Fig. 3 is a flowchart showing another object detection method according to an exemplary embodiment. As shown in Figure 3, the method further includes the following steps:
步骤104,在第一物体特征不满足当前探测区域对应的区域切换条件的情况下,将第一物体特征作为第二物体特征。 Step 104 , in the case that the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
举例来说,在第一物体特征不满足当前探测区域对应的区域切换条件的情况下,说明通过当前探测区域对应的目标像素点对待探测物体进行探测的解析力满足要求,且解析力没有过剩,不需要对当前探测区域进行切换。可以直接将第一物体特征作为第二物体特征。For example, in the case that the first object feature does not meet the area switching condition corresponding to the current detection area, it means that the resolution power of detecting the object to be detected through the target pixel point corresponding to the current detection area meets the requirements, and the resolution power is not excessive, There is no need to switch the current detection area. The first object feature can be directly used as the second object feature.
可选地,第一物体特征包括待探测物体与物体探测设备的第一距离,以及待探测物体的第一尺寸和第一移动速度,区域切换条件可以包括以下条件中的任一条件:Optionally, the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected, and the area switching condition may include any of the following conditions:
1)第一尺寸小于当前探测区域对应的第一尺寸阈值,或第一尺寸大于或等于当前探测区域对应的第二尺寸阈值,第二尺寸阈值大于第一尺寸阈值。1) The first size is smaller than the first size threshold corresponding to the current detection area, or the first size is greater than or equal to the second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold.
2)第一距离大于当前探测区域对应的第一距离阈值,或第一距离小于或等于当前探测区域对应的第二距离阈值,第二距离阈值小于第一距离阈值。2) The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold.
3)第一移动速度小于当前探测区域对应的第一速度阈值,或第一移动速度大于或等于当前探测区域对应的第二速度阈值,第二速度阈值大于所述第一速度阈值。3) The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
示例地,第一尺寸阈值为当前探测区域所能探测的待探测物体的最小尺寸,第一距离阈值为当前探测区域所能探测的待探测物体与物体探测设备的最大距离,第一速度阈值为当前探测区域所能探测的待探测物体的最小速度。当第一尺寸小于当前探测区域对应的第一尺寸阈值,第一距离大于当前探测区域对应的第一距离阈值,第一移动速度小 于当前探测区域对应的第一速度阈值中的任一条件满足时,说明当前探测区域对应的目标像素点对待探测物体进行探测的解析力不足,需要对当前探测区域进行切换。For example, the first size threshold is the minimum size of the object to be detected that can be detected in the current detection area, the first distance threshold is the maximum distance between the object to be detected and the object detection device that can be detected in the current detection area, and the first speed threshold is The minimum speed of the object to be detected that can be detected in the current detection area. When the first size is smaller than the first size threshold corresponding to the current detection area, the first distance is greater than the first distance threshold corresponding to the current detection area, and the first moving speed is smaller than the first speed threshold corresponding to the current detection area. , indicating that the target pixel corresponding to the current detection area has insufficient resolving power to detect the object to be detected, and the current detection area needs to be switched.
第二尺寸阈值为当前探测区域所能探测的待探测物体的最大尺寸,第二距离阈值为当前探测区域所能探测的待探测物体与物体探测设备的最小距离,第二速度阈值为当前探测区域所能探测的待探测物体的最大速度。当第一尺寸大于或等于当前探测区域对应的第二尺寸阈值,第一距离小于或等于当前探测区域对应的第二距离阈值,第一移动速度大于或等于当前探测区域对应的第二速度阈值中的任一条件满足时,说明当前探测区域对应的目标像素点对待探测物体进行探测的解析力过剩,需要对当前探测区域进行切换。The second size threshold is the maximum size of the object to be detected that can be detected in the current detection area, the second distance threshold is the minimum distance between the object to be detected and the object detection device that can be detected in the current detection area, and the second speed threshold is the current detection area. The maximum speed of the object to be detected that can be detected. When the first size is greater than or equal to the second size threshold corresponding to the current detection area, the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area. When any of the conditions are satisfied, it means that the target pixel corresponding to the current detection area has excess resolving power to detect the object to be detected, and the current detection area needs to be switched.
进一步的,第一微透镜和第二微透镜的形状和尺寸可以相同,也可以不同。Further, the shape and size of the first microlens and the second microlens may be the same or different.
在一种场景中,可以将镜头按预设排列方式划分成排列为网格式的、形状和尺寸相同的多个第一微透镜和多个第二微透镜。预设排列方式例如可以是将第一微透镜和第二微透镜按照一定比例平均分布在镜头上,以第一微透镜与第二微透镜按照1:8平均分布在镜头上为例,第一微透镜与第二微透镜在镜头上的分布方式可以如图4所示,图4中的最小的方格对应一个像素点,图4中的由阴影填充的九宫格为第一微透镜,图4中的由虚线围成的九宫格为第二微透镜。In one scenario, the lens may be divided into a plurality of first microlenses and a plurality of second microlenses which are arranged in a grid format and have the same shape and size according to a preset arrangement. The preset arrangement can be, for example, that the first microlenses and the second microlenses are evenly distributed on the lens according to a certain ratio. The distribution of the micro-lens and the second micro-lens on the lens can be shown in Figure 4. The smallest square in Figure 4 corresponds to one pixel. The nine-square grid filled with shadows in Figure 4 is the first micro-lens. Figure 4 The nine-square grid surrounded by dotted lines is the second microlens.
可选地,预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,大视场角探测区域对应的目标像素点包括第一像素点,小视场角探测区域对应的目标像素点包括第二像素点,全透镜探测区域包括大视场角探测区域和小视场角探测区域。Optionally, the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, the target pixel point corresponding to the large field of view detection area includes the first pixel point, and the small field of view detection area corresponds to The target pixel point includes the second pixel point, and the full-lens detection area includes a detection area with a large field of view and a detection area with a small field of view.
在另一种场景中,若在镜头上包括的第一微透镜的数量大于第二微透镜的数量,则全透镜探测区域对应的目标像素点的数量大于小视场角探测区域,小视场角探测区域对应的目标像素点数量大于大视场角探测区域。那么大视场角探测区域,小视场角探测区域和全透镜探测区域的解析力的大小关系为:全透镜探测区域>小视场角探测区域>大视场角探测区域,功耗的大小关系为:全透镜探测区域<小视场角探测区域<大视场角探测区域。In another scenario, if the number of the first microlenses included on the lens is greater than the number of the second microlenses, the number of target pixels corresponding to the full-lens detection area is greater than the small field of view detection area, and the small field of view detects The number of target pixels corresponding to the area is larger than the detection area with a large field of view. Then the relationship between the resolution power of the detection area with large field of view, the detection area with small field of view and the full-lens detection area is: full-lens detection area > detection area with small field of view > detection area with large field of view, and the power consumption relationship is: : full-lens detection area < small field of view detection area < large field of view detection area.
以预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,且在镜头上第一微透镜的数量大于第二微透镜的数量为例进行说明,在物体探测设备启动后,可以由用户手动从大视场角探测区域,小视场角探测区域和全透镜探测区域中选择一个预设探测区域作为当前探测区域,来对待探测物体进行探测。也可以采用自动选择 的方式,例如,首先可以默认选取大视场角探测区域,再通过大视场角探测区域对应的目标像素点采集到的第一像素信息,计算待探测物体的第一物体特征,并判断第一物体特征是否满足大视场角探测区域对应的区域切换条件。若判断第一尺寸小于大视场角探测区域对应的第一尺寸阈值,第一距离大于大视场角探测区域对应的第一距离阈值,第一移动速度小于大视场角探测区域对应的第一速度阈值中的任一条件满足(此时大视场角探测区域对应的目标像素点对待探测物体进行探测的解析力不足,表象为相邻的目标像素点的像素值差别较大或像素值变化过慢),将大视场角探测区域切换为小视场角探测区域。The preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, and the number of first microlenses on the lens is greater than the number of second microlenses. After startup, the user can manually select a preset detection area from the detection area with a large field of view, a detection area with a small field of view, and a full-lens detection area as the current detection area to detect the object to be detected. The method of automatic selection can also be adopted. For example, the detection area with a large field of view can be selected by default, and then the first pixel information of the target pixel corresponding to the detection area with a large field of view can be used to calculate the first object of the object to be detected. feature, and determine whether the feature of the first object satisfies the region switching condition corresponding to the detection region with a large field of view. If it is determined that the first size is smaller than the first size threshold corresponding to the detection area with a large field of view, the first distance is greater than the first distance threshold corresponding to the detection area with a large field of view, and the first moving speed is smaller than the first distance corresponding to the detection area with a large field of view. Any one of the speed thresholds is satisfied (at this time, the resolution of the target pixel corresponding to the detection area with a large field of view is insufficient to detect the object to be detected, and the appearance is that the pixel value of the adjacent target pixel has a large difference or pixel value. change too slowly), switch the detection area with a large field of view to a detection area with a small field of view.
之后通过小视场角探测区域对应的目标像素点采集到的第一像素信息,重新计算待探测物体的第一物体特征,并判断重新计算的第一物体特征是否满足小视场角探测区域对应的区域切换条件。若判断重新计算的第一尺寸小于小视场角探测区域对应的第一尺寸阈值,重新计算的第一距离大于小视场角探测区域对应的第一距离阈值,重新计算的第一移动速度小于小视场角探测区域对应的第一速度阈值中的任一条件满足(此时小视场角探测区域对应的目标像素点对待探测物体进行探测的解析力不足,表象为相邻的目标像素点的像素值差别较大),将小视场角探测区域切换为全透镜探测区域。Then, through the first pixel information collected from the target pixel points corresponding to the detection area with small field of view, the first object feature of the object to be detected is recalculated, and it is judged whether the recalculated first object feature satisfies the area corresponding to the detection area with small field of view switch condition. If it is judged that the recalculated first size is smaller than the first size threshold corresponding to the small field of view detection area, the recalculated first distance is greater than the first distance threshold corresponding to the small field of view detection area, and the recalculated first moving speed is smaller than the small field of view Any one of the first speed thresholds corresponding to the angle detection area is satisfied (at this time, the target pixel corresponding to the small field of view detection area has insufficient resolving power to detect the object to be detected, and the appearance is that the pixel value difference between adjacent target pixel points larger), switch the detection area with small field of view to the full-lens detection area.
然后通过全透镜探测区域对应的目标像素点采集到的第一像素信息,重新计算待探测物体的第一物体特征,并判断重新计算的第一物体特征是否满足全透镜探测区域对应的区域切换条件。若判断重新计算的第一尺寸大于或等于当前探测区域对应的第二尺寸阈值,重新计算的第一距离小于或等于当前探测区域对应的第二距离阈值,重新计算的第一移动速度大于或等于当前探测区域对应的第二速度阈值中的任一条件满足(此时全透镜探测区域对应的目标像素点对待探测物体进行探测的解析力过剩,表象为相邻的目标像素点的像素值差别较小),将全透镜探测区域切换为小视场角探测区域。Then, the first object feature of the object to be detected is recalculated through the first pixel information collected from the target pixel point corresponding to the full-lens detection area, and it is judged whether the recalculated first object feature satisfies the area switching conditions corresponding to the full-lens detection area . If it is determined that the recalculated first size is greater than or equal to the second size threshold corresponding to the current detection area, the recalculated first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the recalculated first moving speed is greater than or equal to Any one of the second velocity thresholds corresponding to the current detection area satisfies (at this time, the target pixels corresponding to the full-lens detection area have excessive resolving power to detect the object to be detected, and the appearance is that the difference in pixel values of adjacent target pixels is relatively high. small), switch the full-lens detection area to the small field of view detection area.
综上所述,本公开首先通过根据多个预设探测区域中当前探测区域对应的目标像素点采集到的第一像素信息,确定待探测物体的第一物体特征,其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同,目标像素点包括第一像素点,和/或第二像素点,然后在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域,并根据目标探测区域对应的目标像素点采集到的第二像素信息,确定待探测物体的第二物体特征。本公开通过第一微透镜和第二微透镜,划分对应不同数量的目标像 素点的多个预设探测区域,并通过目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,能够在低功耗条件下实现对待探测物体的准确探测,同时物体探测设备的结构简单,降低了物体探测设备的成本、重量和体积。并且,可以对当前探测区域进行切换,选择合适的目标探测区域进行物体探测,以在确保物体探测精度的同时,降低物体探测的功耗。To sum up, the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area The area is an area composed of target pixels on the image sensor. The target pixels corresponding to each preset detection area are different. The target pixels include the first pixel and/or the second pixel. Under the condition that the area switching condition corresponding to the current detection area is satisfied, a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined. The present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected by using the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced. In addition, the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
图5是根据一示例性实施例示出的一种物体探测装置的框图。如图5所示,应用于物体探测设备,该设备包括镜头和图像传感器,该镜头包括多个第一微透镜和多个第二微透镜,第一微透镜的视场角大于第二微透镜的视场角,该装置200包括:Fig. 5 is a block diagram of an object detection apparatus according to an exemplary embodiment. As shown in FIG. 5 , applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the field angle of the first microlens is larger than that of the second microlens The field of view, the device 200 includes:
处理模块201,用于根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征。The processing module 201 is configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas.
其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同,目标像素点包括第一像素点,和/或第二像素点,第一像素点为多个第一微透镜在图像传感器上的投影区域包括的像素点,第二像素点为多个第二微透镜在图像传感器上的投影区域包括的像素点,第一像素信息为当前探测区域对应的目标像素点采集到的像素点信息。Wherein, each preset detection area is an area composed of target pixels on the image sensor, the target pixels corresponding to each preset detection area are different, and the target pixels include first pixels and/or second pixels , the first pixel is the pixel included in the projection area of the plurality of first microlenses on the image sensor, the second pixel is the pixel included in the projection area of the plurality of second microlenses on the image sensor, and the first pixel The information is the pixel point information collected by the target pixel point corresponding to the current detection area.
确定模块202,用于在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域。The determining module 202 is configured to determine a target detection area other than the current detection area from a plurality of preset detection areas under the condition that the first object feature satisfies the area switching condition corresponding to the current detection area.
处理模块201,还用于根据目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,第二像素信息为目标探测区域对应的目标像素点采集到的像素点信息。The processing module 201 is further configured to determine the second object feature of the object to be detected according to the second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area.
可选地,第一物体特征包括待探测物体与物体探测设备的第一距离,以及待探测物体的第一尺寸和第一移动速度。区域切换条件包括以下条件中的任一条件:Optionally, the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected. Region switching conditions include any of the following conditions:
1)第二尺寸小于当前探测区域对应的第一尺寸阈值,或第二尺寸大于或等于当前探测区域对应的第二尺寸阈值,第二尺寸阈值大于第一尺寸阈值。1) The second size is smaller than the first size threshold corresponding to the current detection area, or the second size is greater than or equal to the second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold.
2)第二距离大于当前探测区域对应的第一距离阈值,或第二距离小于或等于当前探测区域对应的第二距离阈值,第二距离阈值小于第一距离阈值。2) The second distance is greater than the first distance threshold corresponding to the current detection area, or the second distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold.
3)第二移动速度小于当前探测区域对应的第一速度阈值,或第二移动速度大于或等于当前探测区域对应的第二速度阈值,第二速度阈值大于第一速度阈值。3) The second moving speed is less than the first speed threshold corresponding to the current detection area, or the second moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
可选地,处理模块201,还用于在第一物体特征不满足当前探测区域对应的区域切换条件的情况下,将第一物体特征作为第二物体特征。Optionally, the processing module 201 is further configured to use the first object feature as the second object feature when the first object feature does not satisfy the region switching condition corresponding to the current detection region.
可选地,预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,大视场角探测区域对应的目标像素点包括第一像素点,小视场角探测区域对应的目标像素点包括第二像素点,全透镜探测区域包括大视场角探测区域和小视场角探测区域。Optionally, the preset detection area includes a large field of view detection area, a small field of view detection area and a full-lens detection area, the target pixel point corresponding to the large field of view detection area includes the first pixel point, and the small field of view detection area corresponds to The target pixel point includes the second pixel point, and the full-lens detection area includes a detection area with a large field of view and a detection area with a small field of view.
可选地,全透镜探测区域对应的目标像素点的数量大于小视场角探测区域,小视场角探测区域对应的目标像素点数量大于大视场角探测区域。Optionally, the number of target pixels corresponding to the full-lens detection area is larger than that of the small field of view detection area, and the number of target pixels corresponding to the small field of view detection area is larger than the large field of view detection area.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
综上所述,本公开首先通过根据多个预设探测区域中当前探测区域对应的目标像素点采集到的第一像素信息,确定待探测物体的第一物体特征,其中,每个预设探测区域为由图像传感器上的目标像素点组成的区域,每个预设探测区域对应的目标像素点不同,目标像素点包括第一像素点,和/或第二像素点,然后在第一物体特征满足当前探测区域对应的区域切换条件的情况下,从多个预设探测区域中确定除当前探测区域外的目标探测区域,并根据目标探测区域对应的目标像素点采集到的第二像素信息,确定待探测物体的第二物体特征。本公开通过第一微透镜和第二微透镜,划分对应不同数量的目标像素点的多个预设探测区域,并通过目标探测区域对应的第二像素信息,确定待探测物体的第二物体特征,能够在低功耗条件下实现对待探测物体的准确探测,同时物体探测设备的结构简单,降低了物体探测设备的成本、重量和体积。并且,可以对当前探测区域进行切换,选择合适的目标探测区域进行物体探测,以在确保物体探测精度的同时,降低物体探测的功耗。To sum up, the present disclosure first determines the first object feature of the object to be detected by first pixel information collected according to the target pixel point corresponding to the current detection area in the plurality of preset detection areas, wherein each preset detection area The area is an area composed of target pixels on the image sensor. The target pixels corresponding to each preset detection area are different. The target pixels include the first pixel and/or the second pixel. Under the condition that the area switching condition corresponding to the current detection area is satisfied, a target detection area other than the current detection area is determined from a plurality of preset detection areas, and the second pixel information is collected according to the target pixel points corresponding to the target detection area, A second object characteristic of the object to be detected is determined. The present disclosure divides a plurality of preset detection areas corresponding to different numbers of target pixel points through the first microlens and the second microlens, and determines the second object feature of the object to be detected through the second pixel information corresponding to the target detection area , can realize the accurate detection of the object to be detected under the condition of low power consumption, and at the same time, the structure of the object detection device is simple, and the cost, weight and volume of the object detection device are reduced. In addition, the current detection area can be switched, and an appropriate target detection area can be selected for object detection, so as to reduce the power consumption of object detection while ensuring the object detection accuracy.
图6是根据一示例性实施例示出的一种电子设备700的框图。如图6所示,该电子设备700可以包括:处理器701,存储器702。该电子设备700还可以包括多媒体组件703,输入/输出(I/O)接口704,以及通信组件705中的一者或多者。FIG. 6 is a block diagram of an electronic device 700 according to an exemplary embodiment. As shown in FIG. 6 , the electronic device 700 may include: a processor 701 and a memory 702 . The electronic device 700 may also include one or more of a multimedia component 703 , an input/output (I/O) interface 704 , and a communication component 705 .
其中,处理器701用于控制该电子设备700的整体操作,以完成上述的物体探测方法中的全部或部分步骤。存储器702用于存储各种类型的数据以支持在该电子设备700的操作,这些数据例如可以包括用于在该电子设备700上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器702可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM), 可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件703可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器702或通过通信组件705发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口704为处理器701和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件705用于该电子设备700与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G、4G、NB-IOT、eMTC、或其他5G等等,或它们中的一种或几种的组合,在此不做限定。因此相应的该通信组件705可以包括:Wi-Fi模块,蓝牙模块,NFC模块等等。Wherein, the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned object detection method. The memory 702 is used to store various types of data to support operations on the electronic device 700, such data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Read-Only Memory (PROM for short), read-only Memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 703 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in memory 702 or transmitted through communication component 705 . The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or more of them The combination is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module and so on.
在一示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的物体探测方法。In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic components Implementation is used to implement the above object detection method.
在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的物体探测方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器702,上述程序指令可由电子设备700的处理器701执行以完成上述的物体探测方法。In another exemplary embodiment, there is also provided a computer-readable storage medium comprising program instructions, the program instructions implementing the steps of the above-mentioned object detection method when executed by a processor. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to implement the above-mentioned object detection method.
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above-mentioned embodiments. Within the scope of the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure. These simple modifications all fall within the protection scope of the present disclosure.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that, the specific technical features described in the above-mentioned specific embodiments can be combined in any suitable manner unless they are inconsistent. In order to avoid unnecessary repetition, the present disclosure provides The combination method will not be specified otherwise.
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公 开的思想,其同样应当视为本公开所公开的内容。In addition, the various embodiments of the present disclosure can also be arbitrarily combined, as long as they do not violate the spirit of the present disclosure, they should also be regarded as the contents disclosed in the present disclosure.
实施例Example
1、一种物体探测方法,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述方法包括:1. An object detection method, applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, the field of view of the first microlens The angle is greater than the field angle of the second microlens, and the method includes:
根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;determining the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;In the case that the first object feature satisfies the area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from a plurality of the preset detection areas;
根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。Determine the second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area .
2、根据实施例1所述的方法,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:2. The method according to Embodiment 1, wherein the first object feature includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected; The area switching condition includes any one of the following conditions:
所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
3、根据实施例1所述的方法,所述方法还包括:3. The method according to Embodiment 1, further comprising:
在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所 述第一物体特征作为所述第二物体特征。In the case that the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
4、根据实施例1至实施例3中任一实施例所述的方法,所述预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,所述大视场角探测区域对应的所述目标像素点包括所述第一像素点,所述小视场角探测区域对应的所述目标像素点包括所述第二像素点,所述全透镜探测区域包括所述大视场角探测区域和所述小视场角探测区域。4. The method according to any one of Embodiments 1 to 3, wherein the preset detection area includes a detection area with a large field of view, a detection area with a small field of view, and a full-lens detection area, and the large field of view The target pixel point corresponding to the angle detection area includes the first pixel point, the target pixel point corresponding to the small field-of-view detection area includes the second pixel point, and the full-lens detection area includes the large angle detection area. A viewing angle detection area and the small viewing angle detection area.
5、根据实施例4所述的方法,所述全透镜探测区域对应的所述目标像素点的数量大于所述小视场角探测区域,所述小视场角探测区域对应的所述目标像素点数量大于所述大视场角探测区域。5. According to the method according to Embodiment 4, the number of the target pixels corresponding to the all-lens detection area is greater than that of the small field of view detection area, and the number of the target pixels corresponding to the small field of view detection area larger than the detection area of the large field of view.
6、一种物体探测装置,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述装置包括:6. An object detection device, applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, the field of view of the first microlens The angle is greater than the field angle of the second microlens, and the device includes:
处理模块,用于根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;a processing module, configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are pixels included in the projection areas of the first microlenses on the image sensor, and the second pixel points are a plurality of pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
确定模块,用于在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;a determination module, configured to determine a target detection area other than the current detection area from a plurality of the preset detection areas when the first object feature satisfies the area switching condition corresponding to the current detection area;
所述处理模块,还用于根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。The processing module is further configured to determine a second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is the target corresponding to the target detection area The pixel point information collected by the pixel point.
7、根据实施例6所述的装置,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:7. The apparatus according to Embodiment 6, wherein the first object characteristic includes a first distance between the object to be detected and the object detection device, and a first size and a first moving speed of the object to be detected; The area switching condition includes any one of the following conditions:
所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或 等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
8、根据实施例6所述的装置,所述处理模块,还用于在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所述第一物体特征作为所述第二物体特征。8. The apparatus according to Embodiment 6, wherein the processing module is further configured to use the first object feature as the second object feature.
9、一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现实施例1至实施例5中任一实施例所述方法的步骤。9. A computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in any one of Embodiments 1 to 5.
10、一种电子设备,包括:10. An electronic device comprising:
存储器,其上存储有计算机程序;a memory on which a computer program is stored;
处理器,用于执行所述存储器中的所述计算机程序,以实现实施例1至实施例5中任一实施例所述方法的步骤。A processor, configured to execute the computer program in the memory, to implement the steps of the method in any one of Embodiments 1 to 5.

Claims (10)

  1. 一种物体探测方法,其特征在于,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述方法包括:An object detection method, characterized in that it is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the first microlens has a The angle of view is greater than the angle of view of the second microlens, and the method includes:
    根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;determining the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
    其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are the pixel points included in the projection area of the first microlenses on the image sensor, and the second pixel points are a plurality of all the pixel points. The pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
    在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;In the case that the first object feature satisfies the area switching condition corresponding to the current detection area, determining a target detection area other than the current detection area from a plurality of the preset detection areas;
    根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。Determine the second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is pixel point information collected from the target pixel point corresponding to the target detection area .
  2. 根据权利要求1所述的方法,其特征在于,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:The method of claim 1, wherein the first object characteristic includes a first distance between the object to be detected and the object detection device, and a first size and a first movement of the object to be detected Speed; the zone switching condition includes any of the following conditions:
    所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
    所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
    所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所述第一物体特征作为所述第二物体特征。In the case that the first object feature does not satisfy the region switching condition corresponding to the current detection region, the first object feature is used as the second object feature.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述预设探测区域包括大视场角探测区域,小视场角探测区域和全透镜探测区域,所述大视场角探测区域对应的所述目标像素点包括所述第一像素点,所述小视场角探测区域对应的所述目标像素点包括所述第二像素点,所述全透镜探测区域包括所述大视场角探测区域和所述小视场角探测区域。The method according to any one of claims 1-3, wherein the preset detection area includes a large field of view detection area, a small field of view detection area and an all-lens detection area, and the large field of view detection area The target pixel point corresponding to the detection area includes the first pixel point, the target pixel point corresponding to the small field-of-view detection area includes the second pixel point, and the full-lens detection area includes the large viewing area. The field angle detection area and the small field angle detection area.
  5. 根据权利要求4所述的方法,其特征在于,所述全透镜探测区域对应的所述目标像素点的数量大于所述小视场角探测区域,所述小视场角探测区域对应的所述目标像素点数量大于所述大视场角探测区域。The method according to claim 4, wherein the number of the target pixels corresponding to the all-lens detection area is greater than that of the small field of view detection area, and the target pixels corresponding to the small field of view detection area The number of points is larger than the detection area of the large field of view.
  6. 一种物体探测装置,其特征在于,应用于物体探测设备,所述设备包括镜头和图像传感器,所述镜头包括多个第一微透镜和多个第二微透镜,所述第一微透镜的视场角大于所述第二微透镜的视场角,所述装置包括:An object detection device is characterized in that it is applied to an object detection device, the device includes a lens and an image sensor, the lens includes a plurality of first microlenses and a plurality of second microlenses, and the first microlens has a The angle of view is greater than the angle of view of the second microlens, and the device includes:
    处理模块,用于根据多个预设探测区域中当前探测区域对应的第一像素信息,确定待探测物体的第一物体特征;a processing module, configured to determine the first object feature of the object to be detected according to the first pixel information corresponding to the current detection area in the plurality of preset detection areas;
    其中,每个所述预设探测区域为由所述图像传感器上的目标像素点组成的区域,每个所述预设探测区域对应的所述目标像素点不同,所述目标像素点包括第一像素点,和/或第二像素点,所述第一像素点为多个所述第一微透镜在所述图像传感器上的投影区域包括的像素点,所述第二像素点为多个所述第二微透镜在所述图像传感器上的投影区域包括的像素点,所述第一像素信息为所述当前探测区域对应的所述目标像素点采集到的像素点信息;Wherein, each of the preset detection areas is an area composed of target pixels on the image sensor, the target pixels corresponding to each of the preset detection areas are different, and the target pixels include the first Pixel points, and/or second pixel points, the first pixel points are the pixel points included in the projection area of the first microlenses on the image sensor, and the second pixel points are a plurality of all the pixel points. The pixel points included in the projection area of the second microlens on the image sensor, and the first pixel information is the pixel point information collected by the target pixel point corresponding to the current detection area;
    确定模块,用于在所述第一物体特征满足所述当前探测区域对应的区域切换条件的情况下,从多个所述预设探测区域中确定除所述当前探测区域外的目标探测区域;a determination module, configured to determine a target detection area other than the current detection area from a plurality of the preset detection areas when the first object feature satisfies the area switching condition corresponding to the current detection area;
    所述处理模块,还用于根据所述目标探测区域对应的第二像素信息,确定所述待探测物体的第二物体特征,所述第二像素信息为所述目标探测区域对应的所述目标像素点采集到的像素点信息。The processing module is further configured to determine a second object feature of the object to be detected according to second pixel information corresponding to the target detection area, where the second pixel information is the target corresponding to the target detection area The pixel point information collected by the pixel point.
  7. 根据权利要求6所述的装置,其特征在于,所述第一物体特征包括所述待探测物体与所述物体探测设备的第一距离,以及所述待探测物体的第一尺寸和第一移动速度;所述区域切换条件包括以下条件中的任一条件:The apparatus according to claim 6, wherein the first object characteristic includes a first distance between the object to be detected and the object detection device, and a first size and a first movement of the object to be detected Speed; the zone switching condition includes any of the following conditions:
    所述第一尺寸小于所述当前探测区域对应的第一尺寸阈值,或所述第一尺寸大于或等于所述当前探测区域对应的第二尺寸阈值,所述第二尺寸阈值大于所述第一尺寸阈值;The first size is smaller than a first size threshold corresponding to the current detection area, or the first size is greater than or equal to a second size threshold corresponding to the current detection area, and the second size threshold is greater than the first size threshold size threshold;
    所述第一距离大于所述当前探测区域对应的第一距离阈值,或所述第一距离小于或等于所述当前探测区域对应的第二距离阈值,所述第二距离阈值小于所述第一距离阈值;The first distance is greater than the first distance threshold corresponding to the current detection area, or the first distance is less than or equal to the second distance threshold corresponding to the current detection area, and the second distance threshold is smaller than the first distance threshold distance threshold;
    所述第一移动速度小于所述当前探测区域对应的第一速度阈值,或所述第一移动速度大于或等于所述当前探测区域对应的第二速度阈值,所述第二速度阈值大于所述第一速度阈值。The first moving speed is less than the first speed threshold corresponding to the current detection area, or the first moving speed is greater than or equal to the second speed threshold corresponding to the current detection area, and the second speed threshold is greater than the first speed threshold.
  8. 根据权利要求6所述的装置,其特征在于,所述处理模块,还用于在所述第一物体特征不满足所述当前探测区域对应的区域切换条件的情况下,将所述第一物体特征作为所述第二物体特征。The device according to claim 6, wherein the processing module is further configured to convert the first object into feature as the second object feature.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-5中任一项所述方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of the method according to any one of claims 1-5 are implemented.
  10. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储器,其上存储有计算机程序;a memory on which a computer program is stored;
    处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求1-5中任一项所述方法的步骤。A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-5.
PCT/CN2021/122451 2020-12-02 2021-09-30 Object detection method and apparatus, storage medium, and electronic device WO2022116675A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011406181.XA CN112584015B (en) 2020-12-02 2020-12-02 Object detection method, device, storage medium and electronic equipment
CN202011406181.X 2020-12-02

Publications (1)

Publication Number Publication Date
WO2022116675A1 true WO2022116675A1 (en) 2022-06-09

Family

ID=75127215

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/122451 WO2022116675A1 (en) 2020-12-02 2021-09-30 Object detection method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN112584015B (en)
WO (1) WO2022116675A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112600994B (en) * 2020-12-02 2023-04-07 达闼机器人股份有限公司 Object detection device, method, storage medium, and electronic apparatus
CN112584015B (en) * 2020-12-02 2022-05-17 达闼机器人股份有限公司 Object detection method, device, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937236A (en) * 2005-09-19 2007-03-28 C.R.F.阿西安尼顾问公司 Multifunctional optical sensor comprising a photodetectors matrix coupled to a microlenses matrix
CN102710902A (en) * 2011-02-16 2012-10-03 意法半导体(R&D)有限公司 Multi-channel image sensors
WO2013031447A1 (en) * 2011-08-26 2013-03-07 三洋電機株式会社 Object detection device and information acquisition device
CN109829393A (en) * 2019-01-14 2019-05-31 北京鑫洋泉电子科技有限公司 A kind of mobile object detection method, device and storage medium
EP3660539A1 (en) * 2018-11-27 2020-06-03 Sick Ag Optoelectronic sensor and method for detecting objects
WO2020114930A1 (en) * 2018-12-03 2020-06-11 Carl Zeiss Microscopy Gmbh Method and apparatus for detecting fluorescence signals in a three-dimensional region of a sample
CN111458045A (en) * 2020-04-22 2020-07-28 电子科技大学 Large-view-field wavefront detection method based on focal plane Hartmann wavefront sensor
CN111896933A (en) * 2020-07-16 2020-11-06 深圳市速腾聚创科技有限公司 Laser radar system and detection method
CN112584015A (en) * 2020-12-02 2021-03-30 达闼机器人有限公司 Object detection method, device, storage medium and electronic equipment
CN112600994A (en) * 2020-12-02 2021-04-02 达闼机器人有限公司 Object detection device, method, storage medium, and electronic apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103531596B (en) * 2013-09-22 2015-09-23 华中科技大学 A kind of panchromatic compound eye imaging detection chip based on simple eye intussusception
CN105509894B (en) * 2015-12-07 2019-11-12 华中科技大学 A kind of liquid crystal basic image and wavefront bimodulus electricity are tuned into as detection chip
CN110441769A (en) * 2018-05-03 2019-11-12 北京航空航天大学 Object localization method, device and storage medium based on the sequential image of SAR
CN109443196B (en) * 2018-09-28 2020-07-24 顺丰科技有限公司 Volume measurement method and system
CN110244314B (en) * 2019-06-24 2022-04-19 北京机械设备研究所 Low-slow small target detection and identification system and method
CN110458888A (en) * 2019-07-23 2019-11-15 深圳前海达闼云端智能科技有限公司 Distance measuring method, device, storage medium and electronic equipment based on image

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937236A (en) * 2005-09-19 2007-03-28 C.R.F.阿西安尼顾问公司 Multifunctional optical sensor comprising a photodetectors matrix coupled to a microlenses matrix
CN102710902A (en) * 2011-02-16 2012-10-03 意法半导体(R&D)有限公司 Multi-channel image sensors
WO2013031447A1 (en) * 2011-08-26 2013-03-07 三洋電機株式会社 Object detection device and information acquisition device
EP3660539A1 (en) * 2018-11-27 2020-06-03 Sick Ag Optoelectronic sensor and method for detecting objects
WO2020114930A1 (en) * 2018-12-03 2020-06-11 Carl Zeiss Microscopy Gmbh Method and apparatus for detecting fluorescence signals in a three-dimensional region of a sample
CN109829393A (en) * 2019-01-14 2019-05-31 北京鑫洋泉电子科技有限公司 A kind of mobile object detection method, device and storage medium
CN111458045A (en) * 2020-04-22 2020-07-28 电子科技大学 Large-view-field wavefront detection method based on focal plane Hartmann wavefront sensor
CN111896933A (en) * 2020-07-16 2020-11-06 深圳市速腾聚创科技有限公司 Laser radar system and detection method
CN112584015A (en) * 2020-12-02 2021-03-30 达闼机器人有限公司 Object detection method, device, storage medium and electronic equipment
CN112600994A (en) * 2020-12-02 2021-04-02 达闼机器人有限公司 Object detection device, method, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN112584015B (en) 2022-05-17
CN112584015A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
WO2022116676A1 (en) Object detection apparatus and method, storage medium, and electronic device
US9230306B2 (en) System for reducing depth of field with digital image processing
WO2022116675A1 (en) Object detection method and apparatus, storage medium, and electronic device
KR101554639B1 (en) Method and apparatus with depth map generation
US8724013B2 (en) Method and apparatus with fast camera auto focus
US20110058747A1 (en) Image processing apparatus, image processing method and computer readable-medium
US10917586B2 (en) Electronic device providing switching between signals output from concurrently operable image sensors
US10564390B2 (en) Focusing control device, focusing control method, focusing control program, lens device, and imaging device
CN104215216B (en) A kind of range unit and terminal
US10078198B2 (en) Photographing apparatus for automatically determining a focus area and a control method thereof
US11343422B2 (en) Focusing control device, focusing control method, focusing control program, lens device, and imaging device
US20200412967A1 (en) Imaging element and imaging apparatus
US10958824B2 (en) Imaging apparatus and image processing method
CN104215215B (en) A kind of distance-finding method
US10939056B2 (en) Imaging apparatus, imaging method, imaging program
WO2020003862A1 (en) Imaging device, imaging method, and program
CN114286011B (en) Focusing method and device
WO2019058691A1 (en) Imaging control device, imaging device, imaging control method, and imaging control program
US10520793B2 (en) Focusing control device, focusing control method, focusing control program, lens device, and imaging device
US11997401B2 (en) Image sensor, image acquisition apparatus, and electronic apparatus with improved performance
CN114827438B (en) Co-processing chip, electronic equipment and touch control response method
US11861874B2 (en) Imaging apparatus, imaging control method, and imaging control program
US20220408028A1 (en) Imaging apparatus, imaging method, and program
JP2013162453A (en) Imaging apparatus
CN114979462A (en) Image signal processor, image processing method, and image processing system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21899709

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10-11-2023)