Skip to main content

network analysis tool based on face recognition

Project description

Facial Network Analysis

diagram

Fanesis is a Facial Network Analysis tool that analyzes the faces and behaviors of individuals in a group and creates a visual representation of their relationships. Fanesis uses computer vision and machine learning techniques to detect the emotions and interactions of each individual. It then creates two types of associations: group-based and emotion-based. Group-based associations show how individuals are connected within the group, such as who knows whom, who is close to whom, and who is influential to whom. Emotion-based associations show how individuals feel about each other, such as who likes whom, who dislikes whom, and who is neutral to whom. Fanesis provides insights into the dynamics and characteristics of the group, which can be useful for various applications such as social network analysis, group psychology, and team building.

gba Here is an example output from a very small dataset of images. We are presenting the results from a different embedding model. This allows us to analyze which person is more popular in the known dataset.

[!WARNING] The quality of the generated network depends on the quality of the embedding model.

Installation

Usage

Using the individual classes

from fanesis import Individualize, Grouping, Visualize

imgs_path = "./data/"
base_path = "./output/"
output_path = "./output/output/"

i = Individualize(imgs_path, base_path)
i.run()

g = Grouping(output_path)
df = g.run()

v = Visualize(output_path)
v.visualize(df)

Using FanesisPipeline

from fanesis import FanesisPipeline

imgs_path = "./data/"
base_path = "./output/"

pipeline = FanesisPipeline()
pipeline(imgs_path, base_path)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fanesis-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

fanesis-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file fanesis-0.1.0.tar.gz.

File metadata

  • Download URL: fanesis-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Windows/10

File hashes

Hashes for fanesis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9d1933845f57eb414448f58c918b9b58e530599b6d709331864710732013c56c
MD5 e600ad73fcbd8c0695df137bdfeb3391
BLAKE2b-256 6444a267ccaf638782ad8509dc796e437e70a943155374339d233fb484aea6fb

See more details on using hashes here.

File details

Details for the file fanesis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fanesis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Windows/10

File hashes

Hashes for fanesis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c97c1bc85da74b74b0be2e6110f60256c756cf8d8c342da01d3a90fcb211a76
MD5 dd0c628d28eeb530118f8dd88f88df3f
BLAKE2b-256 c507f5672b895654a41895d39623889d1234c7a66e8efc0315260e23f250504a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page