journal article·2024-12-30Open access

Effect of Camera Choice on Image-Classification Inference

Jason Brown, Andy Nguyen, Nawin Raj

Applied Sciences· Volume 15· Issue 1

Abstract

The field of image classification using Convolutional Neural Networks (CNNs) to predict the principal object in an image has seen many recent innovations. One aspect that has not been extensively explored is the effect of the camera employed to acquire images for inference. We investigate this by capturing comparable images of five drinking vessels using six cameras in various scenarios. We examine the classification ranking of object classes when these images are input to an independently pretrained Resnet-18 model based on the ImageNet-1k dataset. We find that the camera used can affect the top prediction of object class, particularly in scenarios with a more complex background. This is the case even when the cameras have similar fields of view. We also introduce a metric called selectivity, defined as the mean absolute difference between prediction probabilities of similar relevant object classes (such as cups and mugs). We show that the effect of the camera is largest when the selectivity of the pretrained model between these object classes is small. The effect of camera choice is also demonstrated quantitatively by examining Cohen’s Kappa (κ) statistic. Finally, we make recommendations on mitigating the effect of the camera on image-classification inference.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Advanced Neural Network Applications · Visual Attention and Saliency Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Engineering, University of Southern Queensland, Brisbane 4300, Australia

School of Mathematics, Physics and Computing, University of Southern Queensland, Brisbane 4300, Australia

References (48)

