/opencv-imagelab-web

OpenCV Image Lab on Web with Pyodide

Primary LanguageSvelteMIT LicenseMIT

OpenCV ImageLab on Web

Powered By Sveltekit Netlify Status

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.

Key Features:

  • 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.

Public demo

You can try the actual demo here.

Developing

To run the application locally, follow these steps:

  1. Clone the repository.
git clone https://github.com/sabamotto/opencv-imagelab-web.git
  1. Navigate to the project folder.
cd opencv-imagelab-web
  1. Install dependencies. Please install pnpm in advance.
pnpm i
  1. 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/.

Building

To create a production version of your app:

pnpm run build

You can preview the production build with npm run preview.

Contributing

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.

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Contact

If you have any questions or suggestions, please don't hesitate to contact us at: