What is wifi direct?

Wi-Fi Direct is a Wi-Fi standard for peer-to-peer wireless connections that allows two devices to establish a direct Wi-Fi connection without an intermediary wireless access point, router, or Internet connection.

Is this the same as public wifi?

It is almost the same. It can be a wifi from a private connection.