Image Fusion is a project designed to integrate Go and C++ code. This application features a web server built in Go, while the image processing is performed using C++ and OpenCV. This project serves as a trial and verification for myself to successfully build and run two different programming languages together in a single project.
- Web Server: Built with Go to handle image requests.
- Image Processing: Uses C++ for efficient image manipulation (e.g., converting images to grayscale).
- Go: Download from golang.org
- C++: Ensure you have a compatible compiler.
To install OpenCV, follow the instructions from the OpenCV installation guide. Ensure you have the required libraries and dependencies set up.
git clone https://github.com/Masum-Osman/image-fusion.git
cd image-fusionThe project uses a Makefile for building the C++ component. To compile the code, simply run:
makeThis command generates a shared library image_processor.so.
go run main.goThe application listens for image processing requests and invokes the C++ processor to handle the images.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please reach out to Masum Osman.