Introduction

To reduce or break the escalation of infection, quarantine or physical isolation was practiced for centuries. The novel coronavirus COVID‐19 was initially reported in Wuhan, China, in late 2019 and has expeditiously spread across the globe becoming a pandemic and has hit India off late [1]. Current quarantine policies have been thrusted world-wide aiming to lessen the spread of the COVID‐19 infection including lockdowns, voluntary home quarantine, and restriction on the assemblies, social and public events. These restrictions imposed due to COVID‐19 outbreak, have caused significant chaos to individuals, families, communities and the whole world. Much of world's population have been affected extremely altering and complicating features of daily life that were easy and direct [2].

The precariousness is more and more testing psychological resilience of the people. When the universal cynosure has mostly been on testing, discovering a cure and avert communication of the disease; in the midst of all these issues people are also experiencing a multitudinous psychological problem in regulating to the current way of life and panic caused by the pestilence.

A shift in the usual life makes people feel fearful and unsafe which can be linked with the disease‐fear contagion chain because of the unawareness of the cause or progression of the disease and outcomes, false news and trumped-up story which can lead to prejudice. Social support is the need of the hour in times of dreadful situations like this. Hence, imposed quarantine or isolation strategy can pressurize an individual's sense of association and can lead to a profuse effect on mental health [3].

Social isolation interconnected with quarantine can be the major impulse for many mental health effects [4]; even in people with proper mental health. These can involve desperate stress disorders, sleeplessness, emotional pain and mind disorders, agitation and trauma because of financial perturbation, disappointments, weariness, rejection and poor communication [5]. All these mental health troubles can be solved by prognosticating it at the earliest and provide them virtual therapists or counsellors to whom they can open out easily. Artificial intelligence can recognize and identify such persons and avert the growth of severe mental illness by providing proper counselling or therapy [6].

The novel coronavirus has risen as a major health disaster [7]. This began as an outbreak in India from January 29, and has rapidly increased with 40,00,000 confirmed cases, 30,37,106 recovered number and death rate of 68,598 till the month of September as per the statistics provided by Statista, Health and pharmaceuticals, State of Health on the topic ‘Cumulative of the coronavirus (COVID-19) confirmed, recovered and deceased numbers across India from January to September 2020’ WHO and the other global health establishments have constantly emphasized the significance of “reducing the curve” to manage the pandemic as shown in Fig. 1.

Fig. 1
figure 1

COVID cases: a survey

Threat of COVID-19 and the Fluctuating Psychology

The fear of coronavirus can crumple our psychological reactions paving way for many unexpected mental traumas due to the panic caused by overthinking. All the social media platforms are jammed with back to back broadcasting of the prevailing pandemic situation. This constant cannonade may have high consequence in intensified anxiety with instant effects on cognitive health [8]. The constant threat feel may result in psychological disorders owing to some extremely developed responses to sickness, fright and the threat of disease can also make us become more sceptical to strangers. Psychological effects of quarantine may differ from instantaneous effects for instance fear of infecting other family members, rejection and avoidance, hopelessness and socio-economic suffering, marking people with stigmata and defaming [9].

Consequences Faced by Assorted People in the Society

In Kids, Toddlers and Youngsters

A very critical but seemingly unnoticed matter of concern is the psychological force of COVID-19 occurrence on kids and youngsters. For cerebral, emotional and psychosocial skill development environmental elements in these phases arouse the basic behaviors for lifetime success [10]. During extreme situations like the prevailing pandemic many problems are faced by the young minds like suspending schools, parks and other entertainment zones which disturbs the regular life habits of the children leading to perplexity, intolerance, irritation, frustration, aggression which consecutively causes hostility. These factors automatically provoke mental illness [11]. The parent–child severance may cause uneasiness and worry for themselves and their cherished ones and increase in extended emotional collision.

Elderly Community

Aged people and people who have severe diseases are particularly susceptible to poorer outcomes from COVID-19 and produce substantial fright among them. Elder adults with cognitive refuse possibly will develop a great deal of unease, trouble, and become generally reserved, therefore their definite wants insist precise notice [12]. Physical workout may be a probable treatment to preserve a healthy bodily wellbeing, and moreover to counter the psychosomatic impact in this tough time [13].

Frontline Workers

