While there isn't a universal standard framework for affective computing, several APIs and software development kits (SDKs) can be used to incorporate affective computing components in your applications. For example Microsoft Cognitive Services.