Intelligent multi-stream video coding for video surveillance
By encoding and feature extraction of video at the transmitter site, combined with intelligent image sensors and deep learning technology, the problem of low video transmission efficiency in multi-camera systems in traditional methods is solved, and efficient video and feature data transmission is achieved, which is suitable for Multi-camera systems and machine consumption environments.
Patent Information
- Application Number
- CN202280091642.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-23
- Filing Date
- 2022-12-22
- Publication Date
- 2024-09-24
AI Technical Summary
Traditional video encoding methods require the transmission of large amounts of video data in multi-camera systems, resulting in long real-time analysis and decision-making times, making it difficult to meet the needs of efficient and fast video processing, especially in machine consumption environments.
The video is encoded and features extracted at the transmitter site, and then the encoded bit stream is sent to the video decoder, which combines intelligent image sensor processors and deep learning technology to use convolutional neural networks for real-time detection and encoding, using video mode Video and feature encoding, multiplexing video streams and feature streams for efficient transmission.
Significantly improves decision-making efficiency in multi-video streaming applications, achieves more efficient video transmission than traditional methods, reduces real-time analysis and decision-making time, and is suitable for multi-camera systems and machine consumption environments.
Smart Images

Figure CN118696346A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Provisional Patent Application S / N. 63 / 293,172, filed on December 23, 2021, entitled “INTELLIGENT MULTI-STREAM VIDEOCODING,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present invention generally relates to the field of video encoding and decoding. In particular, the present invention relates to a system and method for intelligent multi-stream video encoding. Background Art
[0004] A video codec may include electronic circuits or software that compresses or decompresses digital video. It can convert uncompressed video to a compressed format, or vice versa. In the context of video compression, a device that compresses video (and / or performs some of its functions) may generally be referred to as an encoder, and a device that decompresses video (and / or performs some of its functions) may be referred to as a decoder.
[0005] The format of the compressed data may conform to standard video compression specifications. The compression may be lossy in that the compressed video lacks some information present in the original video. The result may include that the decompressed video may have a lower quality than the original uncompressed video because there is not enough information to accurately reconstruct the original video.
[0006] There can be a complex relationship between video quality, the amount of data used to represent the video (e.g., determined by the bitrate), the complexity of the encoding and decoding algorithms, sensitivity to data loss and errors, ease of editing, random access, end-to-end delay (e.g., latency), and so on.
[0007] Motion compensation may include methods of predicting a video frame or a portion thereof given a reference frame, such as a previous frame and / or a future frame, by taking into account the motion of the camera and / or objects in the video. It can be used for encoding and decoding of video data for video compression, such as for encoding and decoding using the Advanced Video Coding (AVC) standard (also known as H.264) of the Moving Picture Experts Group (MPEG). Motion compensation may describe a picture based on a transformation from a reference picture to a current picture. The reference picture may be previous in time when compared to the current picture, and may be future when compared to the current picture. Compression efficiency can be improved when images can be accurately synthesized from previously transmitted and / or stored images.
[0008] While video content is typically thought of as being for human consumption, there is a growing demand for video in industrial settings and other environments where content is evaluated by machines rather than humans.
[0009] Recent trends in robotics, surveillance, monitoring, IoT, etc. have introduced use cases where a large portion of all images and videos recorded in the field are only consumed by machines, without ever reaching human eyes. These machines process images and videos with the goal of completing tasks such as object detection, object tracking, segmentation, event detection, etc. Recognizing that this trend is pervasive and will only accelerate in the future, international standardization bodies have worked to standardize image and video coding that is primarily optimized for machine consumption. For example, in addition to already established standards such as Compact Descriptors for Visual Search and Compact Descriptors for Video Analytics, standards like JPEG AI and Video Coding for Machines have been launched. Therefore, it is increasingly important in the art to further improve the encoding and decoding of videos consumed by machines and hybrid systems where both human viewers and machines consume the video.
[0010] In many applications, such as surveillance systems with multiple cameras, smart transportation, smart city applications, and / or smart industrial applications, traditional video encoding may need to compress large amounts of video from cameras and transmit over the network for machine consumption and for human consumption. Subsequently, at the machine site, algorithms for feature extraction can typically be applied using convolutional neural networks or deep learning techniques, including object detection, event action recognition, pose estimation, etc. Summary of the invention
[0011] A system for video surveillance is provided, comprising a plurality of cameras for capturing video content. The camera comprises an action recognition engine that classifies the video content into at least one of a plurality of predetermined actions. The action recognition engine has an interface capable of communicating with at least one other action recognition engine, whereby the detected action and tasks associated with the detected action can be exchanged with another of the plurality of cameras. The camera also comprises a feature encoder and a video encoder, the feature encoder being operably coupled to the action recognition engine and generating an encoded feature substream, the video encoder receiving the video content and providing an encoded video substream. A multiplexer receives the encoded feature substream and the encoded video substream and provides an encoded camera bitstream comprising the encoded video content and the detected action content. The encoded camera bitstream can be decoded at a receiver site so that the video content can be provided for human consumption and the feature content comprising the detected action can be provided to a machine.
[0012] In some embodiments, at least one of the cameras may include a feature multiplexer that receives a set of coded features from at least one other camera and outputs a coded feature bitstream and detected motion content for multiple cameras. In this case, a single coded feature bitstream may be transmitted for multiple cameras.
[0013] In some embodiments, upon detection of a predetermined action by the first camera, the first camera communicates at least one task to the second camera. In another embodiment, upon detection of a predetermined action by the first camera, the first camera communicates the first task to the second camera and the second task to the third camera. The tasks may include at least one of: object detection, object counting, object tracking, and object identification. In the case where the object is a human, object identification may include facial recognition or other biometric identification.
[0014] These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art after reading the following description of specific non-limiting embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] For the purpose of illustrating the invention, the accompanying drawings show various aspects of one or more embodiments of the invention. However, it should be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the accompanying drawings, in which:
[0016] Figure 1 is a block diagram illustrating an exemplary embodiment of a video encoding system;
[0017] Figure 2 is a block diagram illustrating an exemplary embodiment of video encoding for a machine system;
[0018] Figure 3 is a schematic diagram of a multi-video system using IP-based cameras;
[0019] Figure 4 is a schematic diagram and screenshots of a multi-video system using IP-based cameras;
[0020] Figure 5 is a block diagram illustrating an exemplary embodiment of a system for monitoring;
[0021] Figure 6 is a block diagram illustrating an exemplary embodiment of a VCM-based approach in a smart multi-camera system;
[0022] Figure 7 is a block diagram illustrating an exemplary embodiment of a VCM-based approach for violence detection;
[0023] Figure 8is a block diagram illustrating an exemplary embodiment of a surveillance system having multiple AI cameras that are synchronized and use VCM-based encoding;
[0024] Fig. 9 is a block diagram illustrating an exemplary embodiment of a machine learning module;
[0025] Fig.10 is a schematic diagram illustrating an exemplary embodiment of a neural network;
[0026] Fig.11 is a schematic diagram illustrating an exemplary embodiment of a node of a neural network;
[0027] Fig.12 is a block diagram illustrating an exemplary embodiment of a video decoder;
[0028] Fig.13 is a block diagram illustrating an exemplary embodiment of a video encoder; and
[0029] Fig.14 is a block diagram of a computing system that can be used to implement any one or more of the methods disclosed herein, or any one or more portions thereof.
[0030] The drawings are not necessarily drawn to scale and may be illustrated with phantom lines, diagrammatic representations, and incomplete views. In certain instances, details that are not necessary for understanding the embodiments or that render other details difficult to perceive may have been omitted. DETAILED DESCRIPTION
[0031] Figure 1 An exemplary embodiment of a VVC-compliant encoding / decoding system including a channel applied to a machine is shown. Unfortunately, conventional approaches may require a large amount of video transmission from multiple cameras, which may take a lot of time to make efficient and fast real-time analysis and decisions. In some embodiments, the VCM approach can solve this problem by encoding the video at the transmitter site and extracting some features, and then transmitting the resulting encoded bitstream to a VCM decoder. At the decoder site, the video can be decoded for human vision, and the features can be decoded for machines. As used herein, the term VCM refers broadly to video encoding and decoding for machine consumption, and is not limited to a specific proposed protocol.
[0032] "Features" used in the present disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms (hist), motion histograms, speech levels, loudness levels, etc. Features may be timestamped. Each feature may be associated with a single frame in a set of frames. Features may include high-level content features, such as timestamps, labels of people and objects in the video, coordinates of objects and / or regions of interest, frame masks for region-based quantization, and / or any other features that may occur to a person skilled in the art after reviewing the entire contents of the present disclosure. As another non-limiting example, features may include features describing the spatial and / or temporal characteristics of a frame or a set of frames. Examples of features describing spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc. When in offline mode, all machine models as described in further detail below may be stored at the encoder and / or stored in the encoder's memory and / or may be accessed by the encoder. Examples of such models may include, but are not limited to, whole or partial convolutional neural networks, key point extractors, edge detectors, saliency map constructors, etc. When in online mode, one or more models may be transmitted to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.
[0033] At the decoder site, it will be appreciated that video can be decoded for human vision and features can be decoded for machines. Systems that provide video for both human vision and machine consumption are sometimes referred to as hybrid systems. The systems and methods disclosed herein are intended to be applicable to both machine-based systems and hybrid systems.
[0034] Figure 1 1 is a high-level block diagram of a system for encoding and decoding video in a hybrid system that includes human audience consumption of video content and machine consumption. A source video is received by a video encoder 105 that provides a compressed bitstream for transmission over a channel to a video decoder 110. The video encoder can encode video for human consumption as well as encode video for machine consumption. The video decoder 110 provides complementary processing to the compressed bitstream to extract video for human vision 115 and task analysis and feature extraction 120 for machine consumption. Feature extraction can be classified as any computer vision task, such as edge detection, line detection, object detection, or more recent techniques, such as convolutional neural networks, where the output of feature extraction can be spatially mapped back to the pixel space of the input video. Video encoding can include any standard video encoder and / or encoding technique, such as Advanced Video Codec (AVC), Versatile Video Coding (VVC), or High Efficiency Video Coding (HEVC).
[0035] Reference now Figure 2, an exemplary embodiment of an encoder for video coding (VCM) of a machine is shown. The VCM encoder 202 can be implemented using any circuit including but not limited to digital and / or analog circuits; the VCM encoder 202 can be configured using hardware configuration, software configuration, firmware configuration and / or any combination thereof. The VCM encoder 202 can be implemented as a computing device and / or a component of a computing device, which can include but is not limited to any computing device as described below. In one embodiment, the VCM encoder 202 can be configured to receive an input video 204 and generate an output bitstream 208. The reception of the input video 204 can be implemented in any manner described below. The bitstream can include but is not limited to any bitstream as described below.
[0036] The VCM encoder 202 may include, but is not limited to, a preprocessor 206, a video encoder 210, a feature extractor 215, an optimizer 220, a feature encoder 225, and / or a multiplexer 230. The preprocessor 206 may receive an input video 204 stream and parse out video, audio, and metadata substreams of the stream. The preprocessor 206 may include and / or communicate with a decoder, as described in further detail below; in other words, the preprocessor 206 may have the ability to decode the input stream. In a non-limiting example, this may allow the input video 204 to be decoded, which may facilitate downstream pixel domain analysis.
[0037] Further references Figure 2 , VCM encoder 202 can operate in hybrid mode and / or video mode. When in hybrid mode, VCM encoder 200 can be configured to encode visual signals intended for human consumers and to encode feature signals intended for machine consumers; machine consumers may include, but are not limited to, any device and / or component, including, but not limited to, a computing device as described in further detail below. For example, when in hybrid mode, the input signal can pass through preprocessor 206.
[0038] Still reference Figure 2, the video encoder 210 may include, but is not limited to, any video encoder 210 described in further detail below. When the VCM encoder 202 is in hybrid mode, the VCM encoder 202 may send an unmodified input video 204 to the video encoder 210 and send a copy of the same input video 204 and / or an input video 204 that has been modified in some manner to the feature extractor 215. The modifications to the input video 204 may include any scaling, transformation, or other modifications that would occur to a person of ordinary skill in the art after reviewing the entirety of this disclosure. For example, but not limited to, the input video 204 may be rescaled to a smaller resolution, a specific number of pictures in a sequence of pictures in the input video 204 may be discarded, the frame rate of the input video 204 may be reduced, color information may be modified, for example, but not limited to, by converting RGB video to grayscale video, and the like.
[0039] Still reference Figure 2 , the video encoder 210 and the feature extractor 215 are connected and may exchange useful information in both directions. For example, but not limited to, the video encoder 210 may pass motion estimation information to the feature extractor 220, and vice versa. The video encoder 210 may provide a quantization map and / or data description thereof based on a region of interest (ROI) that the video encoder 210 and / or the feature extractor 215 may identify to the feature extractor 215, and vice versa. The video encoder 210 may provide the feature extractor 215 with data describing one or more partitioning decisions based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof; the feature extractor 218 may provide the video encoder 210 with data describing one or more partitioning decisions based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof. The video encoder 210 feature extractor 215 may share and / or transmit temporal information for optimal group of pictures (GOP) decisions to each other. Each of these techniques and / or processes may be performed, without limitation, as described in further detail below.
[0040] Continue to refer Figure 2, the feature extractor 220 can operate in an offline mode or an online mode. The feature extractor 220 can identify and / or otherwise act on and / or manipulate features. "Features" as used in the present disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms, motion histograms, speech levels, loudness levels, etc. Features may be timestamped. Each feature may be associated with a single frame in a set of frames. Features may include high-level content features such as timestamps, labels of people and objects in the video, coordinates of objects and / or regions of interest, frame masks for region-based quantization, and / or any other features that may occur to a person skilled in the art after reviewing the entire contents of this disclosure. As another non-limiting example, features may include features that describe spatial and / or temporal characteristics of a frame or a set of frames. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc. When in offline mode, all machine models as described in further detail below may be stored at the encoder and / or stored in the encoder's memory and / or accessible by the encoder. Examples of such models may include, but are not limited to, whole or partial convolutional neural networks, keypoint extractors, edge detectors, saliency map constructors, etc. When in online mode, one or more models may be transmitted to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.
[0041] Still reference Figure 2 , the feature encoder 225 is configured to encode a feature signal, such as, but not limited to, a feature signal generated by the feature extractor 220. In one embodiment, after extracting the features, the feature extractor 220 may pass the extracted features to the feature encoder 225. The feature encoder 225 may use entropy coding and / or similar techniques (such as, but not limited to, those described below) to generate a feature stream, which may be passed to the multiplexer 230. The video encoder 210 and / or the feature encoder 225 may be connected via the optimizer 220; the optimizer 220 may exchange useful information between the video encoder 210 and the feature encoder 225. For example, but not limited to, information related to codeword construction and / or entropy coding length may be exchanged and reused by the optimizer 220 for optimal compression.
[0042] In one embodiment, continue to refer to Figure 2, the video encoder 210 can generate a video stream; the video stream can be passed to the multiplexer 230. The multiplexer 230 can multiplex the video stream with the feature stream generated by the feature encoder 225; alternatively or additionally, the video and feature bitstreams can be sent to different devices through different channels, different networks, and / or sent at different times or time intervals (time multiplexing). Each of the video stream and the feature stream can be implemented in any manner suitable for implementing any bitstream described in the present disclosure. In one embodiment, multiplexing the video stream and the feature stream can produce a mixed bitstream, which can be transmitted as described in further detail below.
[0043] Still reference Figure 2 , where the VCM encoder 200 is in video mode, the VCM encoder 200 may use the video encoder 210 for video and feature encoding. The feature extractor 220 may transmit the features to the video encoder 210; the video encoder 210 may encode the features into a video stream decodable by a corresponding video decoder 250. It should be noted that the VCM encoder 200 may use a single video encoder 210 for video encoding and feature encoding, in which case it may use different sets of parameters for video and features. Alternatively, the VCM encoder 200 may be two separate video encoders 210 that may operate in parallel.
[0044] Still reference Figure 2 , system 200 may include and / or communicate with a VCM decoder 240. VCM decoder 240 and / or its elements may be implemented using any circuit and / or type of configuration suitable for the configuration of VCM encoder 200 as described above. VCM decoder 240 may include, but is not limited to, a demultiplexer 245. Demultiplexer 245 may be operable to demultiplex a bitstream (if multiplexed as described above). For example, but not limited to, demultiplexer 245 may separate a multiplexed bitstream containing one or more video bitstreams and one or more feature bitstreams into separate video and feature bitstreams.
[0045] Continue to refer Figure 2 , the VCM decoder 240 may include a video decoder 250. The video decoder 250 may be implemented in any manner suitable for a decoder described in further detail below, but is not limited thereto. In one embodiment, but not limited thereto, the video decoder 250 may generate an output video that may be viewed by a human or other creature and / or a device having visual perception capabilities.
[0046] Still reference Figure 2, the VCM decoder 240 may include a feature decoder 255. In one embodiment, but not limited to, the feature decoder 255 may be configured to provide one or more decoded data to the machine. The machine may include, but is not limited to, any computing device as described below, including but not limited to any microcontroller, processor, embedded system, system on chip, network node, etc. The machine may operate, store, train, receive input from, generate output for, and / or otherwise interact with a machine model, as described in more detail below. The machine may be included in the Internet of Things (IoT), which is defined as a network of objects with processing and communication components, some of which may not be conventional computing devices such as desktop computers, laptops, and / or mobile devices. Objects in IoT may include, but are not limited to, any device having an embedded microprocessor and / or microcontroller and one or more components for interfacing with a local area network (LAN) and / or a wide area network (WAN); one or more components may include, but are not limited to, a wireless transceiver, such as a BLUETOOTH transceiver that communicates in the 2.4-2.485 GHz frequency band, such as a protocol promulgated by Bluetooth SIG, Inc., Kirkland, Washington, and / or a network communication component that operates according to the MODBUS protocol promulgated by Schneider Electric SE, Rueil-Malmaison, France, and / or the ZIGBEE specification of the IEEE 802.15.4 standard promulgated by the Institute of Electrical and Electronics Engineers (IEEE). A person skilled in the art will recognize, after reviewing the entire contents of this disclosure, various alternative or additional communication protocols and devices that support such protocols that can be used consistently with this disclosure, each of which is considered to be within the scope of this disclosure.
[0047] Continue to refer Figure 2Each of the VCM encoder 202 and / or the VCM decoder 240 may be designed and / or configured to perform any method, method step, or sequence of method steps in any embodiment described in the present disclosure in any order and with any degree of repetition. For example, each of the VCM encoder 202 and / or the VCM decoder 240 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be performed iteratively and / or recursively using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of iteratively addressed smaller processing tasks. Each of the VCM encoder 202 and / or the VCM decoder 240 may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing a step two or more times simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. Those skilled in the art, after reviewing the entirety of this disclosure, will recognize various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iterative, recursive, and / or parallel processing.
[0048] The present systems and methods are based on a machine learning architecture that supports multiple tasks for end users. The most common machine learning architecture in use today is a neural network. One of the drawbacks of simple single-task neural networks is the time complexity and computational cost of training. In order to achieve high performance, neural networks must typically be trained using very large data sets with hundreds of thousands and sometimes millions of samples (e.g., images and videos). Training a separate network each time a new use case emerges can be highly redundant and resource-wasting. Therefore, methods have been developed to reuse trained portions of a neural network for multiple tasks. By training a portion of the network to support multiple tasks, users can save storage space, computing power, and reduce energy consumption.
[0049] Reference now Figure 3, a schematic diagram of a multi-video system using IP-based cameras 305 is shown. There are many applications that use multiple video streams, including video surveillance applications, traffic applications, smart city applications, etc. A traditional architecture for a high-definition (HD) multi-video stream system that allows many views using Internet Protocol (IP)-based cameras. As an example, a modular design used by a video surveillance system, multiple smart IP-based video surveillance cameras 305 are connected to a local video server 310. To support processing algorithms and advanced video analysis of recorded videos, each server 310 typically has a graphics processing unit (GPU) and storage. These servers 310 allow remote access 320 from video databases, handheld devices, and other devices by connecting to an IP network in the process to be developed. The IP-based camera 305 video stream is transmitted to the server by implementing a compression algorithm such as VVC, HEVC, or AVC.
[0050] In such video surveillance systems, typically, a remote IP-based camera 305 sends data to a video server 310. The video server 310 then decodes and renders several videos for viewing 320. The video data is then saved to local storage. The server typically contains an API application that captures video and provides video playback. As an example, Microsoft's DirectShow application captures and renders up to 9 video streams in different windows simultaneously after obtaining video data from a remote IP-based camera.
[0051] Figure 4 is a schematic diagram and screenshots of a multi-video system using IP-based cameras. Figure 4 An exemplary graphical user interface (GUI) of an application on a server is shown. A user can retrieve recorded video by selecting the desired time period and camera and selecting which live cameras to watch. In addition, the GUI is able to independently manage each specific video stream from the camera, such as pausing, stopping, and starting. Compressed video streams and raw data formats are two structures compatible with the video server for recording video data into files.
[0052] Figure 5is a simplified block diagram illustrating an exemplary embodiment of a system for monitoring. One or more cameras 505 generate source video that is provided to a video codec, such as a VVC or other standard compliant encoder. The compressed and encoded bitstream is sent to a video server 505 via a channel. The server 505 includes a compliant video decoder for decoding the bitstream and providing the video for human consumption 525 and providing a substream for machine consumption, which includes data related to object detection and motion analysis 530. As the video is transmitted and decoded, some video systems provide real-time video analysis at the server site. In video surveillance applications, typical analysis includes algorithms for object detection and motion analysis. One problem with traditional approaches in multi-video stream systems is the large amount of video transmission from multiple cameras, which can take a lot of time to make efficient and fast real-time analysis and decisions.
[0053] The system and method of the present invention solves this problem by encoding the video and extracting features at the transmitter site and then passing the encoded bitstream to the video decoder. Figure 6 is a simplified block diagram further illustrating an exemplary embodiment of a VCM-based approach in an intelligent multi-camera system. As an example, video coding for machines (VCM) can be used for these applications to extract and encode features using convolutional neural networks and machine learning techniques. At the decoder site, the video can be decoded for human vision and the features will be decoded for machines. The system is based on an AI camera that includes an intelligent image sensor processor that provides a neural network accelerator including a deep learning based CNN engine.
[0054] Reference Figure 6 , shows an exemplary system with two cameras 605 that can be used for monitoring. Several prior art cameras include an object and action recognition engine module 610, which provides a variety of algorithms for object detection, object tracking, and object recognition (such as facial or other biometrics, detecting moving objects, various action recognition including violence recognition, and other events). These features can be detected in real time at the transmitter site using convolutional neural networks (CNN) or deep learning techniques, and then compressed by feature encoding 615. The remaining video will be compressed using a standard video coding algorithm (VVC, HEVC, or AVC) in the video encoder 620. The two streams can then be multiplexed in the multiplexer 625 and sent to the receiving server. The VCM decoder 630 includes a video decoder 635, which will then decode the video for human vision, and the feature / action recognition decoder 640 will decode the actions and features that can be provided to the machine.
[0055] The proposed method provides more efficient video transmission than traditional methods including real-time action recognition, which will significantly improve decision making for many applications using multiple video streams.
[0056] Embodiments disclosed herein also provide for multiple AI cameras or sources of multiple video streams to communicate between themselves so that several features can be detected, combined, and sent to a receiver for human vision and machine, so that brute force parsing can be done in real time. This can distribute the real-time processing burden in a distributed AI camera network.
[0057] Figure 7 is a block diagram illustrating an exemplary embodiment of a VCM-based approach for violence detection, in which motion recognition engines between AI cameras can communicate with each other and distribute tasks. For example, in a surveillance application, if a violence detection algorithm in camera 1 705 identifies a person of interest who is committing a crime, it can notify an adjacent second camera system 710, which can activate an algorithm for facial recognition of that person. The VCM approach allows synchronization of the two motion recognitions. The motion recognition from the two cameras will be detected, synchronized, and encoded, and the motion recognition includes violence detection and real-time face recognition. The remaining video signals from the two cameras will be encoded and multiplexed with the motion recognition and transmitted to a receiving server. At the receiving site, the video from multiple cameras will be decoded for human vision, and the two synchronized actions will be decoded for machines and / or humans for decision making and generating actions for violence resolution. It should be understood that the communication interface between camera 1 705 and camera 2 710 can take a variety of forms that allow data to be exchanged between motion recognition engines, including such as Figure 3 Dedicated or networked connection between cameras using wired or wireless network as shown.
[0058] Figure 8 is a block diagram further illustrating an exemplary embodiment of a monitoring system with multiple AI cameras that are synchronized and use VCM-based encoding. The system can be extended to a multi-camera system in which the cameras communicate and include various algorithms for motion recognition. As an example, a system with three AI cameras 805, 810, 815 is shown, which includes a VCM encoder 820 and a CNN-based motion recognition 825. The cameras 805, 810, 815 communicate with each other, for example, through a local area network that can be wired or wireless. Alternatively, a dedicated connection between cameras 805, 810, 815 can be provided to allow sharing of signals from the motion recognition module.
[0059] As an example of operation, camera 1 805 detects a condition characterized as "violence" by the action recognition module 825, and sends a signal reporting the action to camera 2 810 along with a command to count the number of people involved in the scene. Camera 3 815 may also be provided with a signal with a command to perform facial recognition of the people involved. In this way, the action detection between cameras is synchronized, distributed, and non-redundant. All three features can be sent by the corresponding camera, or more preferably, can be combined into a single feature stream, such as by using the multiplexer 830 shown in camera 2, and sent to a receiving site, where it is demultiplexed, and the video substream and feature substream are decoded, and relevant actions for parsing violence are taken in real time. In addition, the video from each of the three cameras can be VCM encoded and sent to the receiver for human vision. Similar synchronized multi-camera systems can be used for other applications, such as smart transportation, smart cities, etc. For example, in a traffic camera network, the first camera can detect a collision, and then the second camera can be instructed to detect the number of vehicles involved, and the third camera can be instructed to determine the license plate number of the vehicles involved. The system can then use this information and automatically alert first responders.
[0060] Reference now Fig. 9 , which illustrates an exemplary embodiment of a machine learning module 900 that can perform one or more machine learning processes as described in the present invention. The machine learning module can use machine learning processes to perform the determination, classification and / or analysis steps, methods, processes, etc. described in the present disclosure. A "machine learning process" as used in the present disclosure is a process that automatically uses training data 904 to generate an algorithm that will be executed by a computing device / module to produce an output 908 given data provided as input 912. This is in contrast to non-machine learning software programs, in which the commands to be executed are predetermined by the user and written in a programming language.
[0061] Still reference Fig. 9As used herein, "training data" is data containing correlations that a machine learning process can use to model the relationship between two or more data element categories. For example, but not limited to, training data 904 may include multiple data entries, each entry representing a group of data elements that are recorded, received and / or generated together; data elements may be associated by shared presence in a given data entry, by proximity in a given data entry, etc. Multiple data entries in training data 904 may give rise to one or more trends in correlations between data elements of various categories; for example, but not limited to, a higher value of a first data element belonging to a first category of data elements may tend to be associated with a higher value of a second data element belonging to a second category of data elements, thereby indicating a possible proportion or other mathematical relationship connection value belonging to the two categories. In training data 904, multiple categories of data elements may be associated according to various correlations. Correlations may indicate causal and / or predictive connections between data elements of various categories, which may be modeled as relationships such as mathematical relationships by a machine learning process, as described in further detail below. Training data 904 may be formatted and / or organized according to categories of data elements, such as by associating data elements with one or more descriptors corresponding to the categories of data elements. As a non-limiting example, training data 904 may include data entered by a person or process in a standardized form so that entries of given data elements in given fields in a table can be mapped to one or more category descriptors. Elements in training data 904 may be linked to descriptors of categories by tags, tokens, or other data elements; for example, but not limited to, training data 904 may be provided in a fixed-length format, a format that links the location of data to a category, such as a comma-separated value (CSV) format, and / or a self-describing format such as Extensible Markup Language (XML), JavaScript Object Notation (JSON), etc., so that a process or device can detect the category of the data.
[0062] Alternatively or additionally, and with continued reference to Fig. 9, the training data 904 may include one or more unclassified elements; that is, the training data 904 may not be formatted or contain descriptors for certain elements of the data. The machine learning algorithm and / or other process may classify the training data 904 according to one or more classifications using, for example, natural language processing algorithms, tokenization, detection of relevant values in the raw data, etc.; the categories may be generated using relevant and / or other processing algorithms. As a non-limiting example, in a text corpus, phrases that consist of multiple "n" compound words (e.g., nouns modified by other nouns) may be identified based on the statistically significant prevalence of n-grams containing such words in a particular order; such n-grams may be classified as language elements such as "words", tracked in a manner similar to individual words, and new categories generated as a result of statistical analysis. Similarly, in a data entry that includes some text data, a person's name may be identified by reference to a list, dictionary, or other compendium of terms, allowing ad-hoc classification by a machine learning algorithm, and / or automatically associating the data in the data entry with a descriptor or to a given format. The ability to automatically classify data entries can enable the same training data 904 to be applicable to two or more different machine learning algorithms, as described in further detail below. The training data 904 used by the machine learning module 900 can relate any input data as described in the present disclosure to any output data as described in the present disclosure. As a non-limiting example
[0063] Further references Fig. 9, one or more supervised and / or unsupervised machine learning processes and / or models may be used to filter, classify and / or select training data, as described in further detail below; such models may include, but are not limited to, training data classifiers 916. Training data classifiers 916 may include a "classifier," which, as used in the present disclosure, is a machine learning model as defined below, such as a mathematical model, a neural network, or a program generated by a machine learning algorithm referred to as a "classification algorithm," as described in further detail below, which classifies inputs into categories or bins of data and outputs categories or bins of data and / or labels associated therewith. A classifier may be configured to output at least one data that labels or otherwise identifies a group of data that are clustered together, found to be close under a distance metric, as described below, etc. The machine learning module 900 may generate a classifier using a classification algorithm, which is defined as a process by which a computing device and / or any module and / or component operating thereon derives a classifier from the training data 904. Classification can be performed using, but not limited to, linear classifiers such as, but not limited to, logistic regression and / or naive Bayes classifiers, nearest neighbor classifiers such as k-nearest neighbor classifiers, support vector machines, least squares support vector machines, Fisher linear discriminant, quadratic classifiers, decision trees, boosted trees, random forest classifiers, learning vector quantization, and / or neural network based classifiers.
[0064] Still reference Fig. 9 , the machine learning module 900 can be configured to perform a lazy learning process 920 and / or protocol, which can optionally be referred to as a "lazy load" or "call when needed" process and / or protocol, which can be a process in which machine learning is performed upon receiving an input to be converted to an output by combining the input and the training set to derive an algorithm for producing an output on demand. For example, an initial set of simulations can be performed to cover initial heuristics and / or "first guesses" at the output and / or relationship. As a non-limiting example, the initial heuristics can include ranking of associations between inputs and elements of the training data 904. Heuristics can include selecting a certain number of the highest ranked associations and / or training data 904 elements. Lazy learning can implement any suitable lazy learning algorithm, including but not limited to the K nearest neighbor algorithm, the lazy Bayes algorithm, and the like; those skilled in the art, after reviewing the entire contents of this disclosure, will be aware of various lazy learning algorithms that can be applied to generate outputs as described in the present disclosure, including but not limited to lazy learning applications of machine learning algorithms as described in further detail below.
[0065] Alternatively or additionally, and with continued reference to Fig. 9, a machine learning model 924 may be generated using a machine learning process as described in the present disclosure. A "machine learning model" as used in the present disclosure is a mathematical and / or algorithmic representation of a relationship between an input and an output, generated using any machine learning process, including but not limited to any process as described above, and stored in a memory; once an input is created, the input is submitted to the machine learning model 924, which generates an output based on the derived relationship. For example, but not limited to, a linear regression model generated using a linear regression algorithm may use coefficients derived during the machine learning process to calculate a linear combination of input data to calculate output data. As another non-limiting example, the machine learning model 924 may be generated by creating an artificial neural network, such as a convolutional neural network including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes may be created by a process of "training" the network, in which elements from a set of training data 904 are applied to input nodes, and then connections and weights between nodes in adjacent layers of the neural network are adjusted using a suitable training algorithm (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) to produce desired values at output nodes. This process is sometimes referred to as deep learning.
[0066] Still reference Fig. 9 , the machine learning algorithm may include at least a supervised machine learning process 928. As defined herein, at least one supervised machine learning process 928 includes an algorithm that receives a training set that relates multiple inputs to multiple outputs, and seeks to find one or more mathematical relationships that relate the inputs to the outputs, wherein each of the one or more mathematical relationships is optimal according to a certain criterion assigned to the algorithm using a certain scoring function. For example, the supervised learning algorithm may include inputs and outputs as described above in the present disclosure, and a scoring function that represents the desired form of the relationship to be detected between the inputs and the outputs. For example, the scoring function may seek to maximize the probability that a given input and / or a combination of element inputs is associated with a given output to minimize the probability that a given input is not associated with a given output. The scoring function may be represented as a risk function that represents the "expected loss" of the algorithm that relates the input to the output, wherein the loss is calculated as an error function that represents the degree to which the prediction generated by the relationship is incorrect when compared to a given input-output pair provided in the training data 904. After reading the entire contents of this disclosure, those skilled in the art will recognize various possible variations of at least one supervised machine learning process 928 that can be used to determine the relationship between the input and the output. The supervised machine learning process may include a classification algorithm as defined above.
[0067] Further references Fig. 9, the machine learning process may include at least an unsupervised machine learning process 932. As used herein, an unsupervised machine learning process is a process that derives inferences in a data set without regard to labeling; as a result, the unsupervised machine learning process is free to discover any structure, relationship, and / or correlation provided in the data. The unsupervised process may not require a response variable; the unsupervised process may be used to find interesting patterns and / or inferences between variables, to determine the degree of correlation between two or more variables, etc.
[0068] Still reference Fig. 9 , the machine learning module 900 can be designed and configured to create a machine learning model 924 using techniques for developing linear regression models. The linear regression model can include ordinary least squares regression, which aims to minimize the square of the difference between the predicted result and the actual result according to an appropriate norm (e.g., a vector space distance norm) for measuring such a difference; the coefficients of the resulting linear equation can be modified to improve the minimization. The linear regression model can include a ridge regression method, in which the function to be minimized includes a least squares function plus a term that multiplies the square of each coefficient by a scalar to penalize large coefficients. The linear regression model can include a least absolute shrinkage and selection operator (LASSO) model, in which ridge regression is combined with a least squares term multiplied by a factor of 1 divided by twice the number of samples. The linear regression model can include a multi-task Lasso model, in which the norm applied in the least squares term of the Lasso model is a Frobenius norm equal to the square root of the sum of the squares of all terms. The linear regression model may include an elastic network model, a multi-task elastic network model, a minimum angle regression model, a LARS model, an orthogonal matching pursuit model, a Bayesian regression model, a logistic regression model, a stochastic gradient descent model, a perceptron model, a passive attack algorithm, a robust regression model, a Huber regression model, or any other suitable model that a person skilled in the art may think of after reading the entire disclosure. In one embodiment, the linear regression model may be generalized to a polynomial regression model, thereby seeking a polynomial equation (e.g., a quadratic, cubic, or higher order equation) that provides the best predicted output / actual output fit; a method similar to the above method may be applied to minimize the error function, which will be apparent to a person skilled in the art after reading the entire disclosure.
[0069] Continue to refer Fig. 9, the machine learning algorithms may include, but are not limited to, linear discriminant analysis. The machine learning algorithms may include quadratic discriminant analysis. The machine learning algorithms may include kernel ridge regression. The machine learning algorithms may include support vector machines, including but not limited to regression processes based on support vector classification. The machine learning algorithms may include stochastic gradient descent algorithms, including classification and regression algorithms based on stochastic gradient descent. The machine learning algorithms may include nearest neighbor algorithms. The machine learning algorithms may include various forms of latent space regularization, such as variational regularization. The machine learning algorithms may include Gaussian processes, such as Gaussian process regression. The machine learning algorithms may include cross decomposition algorithms, including partial least squares and / or canonical correlation analysis. The machine learning algorithms may include naive Bayesian methods. Machine learning algorithms may include decision tree based algorithms, such as decision tree classification or regression algorithms. Machine learning algorithms may include ensemble methods, such as bagging meta-estimators, random tree forests, AdaBoost, gradient tree boosting, and / or voting classifier methods. Machine learning algorithms may include neural network algorithms, including convolutional neural network processes.
[0070] Reference now Fig.10 , an exemplary embodiment of a neural network 1000 is shown. Neural network 1000, also known as an artificial neural network, is a network of "nodes", or a data structure having one or more inputs, one or more outputs, and a function that determines the output based on the input. Such nodes can be organized in a network, such as but not limited to a convolutional neural network, including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes can be created by a process of "training" the network, in which elements from a training data set are applied to the input nodes, and then a suitable training algorithm (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) is used to adjust the connections and weights between nodes in adjacent layers of the neural network to produce desired values at the output nodes. This process is sometimes referred to as deep learning. Connections can run only from input nodes to output nodes in a "feedforward" network, or the output of one layer can be fed back to the input of the same or different layer in a "recurrent network."
[0071] Reference now Fig.11, an exemplary embodiment of a node of a neural network is shown. The node may include, but is not limited to, a plurality of inputs xi, which may receive values from inputs to the neural network containing the node and / or from other nodes. The node may perform a weighted sum of the inputs using weights wi multiplied by the corresponding inputs xi. Additionally or alternatively, a bias b may be added to the weighted sum of the inputs so that a bias is added to each unit in the neural network layer that is independent of the inputs of the layer. The weighted sum may then be input into a function φ, which may generate one or more outputs y. The weights wi applied to the inputs xi may indicate whether the input is "excitatory", indicating that it has a strong influence on one or more outputs y, for example, by having a corresponding weight with a large value, and / or indicating that it has a weak influence on one or more inputs y, for example, by having a corresponding weight with a small value. The values of the weights wi may be determined by training the neural network using training data, which may be performed using any suitable process as described above.
[0072] Still reference Fig.11 As used in this disclosure, a "convolutional neural network" is a neural network in which at least one hidden layer is a convolutional layer that convolves the input with a subset of the input called a "kernel" and one or more additional layers (e.g., pooling layers, fully connected layers, etc.). CNNs may include, but are not limited to, deep neural network (DNN) extensions, where a DNN is defined as a neural network with two or more hidden layers.
[0073] Fig.12 1 is a system block diagram illustrating an example of a decoder 1200 suitable for use in the present systems and methods. The decoder 1200 may include an entropy decoder processor 1204, an inverse quantization and inverse transform processor 1208, a deblocking filter 1212, a frame buffer 1216, a motion compensation processor 1220 and / or an intra prediction processor 1224.
[0074] In operation, still refer to Fig.12 , the bitstream 1228 may be received by the decoder 1200 and input to the entropy decoder processor 1204, which may entropy decode a portion of the bitstream into quantized coefficients. The quantized coefficients may be provided to an inverse quantization and inverse transform processor 1208, which may perform inverse quantization and inverse transform to create a residual signal, which may be added to the output of the motion compensation processor 1220 or the intra-frame prediction processor 1224, depending on the processing mode. The output of the motion compensation processor 1220 and the intra-frame prediction processor 1224 may include a block prediction based on a previously decoded block. The sum of the prediction and the residual may be processed by the deblocking filter 1212 and stored in the frame buffer 1216.
[0075] In one embodiment, still referring to Fig.12 , the decoder 1200 may include circuits configured to implement any of the above operations in any of the above embodiments in any order and with any degree of repetition. For example, the decoder 1200 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The decoder may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iterative, recursive, and / or parallel processing after reviewing the entire contents of the present disclosure.
[0076] Fig.13 is a system block diagram illustrating an example video encoder 1300 capable of adaptive pruning. The example video encoder 1300 may receive an input video 1304, which may be initially segmented or partitioned according to a processing scheme such as a tree structured macroblock partitioning scheme (e.g., a quadtree plus a binary tree). An example of a tree structured macroblock partitioning scheme may include partitioning a picture frame into large block elements called coding tree units (CTUs). In some implementations, each CTU may be further partitioned into multiple sub-blocks called coding units (CUs) one or more times. The final result of the partitioning may include a set of sub-blocks that may be referred to as prediction units (PUs). Transform units (TUs) may also be utilized.
[0077] Still reference Fig.13 , the example video encoder 1300 may include an intra prediction processor 1308, a motion estimation / compensation processor 1312, which may also be referred to as an inter prediction processor, capable of constructing a motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list, a transform / quantization processor 1316, an inverse quantization / inverse transform processor 1320, an in-loop filter 1324. A decoded picture buffer 1328 and / or an entropy coding processor 1332. The bitstream parameters may be input to the entropy coding processor 1332 to be included in the output bitstream 1336.
[0078] In operation, and continue to refer to Fig.13, for each block of the input video frame, it may be determined whether to process the block via intra picture prediction or using motion estimation / compensation. The block may be provided to an intra prediction processor 1308 or a motion estimation / compensation processor 1312. If the block is to be processed via intra prediction, the intra prediction processor 1308 may perform processing to output a predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1312 may perform processing including constructing a motion vector candidate list, the motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list, if applicable.
[0079] Further references Fig.13 , a residual may be formed by subtracting the predictor from the input video. The residual may be received by a transform / quantization processor 1316, which may perform a transform process (e.g., a discrete cosine transform (DCT)) to produce coefficients that may be quantized. The quantized coefficients and any associated signaling information may be provided to an entropy coding processor 1332 for entropy coding and inclusion in an output bitstream 1336. The entropy coding processor 1332 may support encoding of signaling information associated with encoding the current block. In addition, the quantized coefficients may be provided to an inverse quantization / inverse transform processor 1320, which may reproduce pixels that may be combined with a predictor and processed by a loop filter 1324, the output of which may be stored in a decoded picture buffer 1328 for use by a motion estimation / compensation processor 1312, which may be capable of constructing a motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list.
[0080] Continue to refer Fig.13 Although some variations have been described in detail above, other modifications or additions are possible. For example, in some implementations, the current block may include any symmetric block (8×8, 16×16, 32×32, 64×64, 128×128, etc.) and any asymmetric block (8×4, 16×8, etc.).
[0081] In some implementations, reference is still made to Fig.13 , a quadtree plus binary decision tree (QTBT) can be implemented. In QTBT, at the coding tree unit level, the partition parameters of the QTBT can be dynamically derived to adapt to local characteristics without sending any overhead. Subsequently, at the coding unit level, the joint classifier decision tree structure can eliminate unnecessary iterations and control the risk of wrong predictions. In some implementations, the LTR frame block update mode is available as an additional option available at each leaf node of the QTBT.
[0082] In some implementations, and still with reference to Fig.13, additional syntax elements can be signaled at different hierarchical levels of the bitstream. For example, a flag can be enabled for the entire sequence by including an enable flag encoded in a sequence parameter set (SPS). In addition, a CTU flag can be encoded at the coding tree unit (CTU) level.
[0083] Some embodiments may include a non-transitory computer program product (ie, physically implemented computer program product) storing instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations herein.
[0084] Still reference Fig.13 , the encoder 1300 may include circuits configured to implement any operation in any of the above embodiments in any order and any degree of repetition. For example, the encoder 1300 may be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The encoder 1300 may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing after reviewing the entire contents of the present disclosure.
[0085] Continue to refer Fig.13, a non-transitory computer program product (i.e., a physically implemented computer program product) may store instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations and / or steps thereof described in the present disclosure, including but not limited to any of the operations described above and / or any operations that the decoder 900 and / or encoder 1300 may be configured to perform. Similarly, a computer system that may include one or more data processors and a memory coupled to the one or more data processors is also described. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more operations described herein. In addition, the method may be implemented by one or more data processors within a single computing system, or distributed across two or more computing systems. Such computing systems may be connected and may exchange data and / or commands or other instructions, etc., via one or more connections, including connections through a network (e.g., the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, etc.), via direct connections between one or more of a plurality of computing systems, etc.
[0086] It should be noted that any one or more aspects and embodiments described herein can be conveniently implemented using one or more machines programmed according to the teachings of this specification (e.g., one or more computing devices used as user computing devices for electronic documents, one or more server devices, such as document servers, etc.), which will be apparent to those of ordinary skill in the computer arts. Based on the teachings of this disclosure, a skilled programmer can easily prepare appropriate software coding, which will be apparent to those of ordinary skill in the software arts. The aspects and implementations using software and / or software modules discussed above may also include appropriate hardware for assisting in implementing the machine executable instructions of the software and / or software modules.
[0087] Such software may be a computer program product using a machine-readable storage medium. A machine-readable storage medium may be any medium capable of storing and / or encoding a sequence of instructions executed by a machine (e.g., a computing device) and causing the machine to perform any of the methods and / or embodiments described herein. Examples of machine-readable storage media include, but are not limited to, disks, optical disks (e.g., CD, CD-R, DVD, DVD-R, etc.), magneto-optical disks, read-only memory "ROM" devices, random access memory "RAM" devices, magnetic cards, optical cards, solid-state storage devices. EPROM, EEPROM, and any combination thereof. The machine-readable medium used herein is intended to include a single medium and a collection of physically separated media, for example, a compact disk or a collection of one or more hard disk drives combined with a computer memory. As used herein, a machine-readable storage medium does not include signal transmission in an instantaneous form.
[0088] Such software may also include information (e.g., data) carried as a data signal on a data carrier (e.g., a carrier wave). For example, machine executable information may be included as a data-bearing signal contained in a data carrier, where the signal encodes a sequence of instructions or a portion thereof for execution by a machine (e.g., a computing device) and any associated information (e.g., data structures and data) that causes the machine to perform any of the methods and / or embodiments described herein.
[0089] Examples of computing devices include, but are not limited to, electronic book reading devices, computer workstations, terminal computers, server computers, handheld devices (e.g., tablet computers, smart phones, etc.), network devices, network routers, network switches, bridges, any machine capable of executing a sequence of instructions that specifies actions to be taken by the machine. And any combination thereof. In one example, the computing device may include and / or be included in an information station.
[0090] Fig.14 A diagrammatic representation of one embodiment of a computing device is shown in the exemplary form of a computer system 1400 within which an instruction set for causing a control system to perform any one or more of the aspects and / or methods of the present invention may be executed. It is also contemplated that a plurality of computing devices may be utilized to implement a specially configured instruction set for causing one or more of the devices to perform any one or more of the aspects and / or methods of the present invention. The computer system 1400 includes a processor 1404 and a memory 1408 that communicate with each other and with other components via a bus 1412. The bus 1412 may include any of several types of bus structures including, but not limited to, a memory bus, a memory controller, a peripheral bus, a local bus, and any combination thereof using any of a variety of bus architectures.
[0091] Processor 1404 may include any suitable processor, such as, but not limited to, a processor including logic circuits for performing arithmetic and logic operations, such as an arithmetic and logic unit (ALU), which may be regulated by a state machine and guided by operational inputs from memory and / or sensors; processor 1404 may be organized according to Von Neumann and / or Harvard architectures, as non-limiting examples. Processor 1404 may include, include and / or be included in, but not limited to, a microcontroller, a microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a graphics processing unit (GPU), a general-purpose GPU, a tensor processing unit (TPU), an analog or mixed signal processor, a trusted platform module (TPM). A floating point unit (FPU) and / or a system on a chip (SoC).
[0092] The memory 1408 may include various components (e.g., machine-readable media), including, but not limited to, random access memory components, read-only components, and any combination thereof. In one example, a basic input / output system 1416 (BIOS), including basic routines that facilitate the transfer of information between elements within the computer system 1400, such as during startup, may be stored in the memory 1408. The memory 1408 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 1420 that implement any one or more aspects and / or methods of the present disclosure. In another example, the memory 1408 may further include any number of program modules, including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combination thereof.
[0093] The computer system 1400 may also include a storage device 1424. Examples of storage devices (e.g., storage device 1424) include, but are not limited to, hard disk drives, magnetic disk drives, optical disk drives combined with optical media, solid-state storage devices, and any combination thereof. The storage device 1424 may be connected to the bus 1412 via an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, Advanced Technology Attachment (ATA), Serial ATA, Universal Serial Bus (USB), IEEE 1394 (FIREWIRE), and any combination thereof. In one example, the storage device 1424 (or one or more of its components) may be removably interfaced with the computer system 1400 (e.g., via an external port connector (not shown)). In particular, the storage device 1424 and associated machine-readable media 1428 may provide non-volatile and / or volatile storage of machine-readable instructions, data structures, program modules, and / or other data for the computer system 1400. In one example, the software 1420 may reside in whole or in part within the machine-readable media 1428. In another example, the software 1420 may reside completely or partially within the processor 1404 .
[0094] The computer system 1400 may also include an input device 1432. In one example, a user of the computer system 1400 may input commands and / or other information into the computer system 1400 via the input device 1432. Examples of the input device 1432 include, but are not limited to, an alphanumeric input device (e.g., a keyboard), a pointing device, a joystick, a game pad, an audio input device (e.g., a microphone, a voice response system, etc.), a cursor control device (e.g., a mouse), a touch pad, an optical scanner, a video capture device (e.g., a still camera, a video camera, a touch screen, and any combination thereof. The input device 1432 may be connected to the bus 1412 via any of a variety of interfaces (not shown), including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to the bus 1412, and any combination thereof. The input device 1432 may include a touch screen interface, which may be part of the display 1436 or separate from the display 1436, which will be discussed further below. The input device 1432 may be used as a user selection device for selecting one or more graphical representations in the graphical interface as described above.
[0095] The user may also input commands and / or other information to the computer system 1400 via a storage device 1424 (e.g., a removable disk drive, a flash drive, etc.) and / or a network interface device 1440. A network interface device such as the network interface device 1440 may be used to connect the computer system 1400 to one or more of various networks such as the network 1444, and one or more remote devices 1448 connected thereto. Examples of network interface devices include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of networks include, but are not limited to, a wide area network (e.g., the Internet, an enterprise network), a local area network (e.g., a network associated with an office, a building, a campus, or other relatively small geographic space), a telephone network, a data network associated with a telephone / voice provider (e.g., a mobile communications provider data and / or voice network). A direct connection between two computing devices and any combination thereof. A network such as the network 1444 may employ wired and / or wireless communication modes. In general, any network topology may be used. Information (eg, data, software 1420 , etc.) may be transferred to and / or from computer system 1400 via network interface device 1440 .
[0096] The computer system 1400 may also include a video display adapter 1452 for transmitting displayable images to a display device, such as a display device 1436. Examples of display devices include, but are not limited to, liquid crystal displays (LCDs), cathode ray tubes (CRTs), plasma displays, light emitting diode (LED) displays, and any combination thereof. The display adapter 1452 and the display device 1436 may be used in conjunction with the processor 1404 to provide a graphical representation of aspects of the present disclosure. In addition to the display device, the computer system 1400 may include one or more other peripheral output devices, including, but not limited to, audio speakers, printers, and any combination thereof. Such peripheral output devices may be connected to the bus 1412 via a peripheral interface 1456. Examples of peripheral interfaces include, but are not limited to, serial ports, USB connections, FIREWIRE connections, parallel connections, and any combination thereof.
[0097] The exemplary embodiments of the present invention have been described in detail above. Various modifications and additions may be made without departing from the spirit and scope of the present invention. The features of each of the various embodiments described above may be appropriately combined with the features of the other described embodiments so as to provide a variety of feature combinations in associated new embodiments. In addition, although many separate embodiments have been described above, what is described here is merely an illustration of the application of the principles of the present invention. In addition, although the specific methods herein may be described and / or described as being performed in a specific order, the order is highly variable within the scope of ordinary technology to implement methods, systems and software according to the present invention. Therefore, this specification is only provided by way of example and does not otherwise limit the scope of the present invention.
[0098] Exemplary embodiments have been disclosed above and shown in the accompanying drawings. It will be appreciated by those skilled in the art that various changes, omissions and additions may be made to the specific disclosure herein without departing from the spirit and scope of the present invention.
Claims
1. A system for video surveillance, comprising a plurality of cameras, each of the cameras capturing video content, and the system comprising: an action recognition engine that classifies the video content into at least one of a plurality of predetermined actions, the action recognition engine having an interface that enables communication with at least one other action recognition engine, whereby detected actions and tasks associated with the detected actions can be exchanged with another of the plurality of cameras; a feature encoder operatively coupled to the action recognition engine and generating an encoded feature substream; a video encoder that receives the video content and provides an encoded video substream; A multiplexer receives the encoded feature substream and the encoded video substream and outputs an encoded camera bitstream including the encoded video content and the detected motion content.
2. The system for video surveillance of claim 1, wherein upon detection of a predetermined action by a first camera, the first camera communicates at least one task to a second camera. 3 . The system for video surveillance as claimed in claim 1 , wherein when a predetermined action is detected by a first camera, the first camera communicates a first task to a second camera, and communicates a second task to a third camera.
4. The system for video surveillance of claim 2, wherein the task comprises at least one of: object detection, object counting, object tracking, and object identification.
5. The system for video surveillance of claim 3, wherein the subject is a human being and the subject identification comprises facial recognition.
6. A system for video surveillance, comprising a plurality of cameras, each of the cameras capturing video content, and the system comprising: an action recognition engine that classifies the video content into at least one of a plurality of predetermined actions, the action recognition engine having an interface that enables communication with at least one other action recognition engine, whereby detected actions and tasks associated with the detected actions can be exchanged with another of the plurality of cameras; a video encoder that receives the video content and provides an encoded video bitstream; a feature encoder operatively coupled to the action recognition engine and generating a set of encoded features therefrom; At least one of the plurality of cameras has a feature multiplexer that receives a set of encoded features from at least one other camera and outputs encoded feature bitstreams and detected motion content for the plurality of cameras.
7. The system for video surveillance of claim 6, wherein upon detection of a predetermined action by a first camera, the first camera communicates at least one task to a second camera.
8. The system for video surveillance of claim 7, wherein upon detection of a predetermined action by a first camera, the first camera communicates a first task to a second camera, and communicates a second task to a third camera.
9. The system for video surveillance of claim 7, wherein the task comprises at least one of: object detection, object counting, object tracking, and object identification.
10. The system for video surveillance of claim 9, wherein the subject is a human being and the subject identification comprises facial recognition.
