# MPAI-MMC Text and Image Query This code refers to the implementation of the MMC-TIQ, as described in the [AIM](https://mpai.community/standards/mpai-mmc/v2-2/ai-modules/text-and-image-query/) ## Guide to the TIQ code Note that the Reference software implements the Basic MMC-TIQ AIM. Use of this AI Module is for developers who are familiar with Python and downloading models from HuggingFace, A wrapper for the BLIP NN Module: 1. Manages input files and parameters: Text Object, Visual Object 2. Executes the BLIP Module to perform the question answering on each individual pair of Text and Visual Object. 3. Outputs Text Object as answer. The OSD-TIQ Reference Software is found at the NNW gitlab site. It contains: 1. The python code implementing the AIM. 2. Required libraries are: pytorch and transformers (HuggingFace), PIL ## Installation Code was designed and tested on an Ubuntu 20.04 operating system using anaconda 23.7.2 and Python 3.9. An environment with all the necessary libraries can be created using: ```bash conda create --name --file requirements.txt ```