A hierarchical positive and negative emotion understanding system based on integrated analysis of visual and brain signals