Skip to content

Face detection using Kafka | OpenCV | Centerface | Flask

Notifications You must be signed in to change notification settings

niyazed/kafka-face-detection

Repository files navigation

Realtime face detection using Kafka video streaming

  • Face detection using Kafka | OpenCV | Centerface | Flask | MySQL
  • Running kafka using docker
  • Stored face images

Installation

  • Install docker, docker-compose
  • Install the dependencies:
  $ pip install -r requirements.txt

Kafka & Zookeeper Setup

  $ docker-compose -f docker-compose.yml up -d

Finally

  • Run kafka producer:
  $ python producer.py
  • And run kafka consumer:
  $ python consumer.py

Your app should now be running on localhost:5000

Reference

- http://betterdatascience.com/how-to-install-apache-kafka-using-docker-the-easy-way/
- https://github.com/akmamun/kafka-python-camera-stream

Releases

No releases published

Packages

No packages published

Languages