forensicfit.core.metadata module#

metadata.py#

This module contains the Metadata class which is used to manage the metadata of images for forensic analysis.

The Metadata class implements a MutableMapping, which provides a dict-like interface. This class offers methods for setting and retrieving metadata values, as well as special conversion methods that adapt the metadata to various needs, such as MongoDB filter creation or serialization for storage in MongoDB.

The Metadata class makes use of the serializer function from the array_tools utility module, which converts nested dictionaries and numpy arrays to a suitable form for storage in MongoDB.

This module is part of the ‘forensicfit’ package which aims to provide tools for forensic analysis of images.

Author: Pedram Tavadze Email: petavazohi@gmail.com