Skip to main content

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)

Metadata

Release files for fanesis 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fanesis 0.1.0
File Size Uploaded
fanesis-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fanesis 0.1.0
File Interpreter ABI Platform
fanesis-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / fanesis-0.1.0.tar.gz

Download URL fanesis-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9d1933845f57eb414448f58c918b9b58e530599b6d709331864710732013c56c
BLAKE2b-256 checksum
How to use checksums
6444a267ccaf638782ad8509dc796e437e70a943155374339d233fb484aea6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Windows/10

Release files / fanesis-0.1.0-py3-none-any.whl

Download URL fanesis-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c97c1bc85da74b74b0be2e6110f60256c756cf8d8c342da01d3a90fcb211a76
BLAKE2b-256 checksum
How to use checksums
c507f5672b895654a41895d39623889d1234c7a66e8efc0315260e23f250504a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page