A crowd gathered hoping to catch a glimpse of former President Barack Obama as he walked through court in his hometown of Chicago.