Wagtail, Django based web application for real-time and image based deployment of Computer Vision
Read More
·
Report Bug
·
Request Feature
Table of Contents
The simple web app is a web application built using the wagtail app development framework, which is based on the Django web framework. It showcases how to deploy artificial intelligence (AI) models for computer vision on real-time video streams from various sources, as well as image-based uploads, with potential support for video-based uploads in the future.
The app is designed to provide a user-friendly interface with HTML, CSS, and JavaScript in the frontend and Python in the backend, making it easy for developers to deploy AI models for computer vision on video and image data. The app provides support for containerization and scalability, making it easy to deploy on different hosting platforms and environments.
However, it should be noted that the simple web app is a stencil app, meaning that it serves as a starting point for developers to build their own custom applications. Users will need to modify the app to fit their specific use case. The app comes with a brief documentation and some link to online tutorials for developers to learn more about deploying AI models for computer vision in their own applications.
Overall, the simple web app is a valuable resource for developers interested in exploring the intersection of web development and artificial intelligence, providing a powerful starting point for building custom AI-powered applications.
- Clone the repo
git clone https://github.com/GitarthVaishnav/Basic_Web_App.git
You require the following to get started:
- A local computer or a compatible edge device
- Python 3.9
- NVIDIA GPU (optional)
-
Go to The repository
cd <your_path_to_folder>/Basic_Web_App
-
Create a virtual environment named
venv
python -m venv venv
-
Activate the virtual environment
venv
:Linux/MacOS:
source venv/bin/activate
Windows:
venv\Scripts\activate
-
Once Virtual Environment is active, your terminal will look like the following:
Linux/MacOS:
(venv) apple... $ `or` %
Windows:
(venv) C:\.... >
-
Upgrade pip:
pip install --upgrade pip
-
Install the requirements now (make sure venv is activated):
pip install -r requirements.txt
This shall install all the required libraries. If version issues occur - remove version numbers.
Follow the steps to start the simple web application after the libraries are installed:
- Go to the directory
mysite
cd mysite
- Run the following command (required after every major code update, and first installation)
python manage.py makemigrations
- Run the following command (required after every major code update, and first installation)
python manage.py migrate
- Run the following command (this starts the application)
python manage.py runserver
There are two options to make your own app:
- Start from scratch, i.e., not building up on this app, but starting fresh and then doing everything on your own. Check out: Option1 Documentation
- Build on this app, i.e., modify this app by installing this app and then changing everything as per your requirements. Check out: Option2 Documentation
Note for Students (specially for students of the subject: 42028 Deep Learning and CNNs of UTS):
I strongly recommend that you choose Option-2 for your project. While the provided app is a basic, vanilla-level baseline, it is important to note that using this app with only minor modifications may result in heavy penalties. To avoid these penalties, I strongly recommend making significant modifications and additions to the app, including but not limited to functionalities, style, pages, UI/UX, AI, look and feel, optimisation and edge-case testing.
I would also like to remind you that the provided app is the intellectual property of Gitarth Vaishnav. Any use of this app should be accompanied by proper attribution (including but not limited to visibility in the code, report, and the actual interface/system), in accordance with academic integrity policies.
Please note that copying the app as is, with only minor or little modifications, may result in accusations of plagiarism and penalties.
Thank you for your understanding and adherence to the academic integrity policies of the university.
- Learn Wagtail: Link
- Django for Data Science: Link
- Wagtail Documentation: Link
- Django Documentation: Link
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Custom License. See LICENSE
for more information.
Gitarth Vaishnav - @GitarthVaishnav
Email: [email protected] | [email protected]
Github Link: @GitarthVaishnav
Project Link: https://github.com/GitarthVaishnav/Basic_Web_App/