Add classify_image_rf function.