Monitoring medication adherence for TB treatment in Africa using AI