This is my experimental project to use computer vision as a feature of a website. I use OpenCV library with C++ to process the image and Python Flask to make the REST API and Email Service.
The easiest way to try this program is by using Podman or Docker
git clone https://github.com/KY64/Uglify-Me.git
cd Uglify-Me- Podman
podman build -t uglify:1.0 .
podman run -dt --name uglify-me -e PORT=5000 -e [email protected] -e SPICY=email_password -p 5000:5000 uglify:1.0- Docker
docker build -t uglify:1.0 .
docker run -dt --name uglify-me -e PORT=5000 -e [email protected] -e SPICY=email_password -p 5000:5000 uglify:1.0Currently, I'm using Fedora to try this program so for those who uses another Linux Distro might need to find out the package name.
dnf install -y cmake g++ wget unzip python3-pip \
gtk3-devel gstreamer1-devel clutter-devel \
&& wget -O opencv.zip https://github.com/opencv/opencv/archive/master.zip \
&& unzip opencv.zip && mkdir -p build && cd build \
&& cmake ../opencv-master \
&& cmake --build . \
&& cmake --build . --target install \
&& cd ../ \
&& pip install -r requirements.txt \
&& cd processor \
&& cmake . \
&& makeTo send email using your Gmail account, you must Allow less secure apps. You can find more about it here
