Graduation project using image conversion & GAN
Explore the docs »
- About the Project
- Getting Started
- Usage
- About GAN Model...
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
When you enter an image, it creates a transformed image with some modifications to the objects inside the original image.
Brief description
- When you input an image, objects inside the image are detected through a suitable algorithm.
- Various conversion methods (rotation, inversion, substitution with other objects, GAN conversion, etc.) are added to objects detected from the original image.
- Create a new image by combining the original image and the converted object.
The project started with creating the images needed for the spot the difference
game. The spot the difference
game is a game that finds different parts by comparing two similar images at a given time. In general, the game is played using a fixed image set in the local environment. With this problem in mind, I started a project that analyzes the input image and creates a similar transform image.
This project provides the ability to detect small objects inside the input image and convert the detected objects by applying various image processing techniques.
This project was developed in two parts, "Image Conversion Function" and "Android Application".
For information on Android apps using this repo, please refer to the following link.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- OpenCV with contrib modules
pip install opencv-contrib-python
- Scipy 1.2.0(Important)
pip install scipy==1.2.0
- Pillow
pip install pillow
- Tensorflow
pip install tensorflow==2.2.0
- Keras
pip install Keras==2.2.0
- Numpy
pip install numpy
Or you can install the libraries you need to use at once. It is suitable when using a new virtual environment (interpreter).
pip install -r requirements.txt
-
Complete the prerequisite settings
-
Clone the repo
git clone https://github.com/doljae/convert_image_maker.git
-
Unzip the repo and put the folder in the path to use the library.
-
Please refer to the manual to
import
and use the library. -
For detailed usage instructions, see
user_guide.pdf
Please refer to the Wiki page
The GAN model is required for image conversion using the GAN model. Please put the GAN model in the directory below.
./pix2pix/your_gan_model.h5
We attach a link to download the GAN model for users who are in a condition where the model is difficult to learn, or who need quick testing.
(Note) The artificial intelligence model depends on the data used for learning.
If you build a model with a lot of high quality data, you will get much better results.
For information on GAN, please refer to the link below.
- Pix2Pix main
- Pix2Pix paper
- Pix2Pix repo
- Pix2Pix Tensorflow exercise --> You can make your own GAN model using tensorflow and colab!!
See the open issues for a list of proposed features (and known issues).
- 2.1.5
- CHAGNE: Updated guide for image conversion with GAN model (2/3)
- CHAGNE: Directory & structure description
- 2.1.0
- CHAGNE: Updated guide for image conversion with GAN model (1/3)
- CHAGNE: Upload the created GAN model file (.h5) to an external drive.
- 2.0.0
- CHAGNE: Code refactoring(2/2)
- CHANGE: Update docs (module code remains unchanged)
- 1.5.0
- CHAGNE: Code refactoring(1/2)
- 1.0.0
- The first release
- FIX: Crash when calling GAN model file(.h5) with absolute directory
- 0.5.0
- The first function test
- 0.2.0
- Work in progress
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project(https://github.com/doljae/convert_image_maker/fork)
- 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 GPLv3
License. See LICENSE
for more information.
- Gwangryoun Kim - gais0726@gmail.com
- Seokjae Lee - seok9211@naver.com
- Jinkyung Choi - twin7014@naver.com
Project Link: https://github.com/doljae/convert_image_maker/