Skip to content

Commit a0cecc4

Browse files
author
Amir Tocker
committed
Add ocr to explicit API
1 parent bd49799 commit a0cecc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloudinary-core/src/main/java/com/cloudinary/Uploader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ public Map explicit(String publicId, Map options) throws IOException {
244244
params.put("headers", Util.buildCustomHeaders(options.get("headers")));
245245
params.put("tags", StringUtils.join(ObjectUtils.asArray(options.get("tags")), ","));
246246
params.put("moderation", (String) options.get("moderation"));
247+
params.put("ocr", (String) options.get("ocr"));
247248
if (options.get("face_coordinates") != null) {
248249
params.put("face_coordinates", Coordinates.parseCoordinates(options.get("face_coordinates")).toString());
249250
}

0 commit comments

Comments
 (0)