Skip to content
/ SafeX Public

SafeX - REAL-TIME SECURITY SYSTEM MODEL X (Version 2 - New Update

Notifications You must be signed in to change notification settings

kyoo-147/SafeX

Repository files navigation

SafeX - REAL-TIME SECURITY SYSTEM MODEL X (Version 2 - New Update - Beta0.0.4)

[X] [Info] [Demo] [Youtube]

Final_Mb.mp4

Open your smart vision | Always keep you safe

Free to use. Easy to test. Just installing it can help with everything about security and more. Identity & Access Control and Vehicle Management. Cloud storage & Data retrieval. Safety & Security Monitoring. SafeX can make some mistakes. Be considerate and always check important information. We will try to improve it.

Approach

A system of trained and designed sequences to serve the community to develop and always keep the safety and security of users. The tasks are established and trained in a string that has been arranged. Multitasking operations are structured and set up according to standards. The optimal measures are also applied for it to operate smoothly on micro-devices.

Setup

We used Python 3.8.10 and Dlib 19.22.0 to train and test in real-time with our models, but the codebase is expected to be compatible with Python 3.7 - 3.11 and most recent versions of Dlib. The codebase also relies on a few Python packages, most notably Pandas for implementing and performing your data processing operations. You can download and install (or update) the latest SafeX release with our instructions as follows: (We develop and test system with Ubuntu 20.4. However, it will still work well on Windows)

# Clone our repository
git clone https://github.com/kyoo-147/SafeX

# Let's go
# We test base
cd SafeX

# That's all you need
pip install -r requirements.txt

# Run SafeX
python3 X_Main.py

You can also create a virtual environment for your Python setup using Virtual Environment or Anaconda, which makes it easier to manage packages and specify versions.

It also requires some additional detailed settings or performance boosts for your machine. You can refer to Install Dlib and Config Power for more details.

You should also check the connection with your IP camera (in our testing, we used the Ezviz C6N camera). You can find your RTSP address on the device's official page or in community forums. Refer to our code snippet for testing the connection using our RTSP method.

Available models

The CNN model is based on a Residual Neural Network (ResNet). Specifically, it is an optimized ResNet model with 29 layers. Essentially, this is a version of the ResNet-34 network from the paper Deep Residual Learning for image recognition, with some layers removed and the number of filters per layer reduced by half.

Usage

Please run the X_Main file mentioned earlier. In this interface, you can enter and register information and provide data for the system, then proceed with training and run the recognition mode.

System Operation Explanation:

  • Without OT: The program achieves the highest accuracy. When using a distance threshold of "0.6", the dlib model can achieve up to 99.38% accuracy based on the LFW face recognition standard.
  • With OT: Using OT, initial frame detection, subsequent frame tracking, and centroid-based OT are employed. Using OT saves computational time for facial descriptor calculations to improve FPS; however, you may have to sacrifice some accuracy.
  • Optimize: This is the primary program chosen for the official system operation. It balances accuracy and operational performance, utilizing resources efficiently. The distribution of operational threads and data transmission is arranged to avoid quota bottlenecks. Refer to the source code for more details.

Notifications

Enter your gmail here to receive push notifications for recognition statuses. The system will immediately send you notifications and perform tracking and querying of the object. An emergency warning state will be established when it realizes the processing time is too long.

Here we recommend using Environment Password, compared to pre-setting in the source code, it makes our information not guaranteed.

Alt text

Database

We use Firebase and Google Sheets to simulate database storage and retrieval. You can refer to the code snippets we provided in X_Utils for more details.

Demo

  • You can contact me or our community to learn more, fine-tune, and upgrade whenever you need.

Alt text

Alt text

And you can watch the product introduction video to learn more details and see how it works. Don't forget to support us by liking and subscribing, as that will be a great motivation for us. Now we hope to help you further and automate your safety. We keep you safe.

Please contact NaVin AIF Techonology: Hotline - Email

License

MIT License (https://opensource.org/licenses/MIT).

All copyrights belong to Duong Minh Ngoc Phat Corporation & NaVin AIF Technology. Contact us for more details.

Copyright SafeX © 2024 Duong Minh Ngoc Phat Corporation & NaVin AIF Technology. All Rights Reserved

About

SafeX - REAL-TIME SECURITY SYSTEM MODEL X (Version 2 - New Update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages