Traffic camera, method and apparatus for identifying a target object

By integrating an image sensor and circuit board into a traffic camera for image recognition processing, abnormal traffic behavior can be quickly identified and reported, solving the problem that existing traffic cameras cannot provide timely feedback on road information and achieving accurate traffic condition feedback.

CN114187566BActive Publication Date: 2025-10-24BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111439155.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2025-10-24
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

Existing traffic cameras cannot provide timely and rapid feedback on real-time road conditions, such as traffic congestion and accidents, leading to prolonged traffic jams.

Method used

By integrating image sensors and circuit boards into traffic cameras, target images are acquired and image recognition processing is performed to determine whether abnormal traffic behavior exists, and the abnormal information is reported to the server.

Benefits of technology

It achieves rapid identification of abnormal traffic behavior and accurate feedback of traffic conditions, solving the problem of poor recognition effect in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114187566B_ABST
    Figure CN114187566B_ABST
Patent Text Reader

Abstract

The disclosure provides a traffic camera, a method and device for identifying a target object, and relates to the technical field of image processing, and particularly to the field of intelligent traffic. The method is applied to the traffic camera, and the traffic camera comprises at least one image sensor and a first circuit board. The specific implementation scheme is that the at least one image sensor is controlled to collect a target image, wherein the display content in the target image comprises a target object to be identified; the target image is subjected to image recognition processing on the first circuit board to determine whether the target object has an abnormal traffic behavior; and when the target object has the abnormal traffic behavior, traffic anomaly information is reported to a target server.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of image processing, further relates to the field of intelligent transportation, and in particular relates to a traffic camera, a method and device for identifying a target object. BACKGROUND

[0002] In an intelligent transportation system, a traffic camera is usually used to detect and capture motor vehicles passing through a city trunk road in real time, and then record the passing information of the vehicles and analyze the data of the traffic flow through a server.

[0003] The traffic camera in the related art only serves as real-time monitoring, and transmits a video stream to a corresponding server for identification and analysis, but cannot timely and quickly feed back road site information, such as road congestion, traffic accidents and other sudden phenomena, so that traffic congestion occurs for a long time. SUMMARY

[0004] The present disclosure provides a traffic camera, a method and device for identifying a target object to at least solve the technical problem of poor identification effect of abnormal traffic behavior in the related art.

[0005] According to an aspect of the present disclosure, a traffic camera is provided, comprising: at least one image sensor and a first circuit board; the at least one image sensor is configured to capture a target image, wherein the display content in the target image comprises a target object to be identified; and the first circuit board is configured to perform image recognition processing on the target image to determine whether the target object has an abnormal traffic behavior.

[0006] According to another aspect of the present disclosure, a method for identifying a target object is provided, the method is applied to a traffic camera, the traffic camera comprises at least one image sensor and a first circuit board, and the method comprises: controlling the at least one image sensor to capture a target image, wherein the display content in the target image comprises a target object to be identified; performing image recognition processing on the target image on the first circuit board to determine whether the target object has an abnormal traffic behavior; and when the target object has an abnormal traffic behavior, reporting traffic anomaly information to a target server.

[0007] According to another aspect of the present disclosure, a device for identifying a target object is provided, comprising: a control module configured to control at least one image sensor to capture a target image, wherein the display content in the target image comprises a target object to be identified; an identification module configured to perform image recognition processing on the target image on a first circuit board to determine whether the target object has an abnormal traffic behavior; and a reporting module configured to report traffic anomaly information to a target server when the target object has an abnormal traffic behavior.

[0008] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for identifying a target object according to the present disclosure.

[0009] According to another aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to perform the method for identifying a target object according to the present disclosure.

[0010] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, and the computer program is used to enable a processor to perform the method for identifying a target object according to the present disclosure.

[0011] In the present disclosure, by controlling at least one image sensor to collect a target image, the display content in the target image includes a target object to be identified, and then performing image recognition processing on the target image on a first circuit board to determine whether the target object has an abnormal traffic behavior; when the target object has an abnormal traffic behavior, traffic anomaly information is reported to a target server, thereby achieving the purpose of quickly determining whether the target object has an abnormal traffic behavior by using a traffic camera, realizing the effect of accurately identifying abnormal traffic behavior and quickly feeding back traffic conditions, and thereby solving the technical problem of poor identification effect of abnormal traffic behavior in related technologies.