Show source-provided references
1. A survey of convolutional neural networks: Analysis, applications, and prospects10.1109/TNNLS.2021.3084827 ↗
2. Review of deep learning algorithms and architectures10.1109/ACCESS.2019.2912200 ↗
3. Object detection with deep learning: A review10.1109/TNNLS.2018.2876865 ↗
4. Imagenet classification with deep convolutional neural networks10.1145/3065386 ↗
5. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
6. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
7. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.-C. (2018, January 18–23). Mobilenetv2: Inverted residuals and linear bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00474 ↗
8. Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Li, F.-F. (2009, January 20–25). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
9. (2023, June 17). ImageNet. Available online: https://www.image-net.org/.
10. Drenkow, N., Sani, N., Shpitser, I., and Unberath, M. (2021). A systematic review of robustness in deep learning for computer vision: Mind the gap?. arXiv.
11. Autonomous concrete crack detection using deep fully convolutional neural network10.1016/j.autcon.2018.11.028 ↗
12. Czimmermann, T., Ciuti, G., Milazzo, M., Chiurazzi, M., Roccella, S., Oddo, C.M., and Dario, P. (2020). Visual-based defect detection and classification approaches for industrial applications—A survey. Sensors, 20.10.3390/s20051459 ↗
13. A generic deep-learning-based approach for automated surface inspection10.1109/TCYB.2017.2668395 ↗
14. A review of the application of deep learning in medical image classification and segmentation10.21037/atm.2020.02.44 ↗
15. Deep convolutional neural network based medical image classification for disease diagnosis10.1186/s40537-019-0276-2 ↗
16. Deep learning-based image recognition for autonomous driving10.1016/j.iatssr.2019.11.008 ↗
17. Towards performing image classification and object detection with convolutional neural networks in autonomous driving systems: A survey10.1109/ACCESS.2022.3147495 ↗
18. Shi, X., Yu, F., Lu, Y., Liang, Y., Feng, Q., Wang, D., Qian, Y., and Xie, L. (2021, January 6–11). The accented english speech recognition challenge 2020: Open datasets, tracks, baselines, results and methods. Proceedings of the ICASSP 2021—2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada.10.1109/ICASSP39728.2021.9413386 ↗
19. Solving the problem of the accents for speech recognition systems10.18178/ijsps.4.3.235-238 ↗
20. Maître, H. (2017). From Photon to Pixel: The Digital Camera Handbook, Wiley. [2nd ed.].10.1002/9781119402442 ↗
21. Dodge, S., and Karam, L. (2016, January 6–8). Understanding how image quality affects deep neural networks. Proceedings of the 2016 Eighth International Conference on Quality of Multimedia Experience (QoMEX), Lisbon, Portugal.10.1109/QoMEX.2016.7498955 ↗
22. Jia, Y., Shelhamer, E., Donahue, J., Karayev, S., Long, J., Girshick, R., Guadarrama, S., and Darrell, T. (2014, January 3–7). Caffe: Convolutional architecture for fast feature embedding. Proceedings of the 22nd ACM International Conference on Multimedia, Orlando, FL, USA.10.1145/2647868.2654889 ↗
23. Chatfield, K., Simonyan, K., Vedaldi, A., and Zisserman, A. (2014). Return of the devil in the details: Delving deep into convolutional nets. arXiv.10.5244/C.28.6 ↗
24. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going deeper with convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
25. Goodfellow, I.J., Shlens, J., and Szegedy, C. (2014). Explaining and harnessing adversarial examples. arXiv.
26. Tolerate Failures of the Visual Camera with Robust Image Classifiers10.1109/ACCESS.2023.3237394 ↗
27. RGB cameras failures and their effects in autonomous driving applications10.1109/TDSC.2022.3156941 ↗
28. Hendrycks, D., and Dietterich, T. (2019). Benchmarking neural network robustness to common corruptions and perturbations. arXiv.
29. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016, January 27–30). Rethinking the inception architecture for computer vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.308 ↗
30. Effects of Image Degradation and Degradation Removal to CNN-Based Image Classification10.1109/TPAMI.2019.2950923 ↗
31. Karahan, S., Yildirum, M.K., Kirtac, K., Rende, F.S., Butun, G., and Ekenel, H.K. (2016, January 21–23). How image degradations affect deep cnn-based face recognition?. Proceedings of the 2016 International Conference of the Biometrics Special Interest Group (BIOSIG), Darmstadt, Germany.10.1109/BIOSIG.2016.7736924 ↗
32. Wang, Z., Chang, S., Yang, Y., Liu, D., and Huang, T.S. (2016, January 27–30). Studying very low resolution recognition using deep networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.518 ↗
33. Enhance visual recognition under adverse conditions via deep networks10.1109/TIP.2019.2908802 ↗
34. Hendrycks, D., Basart, S., Mu, N., Kadavath, S., Wang, F., Dorundo, E., Desai, R., Zhu, T., Parajuli, S., and Guo, M. (2021, January 11–17). The many faces of robustness: A critical analysis of out-of-distribution generalization. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.00823 ↗
35. Djolonga, J., Yung, J., Tschannen, M., Romijnders, R., Beyer, L., Kolesnikov, A., Puigcerver, J., Minderer, M., D’Amour, A., and Moldovan, D. (2021, January 20–25). On robustness and transferability of convolutional neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01619 ↗
36. Measuring robustness to natural distribution shifts in image classification
37. The effect of camera settings on image noise and accuracy of subpixel image registration10.1007/s00138-021-01215-4 ↗
38. Deep learning: Survey of environmental and camera impacts on internet of things images10.1007/s10462-023-10405-7 ↗
39. Kuciš, M., and Zemcık, P. (May, January 29). Simulation of camera features. Proceedings of the 16th Central European Seminar on Computer Graphics, Smolenice, Slovakia.
40. A virtual environment for evaluation of computer vision algorithms under general airborne camera imperfections10.1017/S0373463321000060 ↗
41. Ouyang, H., Shi, Z., Lei, C., Law, K.L., and Chen, Q. (2021, January 20–25). Neural camera simulators. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.00761 ↗
42. A simulation tool for evaluating digital camera image quality10.1117/12.537474 ↗
43. Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019). Pytorch: An imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst., 32.
44. A Coefficient of Agreement for Nominal Scales10.1177/001316446002000104 ↗
45. Scikit-learn: Machine Learning in Python
46. The Measurement of Observer Agreement for Categorical Data10.2307/2529310 ↗
47. Khan, M., Gueaieb, W., Elsaddik, A., Masi, G.D., and Karray, F. (2024). Graph-Based Knowledge Driven Approach for Violence Detection. IEEE Consumer Electronics Magazine, IEEE.10.1109/MCE.2024.3446192 ↗
48. STT-Net: Simplified Temporal Transformer for Emotion Recognition10.1109/ACCESS.2024.3413136 ↗