- Updated to YOLOv3! For more details, see this.
This project aims to detect objects in an image and match detected objects with emojis.
When you launch the application, there will be an animation effect: the emojis will appear or disappear randomly.
- Take an image by webcam or a local image.
- Perform object detection in the image using the convolutional neural network approach.
- Match between detected objects and emojis.
- Show emojis on the graphical interface.
- Install
PyQt
; - Modify the
Makefile
file according to your environment.
GPU=1 # 0 if your pc doesn't support CUDA
CUDNN=1 # 0 if your pc doesn't support CUDNN
OPENCV=1 # 0 if your pc doesn't support OPENCV
make
the project;- Download
yolo.weights
by running:
wget https://pjreddie.com/media/files/yolo.weights
- If you want to detect one image, run:
python yolo_detection.py filename
for exemple:
python yolo_detection.py data/dog.jpg
- If you want to detect more than one images, run:
python yolo_detection.py filename1 filename2 filename3 ...
- If you want to run the interface program, run:
python img2emoji.py
- Yunyun SUN , Yutong YAN , Sixiang XU , Heng ZHANG.
This project is based on darknet.