%D 2023 %R 10.1109/ACCESS.2023.3318600 %O cited By 2 %J IEEE Access %L scholars19122 %K Artificial intelligence; Behavioral research; Classification (of information); Clustering algorithms; Computer crime; Learning algorithms; Learning systems; Nearest neighbor search; Optical fibers, Behavioral science; DBSCAN; Intrusion activity; Intrusion-Detection; Machine learning algorithms; Machine-learning; Optical fiber networks; Perimeter intrusion detection systems; Sagnac interferometer; Security, Intrusion detection %X Perimeter intrusion detection systems (PIDS) play a crucial role in safeguarding critical infrastructures from unauthorized access and potential security breaches. Security is the main concern everywhere in the world. There are already many PIDS available, but the PID systems are still lacking in terms of probability of detection, false intrusion, and the activity recognition of intrusion. To solve the above problem, we designed a prototype for PIDS using a DHT22 temperature and humidity sensor, vibration sensor SW-420 Module Pinout, Mini PIR motion sensor, and Arduino UNO. After collecting the data from above mentioned sensors we applied machine learning algorithms DBSCAN to cluster the data points and K-NN classification to classify those clusters in one-dimensional data, but the results were not much satisfying. From there we got the motivation to improve the algorithm and applied it to two-dimensional data. The existing DBSCAN is not efficient due to its high complexity and the varying densities. To overcome these issues in this algorithm, we have improved the existing DBSCAN to ST-DBSCAN where we have used the estimation for the epsilon value and used the Manatton distance formula to find out the distance between points which produces 94.9853 accuracy on our dataset. Another contribution of the proposed work is that we have developed our own dataset named STPID-dataset, captured from security cameras installed in various locations which can be used by future researchers. © 2013 IEEE. %P 106954-106966 %T Revolutionizing Perimeter Intrusion Detection: A Machine Learning-Driven Approach with Curated Dataset Generation for Enhanced Security %I Institute of Electrical and Electronics Engineers Inc. %A S. Pitafi %A T. Anwar %A I.D.M. Widia %A B. Yimwadsana %A S. Pitafi %V 11