This project demonstrates the integration of Svelte with TypeScript on the frontend and a C++-based backend application developed with Visual Studio. Communication between the frontend and backend is handled via WebSockets, with OpenCV used for image and video processing.
Ensure the following components are installed on your system:
Install dependencies:
Navigate to the frontend
directory and run the following command:
npm install
Start the development server:
Start the development server with:
npm run dev
The server is accessible by default at http://localhost:5000
.
Open the project:
Open the Visual Studio project in the backend
directory.
Ensure dependencies:
Make sure OpenCV is correctly integrated and all necessary libraries are available.
Build and run:
Run the project in Visual Studio. The backend will listen for incoming WebSocket connections from the frontend.
Real-time image processing: The frontend sends image or video data via WebSockets to the backend, where it is processed using OpenCV and then sent back to the frontend.
Customizable processing: Modify the image processing logic in the backend to fit your specific requirements by adjusting the relevant C++ functions.
This project is licensed under the MIT License.