Skip to content

epic-kitchens/epic-kitchens-100-hand-object-bboxes

Repository files navigation

EPIC-KITCHENS-100 Hand-object detections

Documentation Status

This repository contains a supporting library for using the hand-object detections we extracted from ddshan/Hand_Object_Detector (CVPR 2020).

EPIC-detection

Check out the notebook for usage:

Notebook snapshot

Library

This repository contains supporting code for using hand-object detections which are stored in binary protobuf files. The schema can be found in src/public_lib /epic_kitchens/hoa/types.proto.

Install the library like so:

$ python setup.py install

To hack on it, just install with

$ python setup.py develop

and edit the files within the repo.

Downloads

We provide the detections for all frames in EPIC Kitchens. These are avaiable to download from data.bris.

Please manually download the detections for P27_103 and P01_109 from

The ones on data.bris were incorrectly extracted.


Model setup

We ran the code with

We opted for lower hand and object thresholds than have been judged optimal, this is so that you, as a user, can decide what threshold (down to those that we extracted features at) to use for objects and hands without having to re-extract detections on the whole dataset.

We have found the following settings to produce good qualitative results:

  • hand threshold: 0.5
  • object threshold: 0.5

Processing raw detections

The raw detections follow a different schema to those that we release. We simply persist the raw hand and object detections without any preprocessing in case we need to apply any corrective post-processing.

Subsequently we need to convert these into the schema that we release in.

A Snakefile is provided for use with snakemake. This handles:

  1. aggregating per-frame extractions into per-video extractions
  2. converting the raw detections to the public detection schema.

The scripts that are used to perform these tasks live in src/scripts.

About

✋ 🍴 A repo for processing the raw hand object detections to produce releasable pickles + library for using these

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published