[0012] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0013] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:

[0014] Figure 1 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for identifying a target object according to an embodiment of the present disclosure;

[0015] Figure 2 is an architectural schematic diagram of a traffic camera according to an embodiment of the present disclosure;

[0016] Figure 3 is a flowchart of a method for identifying a target object according to an embodiment of the present disclosure;

[0017] Figure 4 is a structural block diagram of an apparatus for identifying a target object according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, in which various details are set forth to facilitate an understanding of the embodiments of the present disclosure. However, it will be apparent to those of ordinary skill in the art that various changes in the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, the description set forth in the following description of the embodiments does not limit the scope of the disclosure in any way.

[0019] It should be noted that the terms "first", "second", and the like, in the description and the claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the disclosure described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or apparatus including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product, or apparatus.

[0020] In related solutions, traffic cameras deployed in a traffic road network only serve as real-time monitoring, and video streams are transmitted to corresponding servers for identification analysis. Due to the influence of environmental and weather factors, traffic cameras cannot meet the high-pixel image quality requirements for long distances, and when shooting vehicles driving at high speed, there may be image distortion, inability to capture the driver's face, driving posture, vehicle speed, license plate, and the like. Therefore, the traffic cameras in related solutions cannot timely and quickly feedback road site information, such as road congestion, traffic accidents, and other sudden phenomena, resulting in long-term congestion of traffic.

[0021] According to the embodiments of the present disclosure, a method for identifying a target object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that described herein.

[0022] The method embodiments provided by the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal, or a similar electronic device. The electronic device is intended to represent a variety of forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present disclosure described and / or claimed in this document. Figure 1 A hardware structure block diagram of a computer terminal (or a mobile device) for implementing the method of identifying a target object is shown.

[0023] As shown in Figure 1 The computer terminal 100 includes a computing unit 101 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 102 or a computer program loaded into a random access memory (RAM) 103 from a storage unit 108. In the RAM 103, various programs and data required for the operation of the computer terminal 100 can also be stored. The computing unit 101, the ROM 102, and the RAM 103 are connected to each other through a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.

[0024] A plurality of components in the computer terminal 100 are connected to the I / O interface 105, including: an input unit 106, such as a keyboard, a mouse, and the like; an output unit 107, such as various types of displays, speakers, and the like; a storage unit 108, such as a magnetic disk, an optical disk, and the like; and a communication unit 109, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 109 allows the computer terminal 100 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0025] The computing unit 101 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 101 performs the method of identifying a target object described herein. For example, in some embodiments, the method of identifying a target object can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 108. In some embodiments, part or all of the computer program can be loaded and / or installed onto the computer terminal 100 via the ROM 102 and / or the communication unit 109. When the computer program is loaded onto the RAM 103 and executed by the computing unit 101, one or more steps of the method of identifying a target object described herein can be performed. Alternatively, in other embodiments, the computing unit 101 can be configured to perform the method of identifying a target object by any other appropriate means, such as by means of firmware.

[0026] Various implementations of the systems and techniques described herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0027] It is noted here that in some optional embodiments, the above-mentioned Figure 1 The electronic device shown can include hardware elements (including circuitry), software elements (including computer code stored on a computer readable medium), or a combination of both hardware and software elements. It should be noted that Figure 1 is merely one instance of a particular concrete example and is intended to show the types of components that can be present in the electronic device described above.

[0028] An embodiment of the present disclosure provides a traffic camera, comprising: at least one image sensor and a first circuit board;

[0029] at least one image sensor configured to acquire a target image, wherein the display content in the target image comprises a target object to be recognized;

[0030] The target object to be recognized comprises a pedestrian, a motor vehicle, or a non-motor vehicle on a road.

[0031] The first circuit board is configured to perform image recognition processing on the target image to determine whether the target object has an abnormal traffic behavior.

[0032] The first circuit board can be a main board of the traffic camera, and main circuit systems of the traffic camera can be installed on the main board. Specifically, the first circuit board can adopt a CV2S88 chip, a memory of 4 GB, and on-board storage of 64 GB, and mainly store system image files, algorithm models, and various model libraries.

