Background: Instant access to desired information is the key element for building an intelligent environment creating value for people and steering towards society 5.0. Online newspapers are one such example which provide instant access to information anywhere and anytime on our mobiles, tablets, laptops, desktops, etc. But when it comes to searching for a specific advertisement in newspapers, online newspapers do not provide easy advertisement search options. Also, there are no specialized search portals which can provide for keyword-based advertisement search across multiple online newspapers. As a result, to find a specific advertisement in multiple newspapers, a sequential manual search is required across a range of online newspapers.
Objective: This research paper proposes a keyword-based advertisement search framework to provide an instant access to the relevant advertisements from online English newspapers in a category of reader’s choice.
Methods: First, an image extraction algorithm is proposed which can identify and extract the images from online newspapers without using any rules on advertisement placement and/or size. It is followed by a proposed deep learning Convolutional Neural Network (CNN) model named ‘Adv_Recognizer’ which is used to separate the advertisement images from non-advertisement images. Another CNN Model, ‘Adv_Classifier’, is proposed, which classifies the advertisement images into four pre-defined categories. Finally, Optical Character Recognition (OCR) technique is used to perform keyword-based advertisement searches in various categories across multiple newspapers.
Results: The proposed image extraction algorithm can easily extract all types of well-bounded images from different online newspapers and this algorithm is used to create ‘English newspaper image dataset’ of 11,000 images, including advertisements and non-advertisements. The proposed ‘Adv_Recognizer’ model separates advertisement and non-advertisement images with an accuracy of around 97.8%. and the proposed ‘Adv_Classifier’ model classifies the advertisements in four predefined categories exhibiting an accuracy of around 73.5%.
Conclusion: The proposed framework will help newspaper readers in performing exhaustive advertisement searches across a range of online English newspapers in a category of their own interest. It will also help in carrying out advertisement analysis and studies.
Keywords: Advertisement image classification, convolutional neural networks (CNN), newspaper advertisements, newspaper layout segmentation, optical character recognition (OCR), residual networks (ResNet), transfer learning.