The Event Annotation Tool (EAT) is an instrument for annotating normal and abnormal events in videos and images.
EAT requires the following packeges to build:
- OpenCV (< 3.0)
- Boost
- Qt4
EAT works under Linux and Mac Os environments. We recommend a so-called out of source build which can be achieved by the following command sequence:
- mkdir build
- cd build
- cmake ../
- make -j<number-of-cores+1>
Once the build phase has been successfully, you can use EAT by launching the eventannotation file, located in the bin folder.
Once EAT has been launched, you can open a video (by clicking on Open Video) or a set of images (by clicking on Open Folder).
Then, you can annotate an Abnormal Event by clicking on Start Event and ending to annotate it by clicking on Stop Event. If you need to delete an annotation in a frame, you can click on Cancel Event.
Furthermore, you can save the annotated events (by clicking on Save XML) or load an existing XML file (by clicking on Load XML).
The XML file must have the following format:
<?xml version="1.0" encoding="utf-8"?>
<dataset>
<frame number="8">
ABNORMAL
</frame>
<frame number="9">
ABNORMAL
</frame>
....
</dataset>
EAT annotates only the ABNORMAL events.