[0033] In the traffic camera of the above embodiment, the at least one image sensor acquires the target image, and the first circuit board performs image recognition processing on the target image to determine whether the target object has an abnormal traffic behavior, thereby achieving the purpose of quickly determining whether the target object has an abnormal traffic behavior by using the traffic camera, realizing the effect of accurately recognizing the abnormal traffic behavior and quickly feeding back the traffic condition, and solving the technical problem of poor recognition effect of the abnormal traffic behavior in the related art.

[0034] The traffic camera in the above embodiment is further introduced as follows.

[0035] As an optional implementation, the first circuit board comprises a universal serial bus interface, and the universal serial bus interface is a master interface in a default state.

[0036] The universal serial bus interface is configured to switch from a master interface to a slave interface when burning an image file to the first circuit board, and burn the image file to the first circuit board, wherein the image file comprises configuration information for controlling the traffic camera to start running.

[0037] For example, the mainboard adopts a CV2S88 chip to provide an OTG USB interface, which is a master interface in a default state, and a switch chip can be used to control the OTG USB interface to be a master interface or a slave interface. When burning the configuration information for starting and running the traffic camera into the CV2S88 chip, the switch chip is used to control the OTG USB interface to switch from the master interface in the default state to the slave interface, at this time the traffic camera is connected to a PC as a slave device, and the above-mentioned configuration information is written into an EMMC in the CV2S88 chip through the PC. When the writing process is completed, the switch chip is used to control the OTG USB interface to switch from the slave interface in the default state to the master interface, so as to be used for connecting other external storage devices, or used for expanding a network, such as a WiFi network, a 4G network, a wired network, and the like. th

[0038] As an optional implementation, the first circuit board comprises: a first general-purpose input / output interface.

[0039] The first general-purpose input / output interface is used to determine an aperture mode of the traffic camera.

[0040] The aperture mode of the traffic camera comprises two modes of DC-IRIS and P-IRIS.

[0041] ​For example, the general purpose input / output interface (GPIO) on the main board can be used in pulse width modulation (PWM) mode, mainly for controlling the aperture, and can support both DC-IRIS and P-IRIS modes. In addition to providing on-board 64GB EMMC, the GPIO of the main board also provides a plug-and-play memory card (TF card) interface for storing customer data. The GPIO of the main board also provides algorithm hardware authentication, and the authentication chip is ATSHA204A. The main board also includes an electrically erasable programmable read-only memory (EEPROM) circuit for storing device media access control address (MAC), device number and other information, ensuring product consistency and facilitating later maintenance. The main board also includes a real-time clock (RTC) circuit using a BM8563EMA chip to ensure the accuracy of the system time when the traffic camera is not powered on.

[0042] As an optional implementation, the at least one image sensor includes a color sensor and an infrared sensor.

[0043] The first circuit board is further configured to control at least one of the color sensor and the infrared sensor to capture the target image based on application scenario information of the target object.

[0044] The application scenario information of the target object includes position information and ambient light information.

[0045] For example, the traffic camera includes two camera boards, one of which is a color sensor (RGB) and the other is an infrared sensor (IR). The two camera boards share the same road and field signals to ensure synchronization of each frame of RGB and IR images, realize dual light fusion, and ultimately obtain a high-definition image.

[0046] Specifically, both camera boards can use IMX305 CMOS chips, and the main board controls at least one of the color sensor and the infrared sensor to capture the target image based on the position information and the ambient light information of the target object, thereby reducing the cost. Specifically, the color sensor and the infrared sensor are used simultaneously to capture the target image at a highway section; only the color sensor is used to capture the target image at a highway toll station or a scene with good light; only the infrared sensor is used to capture the target image in a scene with low image quality requirements and no color display requirements.

[0047] As an optional implementation, the traffic camera further comprises: a second circuit board, the second circuit board comprising: a switching switch and a first power supply interface;

[0048] The switching switch is configured to switch among a plurality of power supply modes provided for the first circuit board to select a target power supply mode.

[0049] The first power supply interface is configured to supply power for the first circuit board.

