The rapid spread of diseases like COVID-19 highlights the need for adaptable monitoring systems to support public health measures such as mask compliance and social distancing. This study presents the CB-OWL-ViT framework: a Cluster-Based Open-World Localization Vision Transformer for mask detection and social distance estimation. It incorporates homography-based distance estimation for effective deployment with monocular cameras. The innovative integration of open-world vision-language detection with a clustering-based strategy enhances mask-wearing assessments, enabling adaptability without retraining. Evaluations on datasets including Kaggle, Roboflow, and a new dataset from the University of Waterloo show that CB-OWL-ViT improves mask detection precision by 0.37 and F1-score by 0.2 compared to the baseline. The homography module achieves a Mean Absolute Error of 0.1116 in distance estimation, and real-world tests demonstrate a recall of 0.98 for detecting noncompliance in the “Without Mask” class. This framework is a practical solution for large-scale disease monitoring across various settings.
Previous studies have established that the amygdala specifically the basolateral amygdala (BLA), has a fundamental role in decision-making. The present study aimed to investigate functional and neural synchronization between the BLA and anterior cingulate cortex (ACC) while making effort-choice decisions regarding pre-morphine dependence and morphine dependence times. A T-maze decision-making task with a differential outlay (great vs. small effort) and benefit (great vs. small reward) was done, and local field potentials from the BLA and ACC were assessed simultaneously. Results illustrated that in pre-morphine dependence time, when the animals made great reward/great effort decisions, there was a neural synchronization between both regions in beta and gamma frequency bands; and also, in delta, theta, beta, and gamma frequencies while expending effort and climbing the barrier. However, in morphine-dependent rats, during low reward/low effort choice and also during expending low effort, there was just a weak neural coherence in gamma frequency. Besides, there was neural synchronization in theta, beta, and gamma frequencies during reaching great reward in pre-morphine dependence time. Nevertheless, during reaching low reward in morphine dependence time, there was a weaker coherence in beta and gamma compared to pre-morphine dependence. These findings showed that functional and neural coherence between the BLA and ACC has a fundamental role in making the effort-based decision and expending effort. Preference for low reward/low effort, and decrease in expending effort in morphine-dependent rats is partly associated with the changes in the neural coherence between the BLA and ACC.