Skip to content

A Web-based Tool similar to https://pinetools.com/c-images/ website for generating Image gradients, histogram, edge detection, corner detection, image pyramids, Fourier transforms etc.. using open-cv.

Notifications You must be signed in to change notification settings

dalpat98/Dustim-Toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Dustim-Toolkit

A Web-based Tool similar to https://pinetools.com/c-images/ website for generating Image gradients, histogram, edge detection, corner detection, image pyramids, Fourier transforms etc.. using open-cv.

  • Tech Used : React Js, Djano, Open-CV, Python
  • Deployment : Pending ...

The source code is JavaScript and Python.

Project

Features

  1. Edge detection with different variant canny, sobel and others with adjustable parameters Ref. https://scikit-image.org/docs/dev/auto_examples/edges/plot_edge_filter.html http://airccse.org/journal/jcsit/1211csit20.pdf
  2. Fouier transform and inverse fourier transform of the image https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_transf orms/py_fourier_transform/py_fourier_transform.html
  3. Image pyramid generation https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_pyra mids/py_pyramids.html
  4. Image gradient https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_gradi ents/py_gradients.html
  5. Image histogram https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histo grams/py_table_of_contents_histograms/py_table_of_contents_histograms.html
  6. Image segmentation https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_water shed/py_watershed.html
  7. Corner detection https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_feat ures_harris/py_features_harris.html#harris-corners

All the image proceeding should have adjustable parameters similar to https://pinetools.com/c-images/ with download option. All the pages will have similar layout, the backend might be python with appropropriate packages. The communication with the server might be through a json object. The codes should be modular so that they can be later integrated with more functionality. The developer can change the layout according to his choice to make it more beautiful.

Show some ❤️ and star the repo to support the project

Installation

To install, simply clone this repository & run the following command yarn or npm install, this will install all the dependencies for you.

Running Project

To run this project locally, run the following command yarn start or npm start, this will start a local instance of the application & you will be able to run the app in your browser at this url http://localhost:3000/.

Some Screen Shots :

1. Desktop View :

2. Mobile View :

3. Design :

Requirements / Getting started :


                                                      Python Part
  • Download Python from : https://www.python.org/downloads/

  • Python Version - 3.7.3 (Also Check the option -Add Python to Path)

  • open command prompt and install the following packages

  • Example :- pip install Django==3.0.2

  • Django==3.0.2

  • django-clear-cache==0.3

  • django-cors-headers==3.5.0

  • djangorestframework==3.12.1

  • matplotlib==3.1.0

  • opencv-python==4.2.0.32

  • Pillow==7.2.0

  • requests==2.22.0

  • scikit-image==0.15.0

  • scikit-learn==0.21.2

  • scipy==1.5.3

  • urllib3==1.24.2

  • numpy==1.16.4

  • CairoSVG==2.4.2

  • bitarray==0.9.3

  • Install uniconvertor-2.0rc4-win64_headless.msi,

  • Find the "dll" sub-directory under the UniConverter installation path.(In my case, C:\Program Files\UniConvertor-2.0rc4\dlls)

  • Add this "dll" path to the system path.

  • open the root of the project (In my case, D:\Django\dustim>)

  • run the following commands :

  • 1> python manage.py makemigrations

  • 2> python manage.py migrate

  • 3> python manage.py createsuperuser (remember username and password for admin login)

  • 4> python manage.py makemigrations

  • 5> python manage.py migrate --run-syncdb

  • finally For running the server :- python manage.py runserver

  • go to http://127.0.0.1:8000/admin/ and login with the above username and password here you can check all the data


                                                                   React Part
    1. Install Node from https://nodejs.org/en/ (version = v14.5.0)
  • To check version ( node -v)

  • After Installation Add this to path (In my case, C:\Users\HP\AppData\Roaming\npm )

    1. Install following packages
  • "@material-ui/core": "^4.11.0",

  • "@material-ui/icons": "^4.9.1",

  • "@testing-library/jest-dom": "^4.2.4",

  • "@testing-library/react": "^9.5.0",

  • "@testing-library/user-event": "^7.2.1",

  • "axios": "^0.20.0",

  • "react": "^16.13.1",

  • "react-dom": "^16.13.1",

  • "react-image-comparison-slider": "^1.8.4",

  • "react-images-upload": "^1.2.8",

  • "react-router-dom": "^5.2.0",

  • "react-scripts": "^3.4.4",

  • "react-zoom-pan-pinch": "^1.6.1"

  • Example :- npm install [email protected]

  • i.e. npm install @

  • For running the server :- npm start (In the root Directory, In my case , D:\React_JS\image-toolkit)

❤️ Found this project useful?

If you found this project useful, then please consider giving it a ⭐ on Github and sharing it with your friends via social media.

Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

  1. Match the document style as closely as possible.
  2. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  3. Pull requests must be made against master branch for this particular repository.
  4. Make sure you follow the set standard as all other projects in this repo do
  5. Have fun!

Let's connect! Find me on the web.



If you have any Queries or Suggestions, feel free to reach out to me.

Show some  ❤️  by starring some of the repositories!

About

A Web-based Tool similar to https://pinetools.com/c-images/ website for generating Image gradients, histogram, edge detection, corner detection, image pyramids, Fourier transforms etc.. using open-cv.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published