[0050] For example, the second circuit board is an expansion board, and a power supply of the expansion board can adopt a Power Over Ethernet (POE) controller TPS23751PWP with an output power of 25W, so that the traffic camera can simultaneously realize transmission of information and transmission of electric energy through a network cable, and output a 12V power supply voltage at the first power supply interface after rectification and isolation. The expansion board is also compatible with a Direct Current (DC) 24V power supply mode, filters, overvoltage and overcurrent protects the DC 24V, and outputs a 12V power supply voltage at the first power supply interface after DC-DC step-down. The two power supply modes can be simultaneously connected, and automatic switching is realized by a switching module, so that stable power supply is finally delivered to the main board.

[0051] Specifically, after the expansion board provides a DC 12V power supply for the main board, different power supplies can be provided for chips such as CPU, EMMC and LPDDR4 through various separated DC-DC conversion modules. The main board provides one gigabit wired network, and a Reduced Gigabit Media Independent Interface (RGMII) realizes transmission of the gigabit network through a physical chip KSZ9031RNXUB and a gigabit isolation transformer G2401S. The I2C interface and the I2S interface of the CPU communicate with an audio decoding chip TLV320AIC3101IRHBR, and realize 2-way Microphone (MIC) signal, 1-way input and 1-way output audio functions. The main board provides one TTL level debugging serial port for development and debugging and system state monitoring. Two RS232 and two RS485 interfaces are used for external serial port devices, such as a Global Positioning System (GPS) module.

[0052] As an optional implementation, the second circuit board further comprises: a second power supply interface;

[0053] The second power supply interface is further configured to supply power for external devices associated with the traffic camera.

[0054] The external device can include a fan, a lens wiper, a temperature and humidity sensor, etc.

[0055] For example, the second power supply interface in the expansion board can provide a DC 12V / 1A power output to supply power to the external device such as the fan, the lens wiper, the temperature and humidity sensor, etc.

[0056] As an optional implementation, the second circuit board further includes an audio interface.

[0057] The audio interface is configured to provide a voice intercom function.

[0058] For example, the voice intercom function is provided for a specific scene through the audio interface in the expansion board to realize remote real-time intercom and monitoring.

[0059] As an optional implementation, the second circuit board further includes a second general-purpose input and output interface.

[0060] The second general-purpose input and output interface is configured to isolate and protect the first circuit board.

[0061] For example, the isolation and anti-static protection circuit is added through the GPIO in the expansion board, which can meet the requirements of radar, coil and other trigger modes as input signals, and the output signal can control the screen flash light and the flash light.

[0062] Figure 2 According to the embodiment of the present disclosure, a schematic diagram of the architecture of the traffic camera is provided. Figure 2 As shown in the figure, the traffic camera 200 includes a color sensor 201, an infrared sensor 202, a first circuit board 203 and a second circuit board 204. The color sensor 201 and the infrared sensor 202 are configured to collect target images, and the first circuit board 203 is configured to perform image recognition processing on the target images to determine whether the target object has an abnormal traffic behavior.

[0063] The first circuit board 203 includes a universal serial bus interface 2031 and a first general-purpose input and output interface 2032. The universal serial bus interface 2031 is configured to switch from a master interface to a slave interface when burning an image file to the first circuit board 203, and burn the image file to the first circuit board 203, wherein the image file includes configuration information for controlling the traffic camera to start running. The first general-purpose input and output interface 2032 is configured to determine an aperture mode of the traffic camera.

[0064] The second circuit board 204 comprises a switching switch 2041, a first power supply interface 2042, a second power supply interface 2043, an audio interface 2044, and a second general-purpose input and output interface 2045. The switching switch 2041 is configured to switch between multiple power supply modes provided for the first circuit board to select a target power supply mode. The first power supply interface 2042 is configured to supply power for the first circuit board. The second power supply interface 2043 is further configured to supply power for external devices associated with the traffic camera. The audio interface 2044 is configured to provide a voice intercom function. The second general-purpose input and output interface 2045 is configured to isolate and protect the first circuit board.

[0065] The present disclosure provides a method for identifying a target object as shown in Figure 3 The method is applied to a traffic camera as shown in Figure 2 The specific implementation process can be performed by the first circuit board.

[0066] Figure 3 A method for identifying a target object according to an embodiment of the present disclosure is shown in a flowchart. As shown in Figure 3 The method can include the following steps:

[0067] A method for identifying a target object, the method is applied to a traffic camera, the traffic camera comprises at least one image sensor and a first circuit board, and the method comprises:

[0068] Step S30: controlling the at least one image sensor to capture a target image, wherein the display content in the target image comprises a target object to be identified;