Healthcare workers were expected to experience more psychiatric disorders. The novel coronavirus outbreak threatens to aggravate job-related strain in the midst of some healthcare personnel and to increase their psychological suffering [14]. Extreme fear regarding COVID-19 can have an effect on the capacity and flexibility of folks when they care for moody people at their home as they were performing duties before the occurrence of the epidemic which may inculcate fear, weariness, and abandonment leading to emotional disturbances among them [15].

Disparaged Group of People

In places with the maximum occurrence of COVID-19 live the huge mass of the world’s emigrant and global nomad people. These people are unreasonably exposed to elimination, disgrace and inequity. They contain an elevated occurrence of general psychiatric problems such as sadness, poor standard of living which can be endangered due to quarantine rules forced by the government and loss of job and income during the COVID-19 [5]. It has made the major lockdown occur so as to strictly develop unhappiness in the migrant staff, daily wagers and slum residents globally. Unemployment leads these people incapable to manage life and this unexpected bad luck of poverty, job loss and low income adds to their remorse, annoyance, gloominess and mental agony, eventually leading to functional injury.

Extensive Nervousness in Common People

An unsure feeling of the future owing to the current lockdown constraint may result in unusually increased unease. Earlier researches have examined the severity and largescale psychosocial complications that these types of contagions can impose on the inhabitants. Owing to the uncertainty and changeable track of the infection, allergy of vagueness, supposed danger of building up the infection can provoke pessimistic emotional feelings together with non-adaptive etiquettes, emotional anguish and isolation amongst people [16]. News about the initial death, expediting in number of latest cases and unrestrained channel awareness can also enhance people’s qualms about the situation during disease. This ends up in mislaid health-protection and assisting habits by the common people which may leads to disputes between medical practitioners and patients, which may be destructive to pandemic controlling programmers and hinder steadiness in the society [17].

‘Homeless’ Home-Quarantine

A large number of people in countries like India face a major problem of homelessness hence the control measures for COVID 19 expected from the public, like isolation, improved sanitation, home-confinement, and stern social distancing are not practically possible among destitute people. Several people experience persistent mental disease, cruelty, difficulties in receiving reasonably priced health care and advanced transience which might become fan the flames in this grave phase of life [5]. The solitary confinement and disease control measures possibly can be confirmed to be unfavorable on the mental illness of homeless public who have unease and scare of compelled hospital stay and thus their rights of this impoverished part of the society remains unconcerned [18].

Pre-existing Psychiatric Infirmity and COVID-19

People with mental illness are significantly more expected to be tainted by the illness and are in higher danger encountering more physical and psychological pressures during this terminal period. There are more chances for such people to obtain infection due to lack of knowledge, abridged concern on personal cleanliness [19]. And when psychological anguish accompany it becomes more exigent. Health cautious people misconstrue nontoxic physical symptoms as the indication of the hazardous infection which obviously widens their fear and distress [20].

Effect of COVID-19: Risk of Anxiety, Depression and Others

Massive psychological impacts have been aroused in the alarming pandemic period. Pervasiveness of anxiety and depression happens to be highest at patients who tested positive, frontline workers especially health care providers and also among the general public [21]. Stress is something we face in our daily life. It comes in many forms like occupational stress or monetary stress, to social problems, to new life changes, to inner experiences. Traumatic stress throws back revelation to dreadful events usually apart from regular human experiences which are painful emotionally, extreme and stressful. Inexorable loneliness, annoyance, weariness, hysterical fears are also some of the effects caused [22].

Self-Mutilation and Suicide

Even though there is an increase in prodrome of fretfulness and surviving amidst the constant worry and stress, there is a major threat of self-harm and suicide predominantly among insecure folks [23]. Moreover, with the forced or compelled isolation to reduce the infection the closely connected people of the affected person is unable to identify and impede the suicidal attempt. There is also increase in self-harm due to the vagueness brought about by the pandemic. People’s top concerns were the fear of job loss and financial insecurity. Continuous exposure to news of death and destruction can due to Corona virus may boost up the fear and also reinforce suicide risk [24].

Gender Disparities

Though it is men who often step out of the house and are considered as the bread winners of the family and are likely suspected to bring the infection into their homes. Women—the caregivers—are the mostly affected persons psychologically when children and aged are at peril. Working women face even more difficulties enduring workplace responsibilities too. At the outset all these factors add stress to women’s lives.

Counselling Using AI

