protected function buildRequestParam($images, $options = [])
    {
        //Baidu OCR不支持多个url或图片，只支持一次识别一张
        if (is_array($images) && ! empty($images[0])) {
            $images = $images[0];
        }

        // if (! $this->supportUrl && FileConverter::isUrl($images)) {
        //     throw new RuntimeException('current method not support online picture.');
        // }

        if ($this->supportUrl && FileConverter::isUrl($images)) {
            $options['url'] = $images;
        } else {
            $options['image'] = FileConverter::toBase64Encode($images);
        }

        return $options;
    }