Knife Detection System Using CLIP-Based Vision-Language Model

Knife detection in restricted areas is essential to ensure security and preventing harm. In institutions such as schools, airports, prisons, or public transport, restricted areas can easily turn into a threat if someone carries a knife. Knifes are detected to prevent possible threats, eliminate injuries, and provide a safe environment for all. AI based Knife detection ensures safety, preventing harm, saves lives, promotes safe public spaces. In this work a machine learning algorithm known as ViT B/32 a Contrastive Language–Image Pretraining (CLIP) based model is presented for efficient detection of knifes in small spaces utilizing the Vision Language Models (VLM). CLIP is a zero-shot detection model, it can classify and interpret data without training, testing, and validation. CLIP leverages pre- trained knowledge from large-scale textual and visual data to make accurate predictions directly. This eliminates the need for the typical data preparation and segmentation process, making it highly efficient for tasks across diverse domains. It examines an image of a knife using a vision encoder to identify its shape, dimensions, and texture as patterns (feature embeddings). The proposed model has been tested with three different knife image datasets. The performance metrics considered for the simulation are precision, recall, F1 score, and accuracy. The dataset1 consists of 400 knife images, dataset2 has 4,075 knife images and dataset3 comprises 3,985 knife images. The proposed algorithm Vit - B/32 outperforms exceptional results with an average precision of 97.67%, accuracy of 89.67%, recall of 84.33%, and F1-score of 89.33% for all the three datasets. A comparison with existing algorithms highlights the effectiveness of the proposed algorithm.

Authors

Publication Details

Journal
International Journal of Engineering Technology and Management Sciences
Published
2025-01-01
DOI
https://doi.org/10.46647/ijetms.2025.v09i02.026
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Knife Detection System Using CLIP-Based Vision-Language Model

M. Arockia Babu, N Anusha, Munirathnam Srikanth, M. Vijaya Lakshmi et al.
International Journal of Engineering Technology and Management Sciences
Industrial Vision Systems and Defect Detection
article

Knife Detection System Using CLIP-Based Vision-Language Model

M. Arockia Babu, N Anusha, Munirathnam Srikanth, M. Vijaya Lakshmi, Y. Manjula Brahmeswari
article en

Abstract

Knife detection in restricted areas is essential to ensure security and preventing harm. In institutions such as schools, airports, prisons, or public transport, restricted areas can easily turn into a threat if someone carries a knife. Knifes are detected to prevent possible threats, eliminate injuries, and provide a safe environment for all. AI based Knife detection ensures safety, preventing harm, saves lives, promotes safe public spaces. In this work a machine learning algorithm known as ViT B/32 a Contrastive Language–Image Pretraining (CLIP) based model is presented for efficient detection of knifes in small spaces utilizing the Vision Language Models (VLM). CLIP is a zero-shot detection model, it can classify and interpret data without training, testing, and validation. CLIP leverages pre- trained knowledge from large-scale textual and visual data to make accurate predictions directly. This eliminates the need for the typical data preparation and segmentation process, making it highly efficient for tasks across diverse domains. It examines an image of a knife using a vision encoder to identify its shape, dimensions, and texture as patterns (feature embeddings). The proposed model has been tested with three different knife image datasets. The performance metrics considered for the simulation are precision, recall, F1 score, and accuracy. The dataset1 consists of 400 knife images, dataset2 has 4,075 knife images and dataset3 comprises 3,985 knife images. The proposed algorithm Vit - B/32 outperforms exceptional results with an average precision of 97.67%, accuracy of 89.67%, recall of 84.33%, and F1-score of 89.33% for all the three datasets. A comparison with existing algorithms highlights the effectiveness of the proposed algorithm.

International Journal of Engineering Technology and Management SciencesVol. 9(2)
Openalex Percentile: Top 92%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Knife Detection System Using CLIP-Based Vision-Language Model — M. Arockia Babu, N Anusha, et al. · International Journal of Engineering Technology and Management Sciences (2025) | TGRS Research Map | TGRS