The coronavirus disease and its instantaneous consequences present a severe vulnerability to the mental health of the people resulting in anxiety, depression, stress, and suicidal behaviours. People also face these mental illnesses due to the isolation which threatens them the most. This being the case these quarantined patients cannot avail treatment by visiting a doctor and medical practitioner or a counsellor to let out what’s running in their mind. One of the supreme methods is technological or virtual psychiatry treatment applying artificial intelligence [6]. AI has the capability to examine data, and identify patterns to solve or render proper therapy to the particular mental disorder. Chatbots are more human like. It is being used productively as a way of providing useful information exclusively in mental health during this pandemic period which restricts one on one counselling. An interactive chat bot can be created [25].

The main aim of counselling is to bring down negative thoughts and instill comfort, happiness and welfare among people who are really in need of a person whom they can totally rely on but unfortunately friends or family cannot render their shoulders to the affected person due to the prevailing pandemic and more over there will always be a restraint when sharing personal or embarrassing things. Thus a virtual counsellor can be replaced to share things easier and articulate freely by avoiding the feel of being judged.

Using artificial intelligence, it is also possible to spot even facial expressions or nonverbal body language which can draw together all the exteroceptive behaviours and evaluate the mental problem and can deliver a proper counselling to recover from their mental illness.

Starring Role of AI in Counselling

In building up a system with artificial intelligence, the deep learning approaches are mainly used to muddle through the human intelligence and specifically verbal/nonverbal language is one of the perilous modes through which the patient with mental illness can be tracked even with elusive changes. The virtual counsellor should be designed with intelligence so that it can track it and respond intelligently to the extent where even the Medical advisor is not necessary all the times and our virtual counsellor could be a prime option. Moreover, the diagnostic tool [26,27,28,29] in the intrusion of artificial intelligence through healthcare analysis is a great fortune for doctors in many ways also. The data must be preserved with great confidentiality [30] being the right of a human, through various recent techniques.

The system is trained and tested to respond intelligently to shambolic speeches/texts for which Tokenization is used effectively where the alerted data are figured out efficiently. This process is carried out by taking the sentence first through Sentence Tokenize and then words through Word Tokenize, further through Regular expression excruciate the strings into substrings using Regexp Tokenizer and finally even the empty lines are preserved using Blank line Tokenizer.

The frequency distribution is elucidated by counting the occurrence of words through which auto encoding is done where the deep learning techniques are extensively used and eventually, there are no possibilities that the response from the Counsellor will never go wrong and the prediction rate would be greatly appreciated. Any model can fit the data but the suggested hybrid model is the combination of LSTM (Long Short term Memory network)and CNN (convolutional neural network) which can seize the local and global features of words and sentences in the text through natural language processing (NLP) for text classification.

The input message from the mentally ill is fed to the system for NLP (Natural Language processing) for data cleaning and the distribution of the frequency of words are categorised and further fed to the deep learning hybrid model for classifying the text and question-aware passage representation and response as shown in Fig. 2. In this multilayer network, information flows layer by layer and thus the auto encoding predicts the words with high accuracy and the performance evaluation is done through the following dominant parameters:

  1. (i)

    Recognition rate = True positive + true negative/positive + negative

  2. (ii)

    Misclassification rate = False positive + false negative/positive + negative

  3. (iii)

    Sensitivity = True positive/positive

  4. (iv)

    Specificity = True negative/negative

  5. (v)

    Precision = True positive/true positive + false positive

Fig. 2
figure 2

Proposed methodology

Conclusion

These adverse days may have a deadly effect on the emotional fitness and physical well-being of patients. The best way ahead to support the affected patients is by providing psychological and personal support, relaxation therapy, and psychotherapy services tenuously which aids in reducing anxiety and depression among the affected people. It is also equally sensible to offer community assistance for those living solitary and encourage families and friends to constantly speak to them over phone in-order to reduce emotional isolation and aids in lessening some stress. The psychological impact of fear and anxiety induced by the quick spread of pandemic has to be obviously acknowledged as health precedence for both authorities and strategy makers who should quickly espouse very clear behavioural strategies to reduce the pandemic and the mental depression and other traumas caused. Taking care of such people by friends and family through phone call and video calls makes the society strong mentally. Appropriate mental health care needs have to be developed urgently both in urban and residential areas. Artificial intelligence can also be incorporated along with the clinicians and can provide online counselling with all the reports generated by the virtual counsellor. With the help of artificial intelligence in the field of mental and behavioural health it becomes more opportune and easily approachable.