You can get the existing package cv_bridge_tutorial_pkg from the chapter_8_codes folder, or you can create a new package using the following command:
$ catkin_create_pkg cv_bridge_tutorial_pkg cv_bridge image_transport roscpp sensor_msgs std_msgs
This package is mainly dependent on cv_bridge, image_transport, and
sensor_msgs.