[0069] Step S32: performing image recognition processing on the target image on the first circuit board to determine whether the target object has an abnormal traffic behavior.

[0070] For example, the abnormal traffic behavior includes but is not limited to vehicle overspeed driving, people and non-motor vehicles driving on the highway, intentionally blocking license plates, illegal parking, traffic jams, etc.

[0071] Step S34: when the target object has an abnormal traffic behavior, reporting traffic anomaly information to a target server.

[0072] The target server can be a server deployed in a traffic department and can be used to process the abnormal traffic behavior.

[0073] According to the steps S30 to S34 of the present disclosure, the target image is collected by controlling the at least one image sensor, the display content in the target image includes the target object to be recognized, and then the target image is subjected to image recognition processing on the first circuit board to determine whether the target object has abnormal traffic behavior. When the target object has abnormal traffic behavior, the traffic anomaly information is reported to the target server, thereby achieving the purpose of quickly determining whether the target object has abnormal traffic behavior by using the traffic camera, realizing the effect of accurately identifying abnormal traffic behavior and quickly feeding back traffic conditions, and thereby solving the technical problem of poor identification effect of abnormal traffic behavior in the related art.

[0074] The method for identifying the target object in the above embodiment is further described below.

[0075] As an optional implementation, the at least one image sensor includes a color sensor and an infrared sensor, and in the step S30, the at least one image sensor is controlled to collect the target image, including:

[0076] In step S300, application scenario information of the target object is acquired.

[0077] In step S302, based on the application scenario information, at least one of the color sensor and the infrared sensor is controlled to collect the target image.

[0078] Specifically, the implementation process of collecting the target image can refer to the process of collecting the target image by the traffic camera in the above embodiment, which is not described herein.

[0079] As an optional implementation, the first circuit board includes a universal serial bus interface, and the method for identifying the target object further includes:

[0080] In step S36, the universal serial bus interface is set as a master interface in a default state.

[0081] In step S38, when the image file is burned to the first circuit board, the universal serial bus interface is switched from the master interface to a slave interface, and the image file is burned to the first circuit board, wherein the image file includes configuration information for controlling the traffic camera to start running.

[0082] After the traffic camera in the embodiment of the present disclosure applies the above method for identifying the target object, a high-definition image can be captured under extreme conditions such as low illumination and extremely fast vehicle speed. At the same time, the real-time state of people, motor vehicles and non-motor vehicles can be monitored and identified, abnormal information can be fed back to the traffic department or early warning, and the corresponding video stream can be stored for later calling and processing, which can be used to solve the traffic violation monitoring of urban traffic, abnormal early warning of expressway, traffic flow control and real-time state information of traffic.

[0083] The collection, storage, use, processing, transmission, provision and disclosure of the user personal information in the technical solutions of the present disclosure comply with relevant laws and regulations and do not violate public order and good customs.

[0084] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software on a general hardware platform as necessary, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium, including a plurality of instructions for causing an end device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.

[0085] In the present disclosure, a device for identifying a target object is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, implementation of hardware or a combination of software and hardware is also possible and is contemplated.

[0086] Figure 4 is a structural block diagram of a device for identifying a target object according to an embodiment of the present disclosure, as shown in Figure 4 The device 400 for identifying a target object includes:

[0087] A control module 401 is configured to control at least one image sensor to collect a target image, wherein the display content in the target image includes a target object to be identified.

[0088] An identification module 402 is configured to perform image recognition processing on the target image on a first circuit board to determine whether the target object has an abnormal traffic behavior.

[0089] A reporting module 403 is configured to report traffic anomaly information to a target server when the target object has an abnormal traffic behavior.

[0090] Optionally, the at least one image sensor includes a color sensor and an infrared sensor, and the control module 401 is further configured to: acquire application scenario information of the target object; and control at least one of the color sensor and the infrared sensor to collect the target image based on the application scenario information.

[0091] Optionally, the first circuit board includes a universal serial bus interface, and the device 400 for identifying a target object further includes:

[0092] The setting module 404 is configured to set the universal serial bus interface as a master interface in a default state;

[0093] The processing module 405 is configured to switch the universal serial bus interface from the master interface to a slave interface when the image file is burned to the first circuit board, and burn the image file to the first circuit board, wherein the image file comprises configuration information for controlling the traffic camera to start running.

