Working scene detection method based on portable camera device and portable camera device
By covering the entire area of the high-altitude working scene with the second lens and tilting lens of the portable camera device, and using the main controller for linkage processing, it solves the problem that the existing technology cannot detect high-altitude and ground areas at the same time, and realizes the detection of high-altitude working scenes. Efficient and accurate detection.
Patent Information
- Application Number
- CN202410850288.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing technology is difficult to effectively detect high-altitude working scenes, especially in high-risk working scenes such as high-tower construction. It cannot cover the ground and high-altitude areas at the same time, resulting in insufficient detection efficiency and accuracy.
Use a portable camera device, equipped with a first lens on the platform and a second lens and tilt lens on the base. The detection area of the second lens and tilt lens covers the entire area of the high-altitude working scene, and the main controller receives the information recognized by the lens. Position information is processed in a linked manner to detect high-altitude working scenarios.
It realizes the overall detection of high-altitude working scenes, improves detection efficiency and accuracy, and can monitor the number of construction workers, work specifications, safety helmets, safety ropes, etc. in real time, improving work safety.
Smart Images

Figure CN118411500B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer vision technology, and in particular to a work scene detection method based on a portable camera device and a portable camera device. Background Art
[0002] For construction operation scenarios, there is usually a need for scene detection, such as the need to detect the number of people in the construction operation scene, whether the operation is standardized, etc.
[0003] For high-altitude work scenes such as high-tower construction, there are usually ground detection areas and high-altitude detection areas. Due to the unique scene characteristics of high-altitude work scenes, such as: high danger and wide detection area, high-altitude work scenes belong to work scenes with higher detection requirements.
[0004] So, how to conduct scene detection for high-altitude work scenes with high detection requirements is an urgent problem to be solved. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method for detecting a work scene based on a portable camera device and a portable camera device, so as to realize scene detection for work scenes with high detection requirements. The specific technical solution is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for detecting a work scene based on a portable camera device, which is applied to a main controller of the portable camera device, wherein the portable camera device further comprises a first lens disposed on a pan head, and a second lens and a tilt lens disposed on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude work scene; the method comprises:
[0007] Receive the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens;
[0008] Determine the current position information to be processed according to a predetermined position information determination method; wherein the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed;
[0009] In response to determining the current position information, performing linkage processing on the current position information based on the first lens;
[0010] Based on the processing results obtained by the linkage processing, a predetermined detection task matching the aerial work scene is executed for a designated object having current position information.
[0011] Optionally, whenever receiving a piece of location information, taking the location information as the current location information to be processed includes:
[0012] In response to the detection mode for the aerial work scene being the first detection mode, whenever a position information is received, the position information is used as the current position information to be processed;
[0013] The first detection mode is a detection mode for immediately responding to the received location information.
[0014] Optionally, the location information determining method further includes:
[0015] In response to the detection mode for the aerial work scene being the second detection mode, performing the following operations:
[0016] Whenever a position information is received, the received position information is added to the corresponding queue, and in response to detecting a candidate queue, if the number of candidate queues is one, the position information belonging to the head of the queue is taken out from the candidate queue as the current position information to be processed, and the candidate queue is a queue that is not empty; if the number of candidate queues is multiple, the following steps are performed:
[0017] If the position information has been selected and the first queue to which the position information selected last time belongs is a candidate queue, the position information belonging to the head of the queue is taken out from the first queue as the current position information to be processed; otherwise, a candidate queue to be processed is selected from multiple candidate queues, and the position information belonging to the head of the queue is taken out from the selected candidate queue as the current position information to be processed;
[0018] The method of selecting a candidate queue to be processed from the multiple candidate queues includes: determining the priority of each designated detection area; wherein each designated detection area is a detection area of a lens corresponding to each candidate queue; based on a preset priority relationship of the detection area, selecting a candidate queue to be processed from the multiple candidate queues;
[0019] The second detection mode is a detection mode for performing a non-instant response to the received position information, and the queue corresponding to each position information is: the queue corresponding to the lens that reports the position information.
[0020] Optionally, the detection area corresponding to the second lens is a ground area, and the detection area corresponding to the tilt lens is a high-altitude area; the priority of the ground area is higher than that of the high-altitude area;
[0021] The selecting a candidate queue to be processed from a plurality of candidate queues based on a preset priority relationship of the detection area includes:
[0022] From multiple candidate queues, a queue corresponding to the second lens is selected to obtain a candidate queue to be processed.
[0023] Optionally, before adding the received location information to a corresponding queue, the method further includes:
[0024] If the object ID associated with the received location information is different from the object ID associated with the location information currently existing in the corresponding queue, the received location information is added to the corresponding queue;
[0025] If the object ID associated with the received location information is the same as the object ID associated with a location information currently existing in the corresponding queue, the received location information is deleted.
[0026] Optionally, the linkage processing includes:
[0027] Determine a target gimbal posture corresponding to the current position information; wherein the target gimbal posture is: a gimbal posture that enables a specified object at a scene position corresponding to the current position information to enter the field of view of the first lens;
[0028] The gimbal is adjusted to the target gimbal posture, and the first lens is controlled to focus to magnify the specified object in the field of view, and the focused first lens is controlled to capture an image of the specified object in the field of view to obtain a processing result; in response to the duration of image capture of the specified object in the field of view reaching a predetermined duration, the image capture is terminated and the focus of the first lens is restored.
[0029] Optionally, the determining a target gimbal posture corresponding to the current position information includes:
[0030] Determining a target gimbal posture corresponding to the current position information based on a correspondence between a gimbal posture and image position information about the gimbal preset for a specified lens;
[0031] Among them, the designated lens is the lens that reports the current position information; in the corresponding relationship, any image position information is the image position information in the capture screen of the designated lens, and the corresponding gimbal posture is the posture that makes the designated object at the scene position corresponding to the image position information enter the field of view of the first lens.
[0032] Optionally, controlling the first lens to focus so as to magnify a specified object in a field of view includes:
[0033] Determining a focal length parameter to be used according to the area size indicated by the current position information;
[0034] The first lens is focused according to the focal length parameter to be used to magnify a designated object in a field of view.
[0035] Optionally, the processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a designated object having current position information, including:
[0036] Based on the processing results obtained by the linkage processing, target detection processing is performed on the specified object with current position information that matches the aerial work scene; wherein the target detection processing includes: object detection, object feature detection, object identity authentication detection, safety rope detection and / or safety helmet detection.
[0037] Optionally, the processing result of the linkage processing includes multiple frames of image data;
[0038] Before executing a predetermined detection task matching the aerial work scene for a designated object having current position information based on the processing result obtained by the linkage processing, the method further includes:
[0039] Performing recognition processing of designated dimensions on each frame of image data collected to obtain recognition results of each frame of image data; wherein the designated dimensions include: dimensions of facial angles and / or dimensions of pupil distance;
[0040] Based on the preset screening conditions and the recognition results corresponding to each frame of image data, each frame of image data is screened to obtain screened image data;
[0041] The processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a designated object having current position information, including:
[0042] Based on the filtered image data, a predetermined detection task matching the aerial work scene is performed for a designated object having current position information.
[0043] In a second aspect, an embodiment of the present application provides a working scene detection device based on a portable camera device, which is applied to a main controller of the portable camera device, wherein the portable camera device further comprises a first lens arranged on a pan head, and a second lens and a tilt lens arranged on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene; the device comprises:
[0044] A receiving module, used for receiving the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens;
[0045] A determination module, used to determine the current location information to be processed according to a predetermined location information determination method; wherein the location information determination method includes: whenever a location information is received, the location information is used as the current location information to be processed;
[0046] a processing module, configured to perform linkage processing on the current position information based on the first lens in response to determining the current position information;
[0047] The execution module is used to execute a predetermined detection task matching the aerial work scene for a designated object with current position information based on the processing result obtained by the linkage processing.
[0048] In a third aspect, an embodiment of the present application provides a portable camera device, comprising: a main controller, a first lens disposed on a pan / tilt head, and a second lens and a tilt lens disposed on a base, wherein the tilt lens is tilted upward, and detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the entire detection area of a high-altitude working scene;
[0049] Each of the second lens and the oblique lens is used to report the position information of the designated object to the main controller when the designated object is identified in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object, and the designated object is an object that moves from bottom to top in the aerial work scene;
[0050] The main controller is used to receive the position information of the designated object reported by the second lens and the tilt lens when the designated object is recognized in the corresponding detection area; determine the current position information to be processed according to the predetermined position information determination method; in response to determining the current position information, based on the first lens, perform linkage processing on the current position information; based on the processing result obtained by the linkage processing, execute the predetermined detection task matching the aerial work scene for the designated object with the current position information; wherein, the order of receiving the position information of the same designated object by the second lens and the tilt lens is: the order of appearance of the same designated object in the detection area corresponding to the second lens and the tilt lens; the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed;
[0051] The first lens is used to perform linkage processing on the current position information under the control of the main controller.
[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any of the work scene detection methods based on a portable camera device.
[0053] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods for detecting work scenes based on a portable camera device.
[0054] Beneficial effects of the embodiments of the present application:
[0055] The working scene detection method based on the portable camera device provided in the embodiment of the present application is applied to the main controller of the portable camera device, wherein the portable camera device also includes a first lens arranged on the pan-tilt platform and a second lens and a tilt lens arranged on the base, the tilt lens tilts upward, and the detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene, so that the overall area of the high-altitude working scene is used as the detected area. During the detection process, the main controller can receive the position information of the specified object reported by the second lens and the tilt lens, each position information is the image position information of the specified object reported when the second lens and the tilt lens recognize the specified object in the corresponding detection area; and the main controller can determine the current position information to be processed according to the predetermined position information determination method, and after determining the current position information, perform linkage processing on the current position information based on the first lens, and after the linkage processing is completed, it can perform a predetermined detection task for the specified object that matches the high-altitude working scene based on the processing result of the linkage processing, so as to realize the detection of the overall detection area of the high-altitude working scene. It can be seen that the present application uses the second lens and the tilt lens of the portable camera device to identify the designated object in the overall detection area of the high-altitude working scene, and then uses the first lens for linkage processing, so as to realize the overall detection area of the high-altitude working scene and perform scene detection. Therefore, the present application can perform scene detection on working scenes with high detection requirements.
[0056] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0058] Figure 1 A flowchart of a method for detecting a work scene based on a portable camera device provided in an embodiment of the present application;
[0059] Figure 2 A schematic diagram of an application scenario of a method for detecting a work scene based on a portable camera device provided in an embodiment of the present application;
[0060] Figure 3 A diagram showing the field of view of a second lens and a tilted lens of a portable camera device provided in an embodiment of the present application;
[0061] Figure 4A front view schematic diagram of a portable camera device provided in an embodiment of the present application;
[0062] Figure 5 A schematic side view of a portable camera device provided in an embodiment of the present application;
[0063] Figure 6 A schematic diagram of the back side of a portable camera device provided in an embodiment of the present application;
[0064] Figure 7 Another schematic diagram of a process flow of a method for detecting a work scene based on a portable camera device provided in an embodiment of the present application;
[0065] Figure 8 A schematic diagram of the structure of a work scene detection device based on a portable camera device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0067] In the related art, when performing scene detection on a construction work scene, a camera device consisting of a zoom lens and a fixed-focus lens is usually used to perform scene detection on some common ground construction work scenes; for example: at the construction site, the fixed-focus lens monitors the construction workers in real time, and the zoom lens is used to zoom in on the detected construction workers and collect image data about the construction workers. The collected facial data can also be compared with the facial images in the facial database, and safety helmet detection can be performed, etc., to detect the number of people in the work scene, whether the work is standardized, etc.
[0068] However, the fixed-focus lens of the camera device has a small field of view. For some high-altitude work scenes, such as high-tower construction scenes, it is impossible to simultaneously detect the ground detection area and the high-altitude detection area of the tower. In addition, the focal length of the camera device is small, and the pixels for imaging the construction personnel on the tower may be small, resulting in poor subsequent recognition effects. It can be seen that the related technology cannot perform scene detection for high-altitude work scenes, which have high detection requirements.
[0069] Based on this, the embodiments of the present application provide a work scene detection method based on a portable camera device and a portable camera device to achieve scene detection for work scenes with high detection requirements.
[0070] The following is an introduction to a work scene detection method based on a portable camera device provided in this application.
[0071] Among them, a method for detecting a work scene based on a portable camera device provided in an embodiment of the present application can be applied to a main controller of a portable camera device, wherein the portable camera device also includes a first lens arranged on a pan / tilt head and a second lens and a tilt lens arranged on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude work scene, that is, the overall area of any high-altitude work scene can be detected through the second lens and the tilt lens. The first lens can be a zoom lens, and the second lens and the tilt lens can be a zoom lens or a fixed-focus lens, for example: the second lens is a fixed-focus lens, and the tilt lens is a fixed-focus lens or a zoom lens. Regardless of whether the second lens and the tilt lens are zoom lenses, the second lens and the tilt lens can identify the specified object in the corresponding detection area, and the present application does not limit this.
[0072] Moreover, the method for detecting a work scene based on a portable camera device provided in the embodiment of the present application can be applied to any work scene with high detection requirements, such as: a high-tower construction work scene with a large viewing angle requirement in the vertical direction, a large-area horizontal construction work scene with a large viewing angle requirement in the horizontal direction, etc., and the present application does not limit this; it can be understood that in practical applications, the arrangement of the second lens and the tilt lens of the portable camera device can match the work scene, for example: for a high-tower construction work scene with a large viewing angle requirement in the vertical direction, on the portable camera device, the second lens and the tilt lens can be arranged vertically; and for a large-area horizontal construction work scene with a large viewing angle requirement in the horizontal direction, on the portable camera device, the second lens and the tilt lens can be arranged horizontally (the tilt lens may not be tilted at this time). Of course, the detection areas corresponding to the second lens and the tilt lens respectively cover the overall detection area of the high-altitude work scene, that is, the area formed by the detection areas corresponding to the second lens and the tilt lens respectively is greater than or equal to the overall detection area for the high-altitude work scene. It can be understood that there may be overlapping areas between the field of view of the second lens and the tilted lens. When there is an overlapping area between the field of view of the second lens and the tilted lens, in order to avoid redundant detection, the overlapping area can be set only as the detection area belonging to one of the lenses, so that there is no overlapping area between the detection areas of the second lens and the tilted lens; and, exemplarily, the specific setting method can be a method of setting in an interface of the screen containing each lens of the portable camera device.
[0073] In addition, the execution subject of the method for detecting a working scene based on a portable camera device provided in an embodiment of the present application may be the main controller of the portable camera device, and the main controller of the portable camera device may be located in the portable camera device, or the portable camera device may be connected to an electronic device, and the main controller of the portable camera device may be located in the electronic device, and the electronic device may be a mobile phone or a computer, etc., which is not limited in the present application. When the main controller is located in the portable camera device, the main controller may directly process the image position information reported by the second lens and the tilt lens, and control the first lens to perform linkage processing; when the main controller is located in the electronic device to which the portable camera device is connected, the main controller may obtain the image position information reported by the second lens and the tilt lens from the portable camera device, and control the first lens to perform linkage processing.
[0074] An embodiment of the present application provides a method for detecting a working scene based on a portable camera device, which is applied to a main controller of the portable camera device. The portable camera device also includes a first lens arranged on a pan head, and a second lens and a tilt lens arranged on a base. The tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene. The method includes:
[0075] Receive the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens;
[0076] Determine the current position information to be processed according to a predetermined position information determination method; wherein the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed;
[0077] In response to determining the current position information, performing linkage processing on the current position information based on the first lens;
[0078] Based on the processing results obtained by the linkage processing, a predetermined detection task matching the aerial work scene is executed for a designated object having current position information.
[0079] The working scene detection method based on the portable camera device provided in the embodiment of the present application is applied to the main controller of the portable camera device, wherein the portable camera device also includes a first lens arranged on the pan-tilt platform and a second lens and a tilt lens arranged on the base, the tilt lens tilts upward, and the detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene, so that the overall area of the high-altitude working scene is used as the detected area. During the detection process, the main controller can receive the position information of the specified object reported by the second lens and the tilt lens, each position information is the image position information of the specified object reported when the second lens and the tilt lens recognize the specified object in the corresponding detection area; and the main controller can determine the current position information to be processed according to the predetermined position information determination method, and after determining the current position information, perform linkage processing on the current position information based on the first lens, and after the linkage processing is completed, it can perform a predetermined detection task for the specified object that matches the high-altitude working scene based on the processing result of the linkage processing, so as to realize the detection of the overall detection area of the high-altitude working scene. It can be seen that the present application uses the second lens and the tilt lens of the portable camera device to identify the designated object in the overall detection area of the high-altitude working scene, and then uses the first lens for linkage processing, so as to realize the overall detection area of the high-altitude working scene and perform scene detection. Therefore, the present application can perform scene detection on working scenes with high detection requirements.
[0080] In conjunction with the accompanying drawings, an exemplary introduction is given below to a method for detecting a work scene based on a portable camera device provided in an embodiment of the present application.
[0081] like Figure 1 As shown, an embodiment of the present application provides a method for detecting a working scene based on a portable camera device, which is applied to a main controller of the portable camera device, wherein the portable camera device further comprises a first lens arranged on a pan head, and a second lens and a tilt lens arranged on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene; the method may comprise the following steps:
[0082] S101: receiving position information of the designated object reported by the second lens and the tilt lens when the designated object is recognized in the corresponding detection area;
[0083] The position information of the designated object is the image position information of the designated object; the designated object is an object that moves from bottom to top in the aerial work scene, and the order of receiving the position information of the same designated object by the second lens and the oblique lens is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens;
[0084] In an embodiment of the present application, the portable camera device also includes a second lens and a tilted lens arranged on the base, each lens corresponds to a detection area, and the detection areas corresponding to the second lens and the tilted lens cover the overall detection area of the high-altitude working scene, that is, the captured picture of the second lens and the tilted lens as a whole includes the overall detection area of the high-altitude working scene; when the second lens and the tilted lens recognize a specified object in the corresponding detection area, the image position information of the specified object can be reported to the main controller, and accordingly, the main controller can receive the position information of the specified object reported by the second lens and the tilted lens when they recognize the specified object in the corresponding detection area. Each position information can be used for subsequent linkage processing, and any position information can be eliminated after linkage processing.
[0085] Among them, the main controller of the portable camera device can continuously and in real time receive the position information of the designated object reported by the second lens and the tilt lens. Every time any position information is received, subsequent processing is required. When performing subsequent processing, each position information will be used as the current position information according to the predetermined position information determination method. This application does not limit this.
[0086] It should be noted that, illustratively, the so-called designated object can be an object that has a bottom-up movement process in a high-altitude work scene, for example: construction workers in a high-altitude work scene. When the construction workers start working in the high-altitude work scene, they usually need to climb from the ground to the top of the tower step by step; to ensure the safety of the construction workers at work, the construction workers usually need to wear safety helmets, safety ropes, and work tools, etc. The designated object can also be understood as construction workers and the items worn by the construction workers, and this application does not limit this.
[0087] In addition, in another implementation, the construction workers may also have a top-down movement process. For example, after the construction workers finish their work in the high-altitude work scene, they usually need to move gradually from the top of the tower to the ground. That is, the designated object may also be an object that has a top-down movement process in the high-altitude work scene. The work scene detection method based on the portable camera device provided in the embodiment of the present application can be applied to the top-down movement process of the designated object, and / or the bottom-up movement process of the designated object. When the designated object moves from top to bottom, the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object from top to bottom in the detection area corresponding to the second lens and the oblique lens. In addition, the second lens and the oblique lens can identify whether the designated object exists in the corresponding detection area by using a pre-trained neural network model for identifying the designated object. Of course, it can also be other image analysis algorithms for analyzing whether the designated object exists in the picture, which are all reasonable.
[0088] S102: Determine the current position information to be processed according to a predetermined position information determination method;
[0089] The method for determining the location information includes: whenever a location information is received, the location information is used as the current location information to be processed;
[0090] After receiving the location information of the specified object, in order to perform subsequent linkage processing on a certain location information and execute subsequent scheduled detection tasks, the current location information to be processed can be determined according to the predetermined location information determination method. Based on the current location information, subsequent linkage processing and subsequent scheduled detection tasks can be performed. Among them, whenever a location information is received, the location information can be directly used as the current location information to be processed. Of course, the current location information can also be determined according to different detection modes and location information determination methods. The specific implementation method will be described in detail in the subsequent embodiments and will not be repeated here.
[0091] It should be noted that, for each piece of received position information, the position information may be used as the current position information in turn for subsequent linkage processing.
[0092] S103: in response to determining the current position information, performing linkage processing on the current position information based on the first lens;
[0093] The linkage processing includes:
[0094] Determine a target gimbal posture corresponding to the current position information; wherein the target gimbal posture is: a gimbal posture that enables a specified object at a scene position corresponding to the current position information to enter the field of view of the first lens;
[0095] The gimbal is adjusted to the target gimbal posture, and the first lens is controlled to focus to magnify the specified object in the field of view, and the focused first lens is controlled to capture an image of the specified object in the field of view to obtain a processing result; in response to the duration of image capture of the specified object in the field of view reaching a predetermined duration, the image capture is terminated and the focus of the first lens is restored.
[0096] After the current position information is determined, linkage processing may be performed on the current position information based on the first lens to obtain a result of the linkage processing, and the result of the linkage processing may be image data obtained by performing image acquisition on the current position information.
[0097] Among them, the so-called linkage processing is to perform linkage image acquisition for the current position information through the first lens. At this time, the field of view of the first lens may not include the designated object at the scene position corresponding to the current position information. The target gimbal posture corresponding to the current position information can be determined first, and the gimbal is adjusted to the target gimbal posture. At this time, the designated object at the scene position corresponding to the current position information enters the field of view of the first lens; in order to obtain a more accurate and clear processing result of the designated object, the first lens can be controlled to focus to enlarge the designated object in the field of view, and the first lens after focusing can be controlled to perform image acquisition on the enlarged designated object in the field of view to obtain the processing result. In addition, after obtaining the processing result, if the duration of image acquisition for the designated object in the field of view reaches a predetermined duration, the image acquisition can be terminated, and the focus of the first lens can be restored, and the focus of the first lens after focusing can be restored to the default focus, or the focus of the first lens after focusing can be kept unchanged. When the linkage processing is performed for the new current position in the subsequent period, the focus can be adjusted again according to the new current position information, which is reasonable.
[0098] Exemplarily, in one implementation, determining the target gimbal posture corresponding to the current position information includes:
[0099] Determining a target gimbal posture corresponding to the current position information based on a correspondence between a gimbal posture and image position information about the gimbal preset for a specified lens;
[0100] Among them, the designated lens is the lens that reports the current position information; in the corresponding relationship, any image position information is the image position information in the capture screen of the designated lens, and the corresponding gimbal posture is the posture that makes the designated object at the scene position corresponding to the image position information enter the field of view of the first lens.
[0101] In this application, the correspondence between the gimbal posture and the image position information in the specified lens is pre-calibrated. The gimbal posture corresponding to any image position information in the captured screen of the specified lens can make the specified object at the scene position corresponding to the image position information enter the field of view of the first lens. For the specified lens that reports the current position information, this application can determine the target gimbal posture corresponding to the current position information based on the correspondence between the gimbal posture and the image position information preset for the specified lens.
[0102] It should be noted that when the portable camera device is set up, the second lens and the tilt lens can be calibrated in advance regarding the correspondence between the gimbal posture and the position information of each image of the lens, so that during linkage processing, the target gimbal posture corresponding to the current position information can be quickly determined. For the second lens and the tilt lens, the specific implementation method of the calibration of the correspondence between the gimbal posture and the position information of each image of the lens is not limited in this application, and any calibration that can achieve the correspondence can be applied to this application.
[0103] Optionally, controlling the first lens to focus so as to magnify a specified object in a field of view includes:
[0104] Determining a focal length parameter to be used according to the area size indicated by the current position information;
[0105] The first lens is focused according to the focal length parameter to be used to magnify a designated object in a field of view.
[0106] The second lens and the tilted lens can indicate an area size when reporting position information, that is, the size of the position box of the specified object; the current position information also indicates an area size. When controlling the first lens to focus, the focal length parameters to be used can be determined according to the current position information, and the first lens can be focused according to the focal length parameters to be used to enlarge the specified object in the field of view.
[0107] Among them, when the portable camera equipment is set up, the area size and the focal length parameter of the first lens can be calibrated in advance to obtain the corresponding relationship between the area size and the focal length parameter. The focal length parameter corresponding to each area size allows the first lens to focus according to the focal length parameter. If the image is collected on the area, image data of the required size, clarity, etc. can be obtained; at this time, based on the corresponding relationship between the area size and the focal length parameter, the focal length parameter corresponding to the area size indicated by the current position information can be quickly determined.
[0108] By focusing the first lens according to the area size indicated by the current position information, image data of a desired size and definition can be obtained by focusing the first lens regardless of the size of the area indicated by the current position information.
[0109] In addition, during the linkage processing, images can be captured periodically multiple times, or continuously; and, during the image capture process, it can be identified whether the picture clarity of a specified object in the captured image meets the clarity requirements, and if it does not meet the requirements, the first lens is focused so that the picture clarity of the specified object in subsequent captured images meets the clarity requirements.
[0110] S104: Based on the processing result obtained by the linkage processing, executing a predetermined detection task matching the aerial work scene for a designated object having current position information;
[0111] After the linkage processing, in order to realize the detection of the entire area of the aerial work scene, the predetermined detection task matching the aerial work scene for the designated object with current position information can be executed based on the processing result obtained by the linkage processing. It should be noted that the processing result may include multiple designated objects, which may be multiple construction personnel. At this time, the predetermined detection task matching the aerial work scene for the designated object is executed, that is, the predetermined detection task matching the aerial work scene is performed on multiple construction personnel respectively.
[0112] Exemplarily, in one implementation, the processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a specified object having current position information, including:
[0113] Based on the processing results obtained by the linkage processing, target detection processing is performed on the specified object with current position information that matches the aerial work scene; wherein the target detection processing includes: object detection, object feature detection, object identity authentication detection, safety rope detection and / or safety helmet detection.
[0114] The predetermined detection tasks that match the aerial work scene can be target detection processing that matches the aerial work scene, for example: object detection, object feature detection, object identity authentication detection, safety rope detection and / or safety helmet detection, etc., to perform safety detection on the designated object regarding the aerial work scene. Among them, object detection can be understood as detecting whether the designated object is in the designated area of the high-altitude work scene. For the high-altitude work scene, the designated area is the area where there may be danger when working in the high-altitude work scene, for example: for the high-tower work scene, object detection can be to detect whether the designated object is located in the area under the tower; object feature detection can include detection of facial features and / or body features of the designated object to identify the features of the designated object; object identity authentication detection can include identity authentication detection on facial features and / or identity authentication detection on body features to authenticate the designated object; safety rope detection is to detect whether the designated object wears the safety rope abnormally, for example: detect whether the designated object wears the safety rope, whether the way the designated object wears the safety rope complies with the specifications, etc.; safety helmet detection is to detect whether the designated object wears the safety helmet abnormally, for example: detect whether the designated object wears the safety helmet, whether the way the designated object wears the safety helmet complies with the specifications, etc.
[0115] In addition, the portable camera device may have a database of facial features and body features, which may be stored inside the portable camera device, or the portable camera device may be connected to a database externally, which is reasonable; when performing target detection processing, the image in the database of the portable camera device may be compared with the image during detection to achieve target detection processing. It is understandable that when an abnormality is detected, for example, the posture of the designated object is abnormal, such as a dangerous posture of standing upside down or away from a high tower, or the wearing of a safety helmet or safety rope is abnormal, such as not wearing a safety helmet / safety rope or wearing a safety helmet / safety rope in a standardized manner, etc., a corresponding alarm reminder may be issued to notify the construction personnel or the construction personnel's management personnel, etc., to avoid danger.
[0116] By utilizing the processing results of linkage processing and performing target detection processing on designated objects, it is possible to detect the entire area of the aerial work scene. Object feature detection, object identity authentication detection and / or safety helmet detection, etc. can be performed to ensure the safety of designated objects within the overall area of the aerial work scene.
[0117] In addition, in some cases, the processing result of the linkage processing includes multiple frames of image data;
[0118] Before executing a predetermined detection task matching the aerial work scene for a designated object having current position information based on the processing result obtained by the linkage processing, the method further includes:
[0119] Performing recognition processing of designated dimensions on each frame of image data collected to obtain recognition results of each frame of image data; wherein the designated dimensions include: dimensions of facial angles and / or dimensions of pupil distance;
[0120] Based on the preset screening conditions and the recognition results corresponding to each frame of image data, each frame of image data is screened to obtain screened image data;
[0121] The processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a designated object having current position information, including:
[0122] Based on the filtered image data, a predetermined detection task matching the aerial work scene is performed for a designated object having current position information.
[0123] The processing result of the linkage processing may include multiple frames of image data, but not every frame of the multiple frames of image data must execute the predetermined detection task for the specified object that matches the aerial work scene. For example, some image data does not contain a face, so it is not necessary to perform feature detection on the face. Therefore, before executing the predetermined detection task for the specified object that matches the aerial work scene, it is also possible to first perform recognition processing of the specified dimensions on each frame of image data collected to obtain the recognition result of each frame of image data. For the face, the specified dimension may include the dimension of the facial angle and / or the dimension of the pupil distance size; each frame of image data may be screened based on the preset screening conditions and the recognition results corresponding to each frame of image data, and then the predetermined detection task for the specified object may be executed based on the screened image data.
[0124] Among them, the preset filtering conditions correspond to the specified dimensions, for example: the specified dimensions include the dimensions of facial angles, then the preset filtering conditions include filtering thresholds for facial angles, for example: the facial angle of any frame of image data is the angle between the orientation of the face and the vertical direction of the captured image when the image data is collected, and the filtering threshold for facial angles can be 30°, that is, image data with facial angles less than 30° are filtered out; similarly, the specified dimensions can also include pupil distance size, then the preset filtering conditions also include filtering thresholds for pupil distance size.
[0125] In the technical solution of the present application, operations such as acquisition, storage, use, processing, transmission, provision and disclosure of information about construction personnel are all carried out with the authorization of the user.
[0126] It should be noted that the images in the database of the portable camera device in this embodiment are from a public data set.
[0127] The working scene detection method based on the portable camera device provided in the embodiment of the present application is applied to the main controller of the portable camera device, wherein the portable camera device also includes a first lens arranged on the pan-tilt platform and a second lens and a tilt lens arranged on the base, the tilt lens tilts upward, and the detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude working scene, so that the overall area of the high-altitude working scene is used as the detected area. During the detection process, the main controller can receive the position information of the specified object reported by the second lens and the tilt lens, each position information is the image position information of the specified object reported when the second lens and the tilt lens recognize the specified object in the corresponding detection area; and the main controller can determine the current position information to be processed according to the predetermined position information determination method, and after determining the current position information, perform linkage processing on the current position information based on the first lens, and after the linkage processing is completed, it can perform a predetermined detection task for the specified object that matches the high-altitude working scene based on the processing result of the linkage processing, so as to realize the detection of the overall detection area of the high-altitude working scene. It can be seen that the present application uses the second lens and the tilt lens of the portable camera device to identify the designated object in the overall detection area of the high-altitude working scene, and then uses the first lens for linkage processing, so as to realize the overall detection area of the high-altitude working scene and perform scene detection. Therefore, the present application can perform scene detection on working scenes with high detection requirements.
[0128] Optionally, in another embodiment of the present application, whenever receiving a piece of location information, taking the location information as the current location information to be processed includes:
[0129] In response to the detection mode for the aerial work scene being the first detection mode, whenever a position information is received, the position information is used as the current position information to be processed;
[0130] The first detection mode is a detection mode for immediately responding to the received location information.
[0131] In the present application, a detection mode is also configured for the detection of high-altitude work scenes. When the detection mode is the first detection mode for immediate response to the received position information, whenever a position information is received, the position information can be directly used as the current position information to be processed, so as to quickly and immediately perform linkage processing on the position information and execute the predetermined detection task matching the high-altitude work scene.
[0132] Optionally, the location information determining method further includes:
[0133] In response to the detection mode for the aerial work scene being the second detection mode, performing the following operations:
[0134] Whenever a position information is received, the received position information is added to the corresponding queue, and in response to detecting a candidate queue, if the number of candidate queues is one, the position information belonging to the head of the queue is taken out from the candidate queue as the current position information to be processed, and the candidate queue is a queue that is not empty; if the number of candidate queues is multiple, the following steps are performed:
[0135] If the position information has been selected and the first queue to which the position information selected last time belongs is a candidate queue, the position information belonging to the head of the queue is taken out from the first queue as the current position information to be processed; otherwise, a candidate queue to be processed is selected from multiple candidate queues, and the position information belonging to the head of the queue is taken out from the selected candidate queue as the current position information to be processed;
[0136] The method of selecting a candidate queue to be processed from the multiple candidate queues includes: determining the priority of each designated detection area; wherein each designated detection area is a detection area of a lens corresponding to each candidate queue; based on a preset priority relationship of the detection area, selecting a candidate queue to be processed from the multiple candidate queues;
[0137] The second detection mode is a detection mode for performing a non-instant response to the received position information, and the queue corresponding to each position information is: the queue corresponding to the lens that reports the position information.
[0138] In the present application, when the detection mode for the aerial work scene is the second detection mode of non-instant response, a corresponding queue is set for each lens in the second lens and the oblique lens. The queue corresponding to each lens is used to cache the various position information reported by the lens. Of course, the cached various position information is the position information that has not been linked. After receiving the position information reported by the second lens and the oblique lens when they recognize the specified object in the acquisition picture, the received position information can be added to the corresponding queue. For any position information, the information is added to the queue queue corresponding to the lens that reported the position information. The queue queue of the lens may contain position information that has been reported in the past but has not been linked, such as the position information reported last time but not linked.
[0139] According to the predetermined method for determining the position information, when determining the current position information, selection can be made based on the above-mentioned queue; specifically, when it is detected that there is a candidate queue that is not empty, it means that there is position information in the candidate queue that requires subsequent linkage processing. If the number of candidate queues is one, the position information belonging to the head of the candidate queue is directly taken out from the candidate queue as the current position information.
[0140] If there are multiple candidate queues, if the position information has been selected and the first queue to which the last selected position information belongs is a non-empty candidate queue, that is, the position information in the first queue is being linked together, and there is position information in the first queue that has not been linked together, the position information in the first queue can continue to be linked together, and the position information belonging to the head of the queue can be taken out from the first queue as the current position information. Otherwise, if the queue to which the position information selected last time belongs is not a candidate queue, that is, the position information in the queue has been processed in a linked manner, or, no position information is currently being processed in a linked manner (it is possible that no position information has ever been processed in a linked manner, or the interval between the time when the position information was last processed in a linked manner and the current time exceeds a predetermined threshold, etc.), then a candidate queue to be processed can be selected from multiple candidate queues, and the position information belonging to the head of the queue can be taken out from the selected candidate queue as the current position information; that is, the position information in the queue processed last time has been processed in a linked manner, or, no position information is currently being processed in a linked manner, then a candidate queue to be processed can be selected from multiple candidate queues, and each position information in the selected candidate queue can be processed in a linked manner in order from the head of the queue to the end of the queue.
[0141] Among them, for the queue corresponding to any lens, the position information in the queue is arranged from the head to the end of the queue in the order of reporting time.
[0142] There may be multiple ways to select a candidate queue to be processed from multiple candidate queues. Exemplarily, in one implementation, a priority relationship is pre-set for each designated detection area. The priority of the designated detection area corresponding to each candidate queue can be determined first, and based on the preset priority relationship regarding the detection area, a candidate queue to be processed is selected from the multiple candidate queues.
[0143] Specifically, the lens corresponding to the designated detection area with the highest priority can be determined as the target lens according to the correspondence between the designated detection area and the lens, and then the queue corresponding to the target lens can be determined from multiple candidate queues according to the correspondence between the lens and the queue to obtain a candidate queue to be processed.
[0144] It should be noted that the priority relationship of the detection areas can be set and adjusted according to needs or actual work scenarios. For example, for high-tower work scenarios, the portable camera equipment can include a second lens and a tilted lens, and the corresponding detection areas are ground areas and high-altitude areas, respectively. The default priority of the ground area is higher than that of the high-altitude area. Since high-altitude operations are more dangerous, the priority of the high-altitude area can also be adjusted to be higher than that of the ground area, so as to detect the high-altitude area in a timely manner. This application does not limit this.
[0145] Exemplarily, in one implementation, the detection area corresponding to the second lens is a ground area, and the detection area corresponding to the tilt lens is a high-altitude area; the priority of the ground area is higher than the priority of the high-altitude area;
[0146] The selecting a candidate queue to be processed from a plurality of candidate queues based on a preset priority relationship of the detection area includes:
[0147] From multiple candidate queues, select the queue corresponding to the second lens to obtain a candidate queue to be processed. In actual applications, for high-tower operation scenarios, the detection area corresponding to the second lens is the ground area, and the detection area corresponding to the tilted lens is the high-altitude area, and construction workers usually move from the ground area to the high-altitude area, so the default priority of the ground area is higher than the priority of the high-altitude area; at this time, the queue corresponding to the second lens and the queue corresponding to the tilted lens are not empty, that is, they are both candidate queues. When selecting a candidate queue to be processed, the queue corresponding to the second lens with the highest priority is selected as a candidate queue to be processed.
[0148] In addition, in order to avoid repeated linkage processing for the same designated object in a short period of time, before adding the received location information to the corresponding queue, the method further includes:
[0149] If the object ID associated with the received location information is different from the object ID associated with the location information currently existing in the corresponding queue, the received location information is added to the corresponding queue;
[0150] If the object ID associated with the received location information is the same as the object ID associated with a location information currently existing in the corresponding queue, the received location information is deleted.
[0151] When each lens recognizes a designated object, it can also generate an object ID for the designated object, and associate the generated object ID when reporting the location information of each designated object; if the object ID associated with a received location information is different from the object ID associated with the location information currently existing in the corresponding queue, it means that the designated object of the received location information has not been linked processed in a short period of time, that is, image data and detection have not been collected for the designated object, etc., and the received location information can be added to the corresponding queue and wait for subsequent linkage processing.
[0152] If the object ID associated with a received location information is the same as the object ID associated with a location information currently existing in the corresponding queue, it means that the location information of the specified object has been received within a short period of time for the specified object of the received location information, and the received location information is the location information repeatedly reported about the specified object. At this time, there is no need to repeatedly collect image data and perform detection for the specified object, and the received location information can be directly deleted.
[0153] Of course, each generated object ID can have a time limit, such as 10 seconds, and the generated object ID does not need to be stored at this time. It can be understood that for a certain specified object, if the location information of the specified object was uploaded 10 seconds ago and is associated with an object ID, the lens currently detects the specified object again, and a new object ID can be generated and the location information can be reported. The object ID at this time is different from the object ID 10 seconds ago. Even if the location information reported 10 seconds ago (the location information has not been linked) and the currently reported location information are reported by the same lens, the object ID associated with the currently reported location information is different from the object ID associated with the location information reported 10 seconds ago, and the object ID associated with the currently reported location information is different from the object ID associated with the location information currently in the corresponding queue. The object ID associated with the currently reported location information is different from the object ID associated with the location information currently in the corresponding queue. At this time, the currently reported location information will be added to the corresponding queue. It can be seen that the present application utilizes the object ID associated with the location information to ensure that image data of the same designated object will not be repeatedly collected in a short period of time. After the time limit is exceeded, image data can continue to be collected for the designated object, thereby avoiding repeated collection of image data for the same designated object in a short period of time, which causes the processing results of the linkage processing to contain useless and duplicate image data, thereby avoiding the waste of storage space.
[0154] The present application provides a method for detecting working scenes based on a portable camera device. Each lens in the second lens and the tilted lens corresponds to its own queue. When there are multiple candidate queues, the current position information can be determined for linkage processing according to the priority of the detection area and the order of each position information in the queue to ensure linkage processing for each unprocessed position information and corresponding detection, so as to detect the overall area of the aerial working scene. In addition, each position information is associated with an object ID, which can avoid repeated collection of image data for the same specified object in a short period of time, and improve the efficiency of detecting the overall area of the aerial working scene.
[0155] In order to better understand the solution provided by the present application, the application scenario of the work scene detection method based on a portable camera device provided by the present application is specifically introduced in combination with another embodiment.
[0156] The present application provides an application scenario of a method for detecting a work scene based on a portable camera device, such as Figure 2 As shown, the portable camera equipment is fixed on a tripod and placed on a flat ground about 30-50m horizontally away from the high tower operation site.
[0157] Among them, the portable camera device includes two fixed-focus lenses (in this embodiment, the second lens and the tilted lens are both fixed-focus lenses as an example), and the two fixed-focus lenses are located at the bottom of the portable camera device. The fixed-focus lenses include: a horizontal fixed-focus lens (the second lens) and a tilted fixed-focus lens (tilted lens). The horizontal fixed-focus lens focuses on the working scene under the tower, and the field of view covers the ground area of the entire high-tower working scene, including the base of the tower; the tilted fixed-focus lens focuses on the tower, and the field of view covers the high-altitude area of the entire high-tower working scene, including the top of the tower. The two fixed-focus lenses cover the entire high-tower working scenes on and under the tower, so as to detect construction workers in the high-tower working scenes.
[0158] For example, if the portable camera equipment is placed at a horizontal distance of 30-50m from the high tower work site, the field of view covered by multiple fixed-focus lenses of the portable camera equipment as a whole can be 30-120m above the horizontal ground. Of course, the upper limit of the field of view covered by multiple fixed-focus lenses as a whole is not necessarily 120m, and good work scene detection effects can be achieved within 120m.
[0159] It should be noted that the field of view of the fixed-focus lens of the portable camera device can be flexibly adjusted according to needs and actual working scenarios during installation, and this application does not limit this.
[0160] For the above scene, the field of view of the two fixed-focus lenses is as follows: Figure 3As shown, it can be seen that the field of view of the two fixed-focus lenses as a whole includes the entire area of the high-tower operation scene, wherein the field of view of the horizontal fixed-focus lens and the tilted fixed-focus lens are respectively: the horizontal lens field of view and the tilted lens field of view. The field of view of each fixed-focus lens can be partially overlapped (the overlapping area can be configured as a detection area belonging only to a certain fixed-focus lens), or closely adjacent, etc., and the present application does not limit this.
[0161] In addition, it should be noted that Figure 3 It can also be understood as a display screen of the overall detection area of multiple fixed-focus lenses, in which the time of the detection operation scene can also be displayed, such as: Friday, July 9, 21, 14:41:42.
[0162] The portable camera device provided by this application is introduced below.
[0163] The front, side and back of the portable camera device provided in the embodiment of the present application are as follows: Figure 4 , Figure 5 and Figure 6 As shown, the portable camera device includes three lenses, a zoom lens (first lens) that can be controlled by the gimbal, the focal length can be dynamically adjusted, and the gimbal supports horizontal and vertical rotation; the bottom of the gimbal is composed of a tilt fixed focus lens (tilt lens) and a horizontal fixed focus lens (second lens) (in this embodiment, the horizontal fixed focus lens is located above the tilt fixed focus lens; of course, the horizontal fixed focus lens and the tilt fixed focus lens can also be arranged horizontally, or the horizontal fixed focus lens is located below the tilt fixed focus lens, which is not limited in this application). The portable camera device can also be called a three-camera portable ball, etc. The portable camera device can complete the equipment installation on the ground and monitor the high-altitude working scene, and the scene adaptability is higher. In addition, gyroscopes and magnetic encoders (i.e., magnetic encoders, a device that converts signals or data into transmittable, stored and communicated signals) are added in the vertical and horizontal directions, and the horizontal and vertical positions are monitored in real time in combination with the software, which is convenient for aligning the coordinates with the fixed focus lens, and improving the detection accuracy of the portable camera device for the working scene.
[0164] In conjunction with another embodiment, a method for detecting a work scene based on a portable camera device provided by the present application is introduced below.
[0165] like Figure 7 As shown, an operation scene detection method based on a portable camera device provided in an embodiment of the present application may include the following steps:
[0166] S701: object detection; that is, the multiple fixed-focus lenses (the second lens and the tilt lens) perform object detection on their respective detection areas.
[0167] S702: Identify whether the specified object is detected; that is, identify whether any of the multiple fixed-focus lenses detects the specified object. If yes, report the image position information of the specified object, that is, the position information of the specified object, and execute step S703; if no, return to step S701 and continue object detection.
[0168] S703: Linking the zoom lens to zoom in on the designated object; after receiving the position information, the main controller of the portable camera device determines the current position information to be processed according to a predetermined position information determination method, and based on the current position information, links the zoom lens, adjusts the pan / tilt posture and focuses the zoom lens to zoom in on the designated object corresponding to the current position information.
[0169] S704: Face detection; that is, performing face detection on the designated object that controls the zoom lens to be linked, identifying parameters such as facial angle and / or pupil distance, etc., as the face score of the designated object.
[0170] S705: Identify whether the facial score reaches a threshold; that is, identify whether the facial score reaches a specified threshold, if yes, execute steps S707 and S708, if no, execute step S706. Corresponding to the above-mentioned recognition results based on the preset filtering conditions and the corresponding frames of image data, each frame of image data is filtered to obtain filtered image data.
[0171] S706: Control the zoom lens to reduce the magnification; that is, if the facial score does not reach the threshold, the face does not meet the conditions and no subsequent detection is required, then the main controller controls the zoom lens to reduce the magnification, for example: readjust the zoom lens to the magnification before zooming in on the specified object.
[0172] S707: Helmet detection; that is, the facial score reaches the threshold, and the helmet detection can be performed on the designated object first.
[0173] S708: Cache image data; that is, when the facial score reaches a threshold, image data can be collected and cached while the helmet is being detected.
[0174] S709: Object identity authentication detection; that is, performing object identity authentication detection on the image data of the designated object whose facial score reaches the threshold.
[0175] S710: Upload image data; that is, the image data of the object identity authentication detection can be displayed and uploaded in a character overlay manner, and the image data can display the detection results, calibration boxes, etc.
[0176] This application adopts a three-lens design + face detection + face comparison + human recognition + helmet detection + object continuous following detection solution.
[0177] The two fixed-focus lenses at the bottom of the portable camera device run the object detection algorithm and report the detected location information about the specified object to the gimbal main controller for post-processing logic, and link the zoom lens to record and capture in real time.
[0178] The portable camera device supports importing facial data into the database for modeling, that is, the facial image captured by the zoom lens can be compared with the facial data in the imported database to perform object identity authentication. Specifically, the main controller deployed on the gimbal runs algorithms such as facial detection and helmet detection. After receiving the position information reported by the fixed-focus lens at the bottom, the gimbal is linked to rotate to record and capture the specified object in real time; wherein, the zoom lens is first adjusted to magnify the specified object, and helmet detection and facial feature detection are performed. When the facial score reaches the set threshold, the snapshot is taken. Among them, the facial score includes the angle of the face, the size of the pupil distance, etc. For the face whose score reaches the set threshold, the image data of the captured face is uploaded to the database of the portable camera device for facial data comparison, and the final capture and comparison identity authentication results are output. At the same time, the facial detection and comparison identity authentication results, such as: detection results, calibration frames, etc., can be intuitively displayed by character overlay.
[0179] The present application provides a method for detecting a work scene based on a portable camera device. When detecting a high-tower work site, the horizontal fixed-focus lens at the bottom of the portable camera device focuses on the bottom of the tower, the tower base is located in the middle of the field of view, and the tower top is located in the area above the field of view. The two fixed-focus lenses monitor in real time whether there are construction workers in the high-tower work scene. After detecting the presence of construction workers, the image position information of the construction workers, that is, the position information, is fed back to the main controller of the pan-tilt head. The main controller, based on the position information, links the pan-tilt head to rotate and adjusts the construction workers to the center of the field of view of the zoom lens, and then controls the zoom lens to perform optical and digital zooming, zooming in on the construction workers to fill the zoom lens' shooting picture, previewing the picture to show close-up shots, detecting and capturing the construction workers' faces and helmet wearing status, and after the detection is completed, the lens stays for a few seconds to slowly zoom and distance the field of view, and the main controller waits for the next position information to be reported.
[0180] After the construction workers complete the preparatory work before the operation at the bottom of the tower, they begin to climb the tower. As the construction workers continue to climb, they gradually enter the intersection of the field of view of the horizontal fixed-focus lens and the tilted fixed-focus lens. The portable camera device uses two fixed-focus lenses by default to detect whether there is a human body in the entire field of view. The detection area can be configured as needed. When in use, you can log in to the web end of the portable camera device to configure the detection area of the two fixed-focus lenses according to the actual application scenario and the horizontal distance of the installation. In addition, in order to avoid repeated close-up magnification detection of the same construction worker, the intersection range is only detected by one fixed-focus lens (which can be configured as a horizontal fixed-focus lens or a tilted fixed-focus lens). The close-up, detection, and capture logic of the human body are the same as above. When the construction workers climb to the field of view of the tilted fixed-focus lens, the tilted fixed-focus lens detects whether there is a human body. After the tilted fixed-focus lens detects the human body, it feeds back the position information to the main controller, and the main controller links the pan / tilt and zoom lens to capture the construction workers in close-up. In general, the horizontal and tilted fixed-focus lenses at the bottom of the portable camera device are responsible for detecting whether there are human bodies in the entire working scene. The zoom lens on the pan-tilt head is responsible for close-up magnification of the human body and detection of the face and the wearing status of the safety helmet. The main controller closes up the human body in the order of the human body at the base of the tower, the human body on the tower body, and the human body on the top of the tower (that is, for high-tower working scenes, the priority of the detection areas is from high to low: tower base area, tower body area (this area is the intersection area, which may belong to the detection area of the horizontal fixed-focus lens or the tilted fixed-focus lens), and tower top area). From bottom to top, the construction personnel in the entire working scene are cyclically zoomed in and captured, and the entire working process is recorded and detected. It can be seen that this application can perform scene detection for working scenes with high detection requirements.
[0181] The working scene detection method based on the portable camera device provided in the embodiment of the present application adopts a three-lens camera device with a zoom lens and two fixed-focus lenses. The zoom lens supports the rotation control through the pan-tilt head, and is responsible for realizing the real-time recording of the object and the magnified capture of the face. The bottom horizontal fixed-focus lens identifies the horizontal working scene on the ground, and the tilted fixed-focus lens identifies the high-altitude working scene. The three-lens combination can cover the overall working scene of the tower. The problem that single-camera and dual-camera equipment cannot cover both the ground area and the high-altitude area for some high-altitude working scenes is solved. The portable camera device has built-in human body, face, and safety helmet detection algorithms, which support real-time recording and capture of construction workers. At the same time, the gyroscope and magnetic encoder provide a higher level of accuracy for the rotation of the position information motor of the portable camera device, taking into account more business scenarios.
[0182] Based on the above method embodiment, the present application also provides a work scene detection device based on a portable camera device, which is applied to a main controller of the portable camera device, wherein the portable camera device also includes a first lens arranged on a pan / tilt platform, and a second lens and a tilt lens arranged on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude work scene; Figure 8 As shown, the device comprises:
[0183] The receiving module 810 is used to receive the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens;
[0184] The selection module 820 is used to determine the current location information to be processed according to a predetermined location information determination method; wherein the location information determination method includes: whenever a location information is received, the location information is used as the current location information to be processed;
[0185] A processing module 830, configured to perform linkage processing on the current position information based on the first lens in response to determining the current position information;
[0186] The execution module 840 is used to execute a predetermined detection task matching the aerial work scene for a designated object with current position information based on the processing result obtained by the linkage processing.
[0187] The portable camera device provided in the embodiment of the present application is used for the main controller of the portable camera device. The portable camera device also includes a first lens arranged on the pan-tilt platform and a second lens and a tilt lens arranged on the base. The tilt lens is tilted upward. There is no overlapping area in the detection area corresponding to the second lens and the tilt lens, and the detection area corresponding to the second lens and the tilt lens covers the overall detection area of the high-altitude operation scene, so that the overall area of the high-altitude operation scene is used as the detected area. During the detection process, the main controller can receive the position information of the specified object reported by the second lens and the tilt lens, each position information is the image position information of the specified object reported when the second lens and the tilt lens recognize the specified object in the corresponding detection area; and the main controller can determine the current position information to be processed according to the predetermined position information determination method, and after determining the current position information, perform linkage processing on the current position information based on the first lens. After the linkage processing is completed, the predetermined detection task matching the high-altitude operation scene for the specified object can be executed based on the processing result of the linkage processing to realize the detection of the overall detection area of the high-altitude operation scene. It can be seen that the present application uses the second lens and the tilt lens of the portable camera device to identify the designated object in the overall detection area of the high-altitude working scene, and then uses the first lens for linkage processing, so as to realize the overall detection area of the high-altitude working scene and perform scene detection. Therefore, the present application can perform scene detection on working scenes with high detection requirements.
[0188] Optionally, whenever receiving a piece of location information, taking the location information as the current location information to be processed includes:
[0189] In response to the detection mode for the aerial work scene being the first detection mode, whenever a position information is received, the position information is used as the current position information to be processed;
[0190] The first detection mode is a detection mode for immediately responding to the received location information.
[0191] Optionally, the location information determining method further includes:
[0192] In response to the detection mode for the aerial work scene being the second detection mode, performing the following operations:
[0193] Whenever a position information is received, the received position information is added to the corresponding queue, and in response to detecting a candidate queue, if the number of candidate queues is one, the position information belonging to the head of the queue is taken out from the candidate queue as the current position information to be processed, and the candidate queue is a queue that is not empty; if the number of candidate queues is multiple, the following steps are performed:
[0194] If the position information has been selected and the first queue to which the position information selected last time belongs is a candidate queue, the position information belonging to the head of the queue is taken out from the first queue as the current position information to be processed; otherwise, a candidate queue to be processed is selected from multiple candidate queues, and the position information belonging to the head of the queue is taken out from the selected candidate queue as the current position information to be processed;
[0195] The method of selecting a candidate queue to be processed from the multiple candidate queues includes: determining the priority of each designated detection area; wherein each designated detection area is a detection area of a lens corresponding to each candidate queue; based on a preset priority relationship of the detection area, selecting a candidate queue to be processed from the multiple candidate queues;
[0196] The second detection mode is a detection mode for performing a non-instant response to the received position information, and the queue corresponding to each position information is: the queue corresponding to the lens that reports the position information.
[0197] Optionally, the detection area corresponding to the second lens is a ground area, and the detection area corresponding to the tilt lens is a high-altitude area; the priority of the ground area is higher than that of the high-altitude area;
[0198] The selecting a candidate queue to be processed from a plurality of candidate queues based on a preset priority relationship of the detection area includes:
[0199] From multiple candidate queues, a queue corresponding to the second lens is selected to obtain a candidate queue to be processed.
[0200] Optionally, the device is also used for:
[0201] If the object ID associated with the received location information is different from the object ID associated with the location information currently existing in the corresponding queue, the received location information is added to the corresponding queue;
[0202] If the object ID associated with the received location information is the same as the object ID associated with a location information currently existing in the corresponding queue, the received location information is deleted.
[0203] Optionally, the linkage processing includes:
[0204] Determine a target gimbal posture corresponding to the current position information; wherein the target gimbal posture is: a gimbal posture that enables a specified object at a scene position corresponding to the current position information to enter the field of view of the first lens;
[0205] The gimbal is adjusted to the target gimbal posture, and the first lens is controlled to focus to magnify the specified object in the field of view, and the focused first lens is controlled to capture an image of the specified object in the field of view to obtain a processing result; in response to the duration of image capture of the specified object in the field of view reaching a predetermined duration, the image capture is terminated and the focus of the first lens is restored.
[0206] Optionally, the determining a target gimbal posture corresponding to the current position information includes:
[0207] Determining a target gimbal posture corresponding to the current position information based on a correspondence between a gimbal posture and image position information about the gimbal preset for a specified lens;
[0208] Among them, the designated lens is the lens that reports the current position information; in the corresponding relationship, any image position information is the image position information in the capture screen of the designated lens, and the corresponding gimbal posture is the posture that makes the designated object at the scene position corresponding to the image position information enter the field of view of the first lens.
[0209] Optionally, controlling the first lens to focus so as to magnify a specified object in a field of view includes:
[0210] Determining a focal length parameter to be used according to the area size indicated by the current position information;
[0211] The first lens is focused according to the focal length parameter to be used to magnify a designated object in a field of view.
[0212] Optionally, the execution module is specifically used to:
[0213] Based on the processing results obtained by the linkage processing, target detection processing is performed on the specified object with current position information that matches the aerial work scene; wherein the target detection processing includes: object detection, object feature detection, object identity authentication detection, safety rope detection and / or safety helmet detection.
[0214] Optionally, the processing result of the linkage processing includes multiple frames of image data; and the device further includes a screening module, which is used to:
[0215] Performing recognition processing of designated dimensions on each frame of image data collected to obtain recognition results of each frame of image data; wherein the designated dimensions include: dimensions of facial angles and / or dimensions of pupil distance;
[0216] Based on the preset screening conditions and the recognition results corresponding to each frame of image data, each frame of image data is screened to obtain screened image data;
[0217] The execution module is specifically used for:
[0218] Based on the filtered image data, a predetermined detection task matching the aerial work scene is performed for a designated object having current position information.
[0219] The embodiment of the present application also provides a portable camera device, comprising: a main controller, a first lens arranged on a pan-tilt head, and a second lens and a tilt lens arranged on a base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have an overlapping area, and the detection areas corresponding to the second lens and the tilt lens cover the entire detection area of the high-altitude working scene;
[0220] Each of the second lens and the oblique lens is used to report the position information of the designated object to the main controller when the designated object is identified in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object, and the designated object is an object that moves from bottom to top in the aerial work scene;
[0221] The main controller is used to receive the position information of the designated object reported by the second lens and the tilt lens when the designated object is recognized in the corresponding detection area; determine the current position information to be processed according to the predetermined position information determination method; in response to determining the current position information, based on the first lens, perform linkage processing on the current position information; based on the processing result obtained by the linkage processing, execute the predetermined detection task matching the aerial work scene for the designated object with the current position information; wherein, the order of receiving the position information of the same designated object by the second lens and the tilt lens is: the order of appearance of the same designated object in the detection area corresponding to the second lens and the tilt lens; the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed;
[0222] The first lens is used to perform linkage processing on the current position information under the control of the main controller.
[0223] The portable camera device provided by the embodiment of the present application includes a main controller, a first lens arranged on the pan-tilt head, and a second lens and a tilt lens arranged on the base, the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not have overlapping areas, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of the high-altitude operation scene, so that the overall area of the high-altitude operation scene is used as the detected area. During the detection process, the main controller can receive the position information of the specified object reported by the second lens and the tilt lens, and each position information is the image position information of the specified object reported when the second lens and the tilt lens recognize the specified object in the corresponding detection area; and the main controller can determine the current position information to be processed according to the predetermined position information determination method, and after determining the current position information, perform linkage processing on the current position information based on the first lens, and after the linkage processing is completed, it can execute the predetermined detection task for the specified object that matches the high-altitude operation scene based on the processing result of the linkage processing, so as to realize the detection of the overall detection area of the high-altitude operation scene. It can be seen that the present application uses the second lens and the tilt lens of the portable camera device to identify the designated object in the overall detection area of the high-altitude working scene, and then uses the first lens for linkage processing, so as to realize the overall detection area of the high-altitude working scene and perform scene detection. Therefore, the present application can perform scene detection on working scenes with high detection requirements.
[0224] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned work scene detection methods based on a portable camera device are implemented.
[0225] In another embodiment provided in the present application, a computer program product including instructions is also provided. When the computer program product is executed on a computer, the computer executes any one of the work scene detection methods based on a portable camera device in the above embodiments.
[0226] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0227] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0228] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0229] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A method for detecting an operation scene based on a portable camera device, characterized in that: A main controller applied to a portable camera device, the portable camera device further comprising a first lens arranged on a pan head, and a second lens and a tilt lens arranged on a base, the tilt lens tilts upward, the detection areas corresponding to the second lens and the tilt lens do not overlap, and the detection areas corresponding to the second lens and the tilt lens cover the overall detection area of a high-altitude working scene; the method comprising: Receive the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens; Determine the current position information to be processed according to a predetermined position information determination method; wherein the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed; In response to determining the current position information, performing linkage processing on the current position information based on the first lens; Based on the processing results obtained by the linkage processing, a predetermined detection task matching the aerial work scene is executed for a designated object having current position information.
2. The method according to claim 1, characterized in that Whenever receiving a piece of location information, taking the location information as the current location information to be processed includes: In response to the detection mode for the aerial work scene being the first detection mode, whenever a position information is received, the position information is used as the current position information to be processed; The first detection mode is a detection mode for immediately responding to the received location information.
3. The method according to claim 2, characterized in that The location information determination method further includes: In response to the detection mode for the aerial work scene being the second detection mode, performing the following operations: Whenever a position information is received, the received position information is added to the corresponding queue, and in response to detecting a candidate queue, if the number of candidate queues is one, the position information belonging to the head of the queue is taken out from the candidate queue as the current position information to be processed, and the candidate queue is a queue that is not empty; if the number of candidate queues is multiple, the following steps are performed: If the position information has been selected and the first queue to which the position information selected last time belongs is a candidate queue, the position information belonging to the head of the queue is taken out from the first queue as the current position information to be processed; otherwise, a candidate queue to be processed is selected from multiple candidate queues, and the position information belonging to the head of the queue is taken out from the selected candidate queue as the current position information to be processed; The method of selecting a candidate queue to be processed from the multiple candidate queues includes: determining the priority of each designated detection area; wherein each designated detection area is a detection area of a lens corresponding to each candidate queue; based on a preset priority relationship of the detection area, selecting a candidate queue to be processed from the multiple candidate queues; The second detection mode is a detection mode for performing a non-instant response to the received position information, and the queue corresponding to each position information is: the queue corresponding to the lens that reports the position information.
4. The method according to claim 3, characterized in that The detection area corresponding to the second lens is the ground area, and the detection area corresponding to the tilt lens is the high-altitude area; the priority of the ground area is higher than that of the high-altitude area; The selecting a candidate queue to be processed from a plurality of candidate queues based on a preset priority relationship of the detection area includes: From multiple candidate queues, a queue corresponding to the second lens is selected to obtain a candidate queue to be processed.
5. The method according to claim 3, characterized in that: Before adding the received location information to the corresponding queue, the method further includes: If the object ID associated with the received location information is different from the object ID associated with the location information currently existing in the corresponding queue, the received location information is added to the corresponding queue; If the object ID associated with the received location information is the same as the object ID associated with a location information currently existing in the corresponding queue, the received location information is deleted.
6. The method according to any one of claims 1 to 5, characterized in that: The linkage processing includes: Determine a target gimbal posture corresponding to the current position information; wherein the target gimbal posture is: a gimbal posture that enables a specified object at a scene position corresponding to the current position information to enter the field of view of the first lens; The gimbal is adjusted to the target gimbal posture, and the first lens is controlled to focus to magnify the specified object in the field of view, and the focused first lens is controlled to capture an image of the specified object in the field of view to obtain a processing result; in response to the duration of image capture of the specified object in the field of view reaching a predetermined duration, the image capture is terminated and the focus of the first lens is restored.
7. The method according to claim 6, characterized in that The determining the target gimbal posture corresponding to the current position information includes: Determining a target gimbal posture corresponding to the current position information based on a correspondence between a gimbal posture and image position information about the gimbal preset for a specified lens; Among them, the designated lens is the lens that reports the current position information; in the corresponding relationship, any image position information is the image position information in the capture screen of the designated lens, and the corresponding gimbal posture is the posture that makes the designated object at the scene position corresponding to the image position information enter the field of view of the first lens.
8. The method according to claim 6, characterized in that The controlling the first lens to focus so as to magnify a designated object in a field of view includes: Determining a focal length parameter to be used according to the area size indicated by the current position information; The first lens is focused according to the focal length parameter to be used to magnify a designated object in a field of view.
9. The method according to any one of claims 1 to 5, characterized in that: The processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a designated object having current position information, including: Based on the processing results obtained by the linkage processing, target detection processing is performed on the specified object with current position information that matches the aerial work scene; wherein the target detection processing includes: object detection, object feature detection, object identity authentication detection, safety rope detection and / or safety helmet detection.
10. The method according to any one of claims 1 to 5, characterized in that: The processing result of the linkage processing includes multiple frames of image data; Before executing a predetermined detection task matching the aerial work scene for a designated object having current position information based on the processing result obtained by the linkage processing, the method further includes: Performing recognition processing of designated dimensions on each frame of image data collected to obtain recognition results of each frame of image data; wherein the designated dimensions include: dimensions of facial angles and / or dimensions of pupil distance; Based on the preset screening conditions and the recognition results corresponding to each frame of image data, each frame of image data is screened to obtain screened image data; The processing result obtained based on the linkage processing is used to execute a predetermined detection task matching the aerial work scene for a designated object having current position information, including: Based on the filtered image data, a predetermined detection task matching the aerial work scene is performed for a designated object having current position information.
11. A working scene detection device based on a portable camera device, characterized in that: A main controller applied to a portable camera device, the portable camera device further comprising a first lens arranged on a pan / tilt platform, and a second lens and a tilt lens arranged on a base, the tilt lens tilting upward, the detection areas corresponding to the second lens and the tilt lens having no overlapping area and the detection areas corresponding to the second lens and the tilt lens covering the entire detection area of a high-altitude working scene; the device comprising: A receiving module, used for receiving the position information of the designated object reported by the second lens and the oblique lens when the designated object is recognized in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object; the designated object is an object that has a bottom-up movement process in the aerial work scene, and the order of receiving the position information of the second lens and the oblique lens for the same designated object is: the order of appearance of the same designated object in the detection areas corresponding to the second lens and the oblique lens; A determination module, used to determine the current location information to be processed according to a predetermined location information determination method; wherein the location information determination method includes: whenever a location information is received, the location information is used as the current location information to be processed; a processing module, configured to perform linkage processing on the current position information based on the first lens in response to determining the current position information; The execution module is used to execute a predetermined detection task matching the aerial work scene for a designated object with current position information based on the processing result obtained by the linkage processing.
12. A portable camera device, characterized in that: include: A main controller, a first lens arranged on the pan-tilt head, and a second lens and a tilt lens arranged on the base, wherein the tilt lens is tilted upward, and the detection areas corresponding to the second lens and the tilt lens do not overlap, and the detection areas corresponding to the second lens and the tilt lens cover the entire detection area of the aerial work scene; Each of the second lens and the oblique lens is used to report the position information of the designated object to the main controller when the designated object is identified in the corresponding detection area; wherein the position information of the designated object is the image position information of the designated object, and the designated object is an object that moves from bottom to top in the aerial work scene; The main controller is used to receive the position information of the designated object reported by the second lens and the tilt lens when the designated object is recognized in the corresponding detection area; determine the current position information to be processed according to the predetermined position information determination method; in response to determining the current position information, based on the first lens, perform linkage processing on the current position information; based on the processing result obtained by the linkage processing, execute the predetermined detection task matching the aerial work scene for the designated object with the current position information; wherein, the order of receiving the position information of the same designated object by the second lens and the tilt lens is: the order of appearance of the same designated object in the detection area corresponding to the second lens and the tilt lens; the position information determination method includes: whenever a position information is received, the position information is used as the current position information to be processed; The first lens is used to perform linkage processing on the current position information under the control of the main controller.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Video fusion and video linkage method based on three-dimensional scene and electronic equipment
CN111836012A
Abnormal behavior analysis method and device based on intelligent linkage of multiple video cameras
CN114565882A
Scene acquisition method, acquisition device, camera equipment and storage medium
CN115065782A
Wind driven generator inspection method and device based on unmanned aerial vehicle
CN115791796A
Method for supervising safety of high-altitude operation, inspection equipment and computing equipment
CN116959028A
