Dark Channel Prior (DCP) is one of the significant dehazing methods based upon the observation of the key features of the haze-free images. But it has disadvantages; high computational complexity, over-enhancement in the sky region, flickering artefacts in video processing, and poor dehazing. Therefore, we propose improved solutions to solve the aforementioned drawbacks. First, we adopt the fast one-dimensional filter, look-up table, and program optimization to reduce the computational complexity. Next, we follow by using a part of the guided filter for sky detection and to preserve the sky region from noise by avoiding over recovery. Then, we propose an airlight update strategy and adjust the radius of a guided filter to reduce the flickering artifacts and also propose an airlight estimation method to produce the better dehazing result as the final step of our algorithm. The improved results from our proposed algorithm are stable and are obtained from the real-time processing suitable for ADAS, surveillance, and monitoring systems. The implementation of the proposed algorithm has yielded a processing speed of 75 fps and 23 fps respectively on an NVIDIA Jetson TX1 embedded platform and Renesas R-Car M2, both on D1 (720x480) resolution videos.
12 August 2020 in IEEE Journal on Emerging and Selected Topics in Circuits and Systems
Suffering from both high computational complexity and high memory bandwidth is the major challenge in realizing the deep neural network in low-power for real-time applications. Binarizing the feature maps as well as the filter coefficients in deep neural network is an efficient way to reduce the high power consumption in deep learning object detection, however, it greatly scarifies the detection accuracy when reducing the bit-width of a 32-bit word to a binary bit in a floating-point deep neural network. This paper proposes a hybrid fixed point/binary deep neural network design methodology for object detection to achieve low-power consumption by taking advantage of both the fixed-point and binary deep neural networks, which allocates enough bit-width to design the hardware datapath in different layers of deep neural network. The proposed methodology combines dynamic fixed-point quantization and binarization techniques together to extremely compress the object detection model to result in a compact hybrid fixed-point/binary detection neural network, which achieves lower bandwidth and lower computational complexity. An automation tool based on the proposed methodology is also developed to train a hybrid deep neural network under a specified quality loss range. Taking MobileNet-SSD as an example, using the proposed methodology, the resulted model achieves 91% model size reduction and 75.8% memory bandwidth reduction at the cost of less than 1% mAP quality degradation. The proposed design methodology for hybrid fixed-point/binary deep neural networks achieves a good balance on detection accuracy, model size compression ratio and feature map reduction for low-power deep learning object detection applications.
26 July 2021 in IEEE Transactions on Neural Networks and Learning Systems
This article proposes a hardware-oriented neural network development tool, called Intelligent Vision System Lab (IVS)-Caffe. IVS-Caffe can simulate the hardware behavior of convolution neural network inference calculation. It can quantize weights, input, and output features of convolutional neural network (CNN) and simulate the behavior of multipliers and accumulators calculation to achieve the bit-accurate result. Furthermore, it can test the accuracy of the chosen CNN hardware accelerator. Besides, this article proposes an algorithm to solve the deviation of gradient backpropagation in the bit-accurate quantized multipliers and accumulators. This allows the training of a bit-accurate model and further increases the accuracy of the CNN model at user-designed bit width. The proposed tool takes Faster region based CNN (R-CNN) + Matthew D. Zeiler and Rob Fergus (ZF)-Net, Single Shot MultiBox Detector (SSD) + VGG, SSD + MobileNet, and Tiny you only look once (YOLO) v2 as the experimental models. These models include both one-stage object detection and two-stage object detection models, and base networks include the convolution layer, the fully connected layer, and the modern advanced layers, such as the inception module and depthwise separable convolution. In these experiments, direct quantization of layer-I/O fixed-point models to bit-accurate models will have a 2% mean average precision (mAP) drop of accuracy in the constraint that all layers' accumulators and multipliers are quantized to less or equal to 14 and 12 bit, respectively. After retraining of these quantized models with the proposed IVS-Caffe, we can achieve less than 1% mAP drop in accuracy in the constraint that all layers' accumulators and multipliers are quantized to less or equal to 14 and 11 bit, respectively. With the proposed IVS-Caffe, we can analyze the accuracy of the target model when it is running at hardware accelerators with different bit widths, which is beneficial to fine-tune the target model or customize the hardware accelerators with lower power consumption. Code is available at https://github.com/apple35932003/IVS-Caffe.