It is a lightweight application that enables web clients to develop image processing tasks using OpenCV in Python. It leverages Pyodide as the runtime environment, and with built-in image preview functionality, it's easily do with just a web browser.
- Develop image processing tasks using OpenCV in Python.
- Utilizes Pyodide for a self-contained Python environment within the web browser.
- Built-in image preview for immediate feedback.
With OpenCV ImageLab on Web, image processing becomes accessible to everyone with a web browser, making it simple and convenient to experiment with OpenCV's powerful capabilities.
You can try the actual demo here.
To run the application locally, follow these steps:
- Clone the repository.
git clone https://github.com/sabamotto/opencv-imagelab-web.git
- Navigate to the project folder.
cd opencv-imagelab-web
- Install dependencies. Please install pnpm in advance.
pnpm i
- Start the application.
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
The application will run by default at http://localhost:5173/
.
To create a production version of your app:
pnpm run build
You can preview the production build with npm run preview
.
Contributions to this project are welcome. Whether it's bug reports, feature suggestions, or code improvements, feel free to contribute in any way you can.
This project is licensed under the MIT License. For more details, see the LICENSE file.
If you have any questions or suggestions, please don't hesitate to contact us at:
- GitHub: @sabamotto
- Twitter: @sabamotto