[0094] It should be noted that the above various modules can be implemented by software or hardware, and for the latter, the following implementation manners can be used, but are not limited thereto: the above modules are located in the same processor; or the above various modules are located in different processors in any combination.

[0095] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device comprising a memory and at least one processor, the memory storing computer instructions, and the processor being configured to execute the computer instructions to perform the steps in the above method embodiments.

[0096] Optionally, the electronic device can further comprise a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0097] Optionally, in the present disclosure, the processor can be configured to execute the following steps by using a computer program:

[0098] S1, controlling at least one image sensor to capture a target image, wherein the display content in the target image comprises a target object to be recognized;

[0099] S2, performing image recognition processing on the target image on the first circuit board to determine whether the target object has an abnormal traffic behavior;

[0100] S3, when the target object has an abnormal traffic behavior, reporting traffic anomaly information to a target server.

[0101] Optionally, specific examples in the present embodiment can refer to the examples described in the above embodiments and optional implementation manners, and the present embodiment will not be described here again.

[0102] According to an embodiment of the present disclosure, the present disclosure further provides a non-transitory computer readable storage medium storing computer instructions, wherein the non-transitory computer readable storage medium stores computer instructions, and the computer instructions are configured to execute the steps in the above method embodiments when running.

[0103] Optionally, in the present embodiment, the non-transitory computer readable storage medium can be configured to store a computer program for executing the following steps:

[0104] S1, control at least one image sensor to capture a target image, wherein the display content in the target image comprises a target object to be recognized;

[0105] S2, perform image recognition processing on the target image on the first circuit board to determine whether the target object has an abnormal traffic behavior;

[0106] S3, when the target object has an abnormal traffic behavior, report traffic abnormal information to a target server.

[0107] Optionally, in the embodiment, the non-transitory computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the above. More specific examples of readable storage media can include one or more wires, portable computer disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0108] According to the embodiments of the present disclosure, the present disclosure also provides a computer program product. The program codes for implementing the audio processing method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to the processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, so that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program codes can be executed entirely on a machine, partially on a machine, partially on a machine as a separate software package, or entirely on a remote machine or server.

[0109] In the above-described embodiments of the present disclosure, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0110] In the several embodiments provided by the present disclosure, it should be understood that the disclosed technology can be implemented in other ways. Of course, the embodiment described above is only illustrative, and for example, the division of the units can be a logical function division, and in actual implementation, another division mode can be used, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or modules shown or discussed can be indirect coupling or communication connection through some interface, unit or module, and can be electrical or other forms.

[0111] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e. may be located in one place, or may be distributed to multiple units. Part or all of the units may be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0112] In addition, each functional unit in each embodiment of the present disclosure can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0113] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical scheme of the present disclosure essentially or the part that contributes to the prior art, or the whole or part of the technical scheme can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present disclosure. The foregoing storage medium includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various program code storage media.

[0114] The above is only the preferred embodiment of the present disclosure, and it should be pointed out that for those skilled in the art, without departing from the principles of the present disclosure, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present disclosure.

Claims

1. A traffic camera, comprising: The at least one image sensor and the first circuit board, the second circuit board, the second circuit board comprising: a switching switch and a first power supply interface, the first circuit board comprising: a universal serial bus interface, the universal serial bus interface being a master interface in a default state; The at least one image sensor is configured to collect a target image, wherein display content in the target image comprises a target object to be identified; The first circuit board is configured to perform image recognition processing on the target image to determine whether the target object has an abnormal traffic behavior; The switching switch is configured to switch between a plurality of power supply modes provided for the first circuit board to select a target power supply mode, wherein the target power supply mode comprises at least one of an active Ethernet power supply mode and a direct current power supply mode, the active Ethernet power supply mode is configured to simultaneously transmit information and electric energy, the direct current power supply mode is configured to output a power supply voltage through the first power supply interface, and the plurality of power supply modes are simultaneously connected to the first circuit board; The first power supply interface is configured to supply power to the first circuit board; The universal serial bus interface is configured to switch from the master interface to a slave interface when burning an image file to the first circuit board, and burn the image file to the first circuit board, wherein the image file comprises configuration information for controlling the traffic camera to start running; and in response to completion of burning the image file, switch from the slave interface to the master interface to connect an external storage device or expand a network.

