added opencv support and wxWidget test tool