NITEC: Versatile Hand-Annotated Eye Contact Dataset for Ego-Vision Interaction (Accepted at WACV24)
Citing
If you find our work useful, please cite the paper:
@misc{hempel2023nitec,
title={NITEC: Versatile Hand-Annotated Eye Contact Dataset for Ego-Vision Interaction},
author={Thorsten Hempel and Magnus Jung and Ahmed A. Abdelrahman and Ayoub Al-Hamadi},
year={2023},
eprint={2311.04505},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
Paper
Abstract
Eye contact is a crucial non-verbal interaction modality and plays an important role in our everyday social life. While humans are very sensitive to eye contact, the capabilities of machines to capture a person's gaze are still mediocre. We tackle this challenge and present NITEC, a hand-annotated eye contact dataset for ego-vision interaction. NITEC exceeds existing datasets for ego-vision eye contact in size and variety of demographics, social contexts, and lighting conditions, making it a valuable resource for advancing ego-vision-based eye contact research. Our extensive evaluations on NITEC demonstrate strong cross-dataset performance, emphasizing its effectiveness and adaptability in various scenarios, that allows seamless utilization to the fields of computer vision, human-computer interaction, and social robotics. We make our NITEC dataset publicly available to foster reproducibility and further exploration in the field of ego-vision interaction.
Quick Usage:
pip install face_detection@git+https://github.com/elliottzheng/face-detection
pip install nitec
Example usage:
from nitec import NITEC_Classifier, visualize
import cv2
nitec_pipeline = NITEC_Classifier(
weights= CWD / 'models' / 'nitec_rs18_e20.pth',
device=torch.device('cuda') # or 'cpu'
)
cap = cv2.VideoCapture(0)
_, frame = cap.read()
# Process frame and visualize
results = nitec_pipeline.predict(frame)
frame = visualize(frame, results, confidence=0.5)
Train / Test
NITEC Dataset
Prepare the dataset as explained here.
Snapshots
Download from here: https://drive.google.com/drive/folders/1zc6NZZ6yA4NJ52Nn0bgky1XpZs9Z0hSJ?usp=sharing
Train
python train.py \
--gpu 0 \
--num_epochs 50 \
--batch_size 64 \
--lr 0.0001 \
Test
python test.py \
--snapshot models/nitec_rs18_20.pth \
--gpu 0 \
Metadata
Release files for nitec 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nitec-0.0.2.tar.gz | 6.7 kB | Without provenance | Details for nitec-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nitec-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for nitec-0.0.2-py3-none-any.whl |
Total release size: 14.0 kB
Release files / nitec-0.0.2.tar.gz
| Download URL | nitec-0.0.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e62ed6f1556aaecdd15476dc1948c73f83a502ebfe110d67e7c7922ebd8b254a
|
|
BLAKE2b-256 checksum How to use checksums |
3cfb5b8d662d2ce9f3028a2313af7e8476f58cdd9b4f356efd4a27a546e6d367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / nitec-0.0.2-py3-none-any.whl
| Download URL | nitec-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76b7a44b8bcc8dd7862c4d9e95edddf827cb05f4573b761f6033711b3da934ec
|
|
BLAKE2b-256 checksum How to use checksums |
92be7bc7264384fb33eb23b1b2e419431578d87fdf1b25776b00893ba8e32361
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for nitec 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.