2. The traffic camera of claim 1, wherein, The first circuit board comprises a first universal input / output interface; The first universal input / output interface is configured to determine an aperture mode of the traffic camera.

3. The traffic camera of claim 1, wherein, The at least one image sensor comprises a color sensor and an infrared sensor; The first circuit board is further configured to control at least one of the color sensor and the infrared sensor to collect the target image based on application scenario information of the target object.

4. The traffic camera of claim 1, wherein, The second circuit board further comprises a second power supply interface; The second power supply interface is further configured to supply power to an external device associated with the traffic camera.

5. The traffic camera of claim 1, wherein, The second circuit board further comprises an audio interface; The audio interface is configured to provide a voice intercom function.

6. The traffic camera of claim 1, wherein, The second circuit board further comprises a second universal input / output interface; The second universal input / output interface is configured to isolate and protect the first circuit board.

7. A method of identifying a target object, the method applied to a traffic camera, the traffic camera comprising: The at least one image sensor and the first circuit board, the second circuit board, the second circuit board comprising: a switching switch and a first power supply interface, the first circuit board comprising: a universal serial bus interface, the universal serial bus interface being a master interface in a default state, the method comprising: Controlling the at least one image sensor to collect a target image, wherein display content in the target image comprises a target object to be identified; Performing image recognition processing on the target image on the first circuit board to determine whether the target object has an abnormal traffic behavior; When the target object has the abnormal traffic behavior, reporting traffic anomaly information to a target server; The method further comprises: The switching switch is controlled to switch between multiple power supply modes provided for the first circuit board to select a target power supply mode, wherein the target power supply mode at least includes one of an active power over Ethernet mode for simultaneously transmitting information and power and a direct current power supply mode for outputting a power supply voltage through a first power supply interface, and the multiple power supply modes are simultaneously connected to the first circuit board; Power is supplied to the first circuit board through the first power supply interface in the target power supply mode; The method further includes: controlling the USB interface to switch from the master interface to a slave interface when burning an image file to the first circuit board, and burning the image file to the first circuit board, wherein the image file includes configuration information for controlling the traffic camera to start running; and switching from the slave interface to the master interface to connect to an external storage device or expand a network in response to completion of burning the image file.

8. The method of claim 7, wherein, The at least one image sensor includes a color sensor and an infrared sensor, and the at least one image sensor is controlled to capture the target image by: obtaining application scenario information of the target object; controlling at least one of the color sensor and the infrared sensor to capture the target image based on the application scenario information.

9. An apparatus for identifying a target object, comprising: a control module configured to control at least one image sensor to capture a target image, wherein display content in the target image includes a target object to be identified; an identification module configured to perform image identification processing on the target image on a first circuit board to determine whether the target object has an abnormal traffic behavior; a reporting module configured to report traffic anomaly information to a target server when the target object has the abnormal traffic behavior; The apparatus further includes a switching module configured to control a switching switch to switch between multiple power supply modes provided for the first circuit board to select a target power supply mode, wherein the target power supply mode at least includes one of an active power over Ethernet mode for simultaneously transmitting information and power and a direct current power supply mode for outputting a power supply voltage through a first power supply interface, and the multiple power supply modes are simultaneously connected to the first circuit board; and supply power to the first circuit board through the first power supply interface in the target power supply mode. The apparatus further includes a setting module configured to set a USB interface as a master interface in a default state; and a processing module configured to switch the USB interface from the master interface to a slave interface when burning an image file to the first circuit board, and burn the image file to the first circuit board, wherein the image file includes configuration information for controlling the traffic camera to start running; and switch from the slave interface to the master interface to connect to an external storage device or expand a network in response to completion of burning the image file.

10. The apparatus of claim 9, wherein, The at least one image sensor comprises a color sensor and an infrared sensor, and the control module is further configured to: obtain application scenario information of the target object; based on the application scenario information, control at least one of the color sensor and the infrared sensor to collect the target image.

11. An electronic device comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 7-8.

12. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 7-8.

13. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 7-8.

Citation Information

Patent Citations

  • Digital camera with interphone function

    CN102404493A

  • Intelligent traffic cooperation device and system

    CN112735127A

  • Digital camera and system thereof

    US20030011704A1