Package: cloudmersive-image-api-client
cloudmersive_image_api_clientImage Recognition and Processing APIs let you use Machine Learning to recognize and process images, and also perform useful image modification operations.This Python package provides a native API client forCloudmersive Image Recognition and ProcessingAPI version: v1Package version: 3.0.1Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importcloudmersive_image_api_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importcloudmersive_image_api_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportcloudmersive_image_api_clientfromcloudmersive_image_api_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: Apikeyconfiguration=cloudmersive_image_api_client.Configuration()configuration.api_key['Apikey']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Apikey'] = 'Bearer'# create an instance of the API classapi_instance=cloudmersive_image_api_client.ArtisticApi(cloudmersive_image_api_client.ApiClient(configuration))style='style_example'# str | The style of the painting to apply.  To start, try \"udnie\" a painting style.  Possible values are: \"udnie\", \"wave\", \"la_muse\", \"rain_princess\".image_file='/path/to/file.txt'# file | Image file to perform the operation on.  Common file formats such as PNG, JPEG are supported.try:# Transform an image into an artistic painting automaticallyapi_response=api_instance.artistic_painting(style,image_file)pprint(api_response)exceptApiExceptionase:print("Exception when calling ArtisticApi->artistic_painting:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.cloudmersive.comClassMethodHTTP requestDescriptionArtisticApiartistic_paintingPOST/image/artistic/painting/{style}Transform an image into an artistic painting automaticallyConvertApiconvert_to_bmpPOST/image/convert/to/bmpConvert input image to Bitmap BMP formatConvertApiconvert_to_gifPOST/image/convert/to/gifConvert input image to GIF formatConvertApiconvert_to_jpgPOST/image/convert/to/jpg/{quality}Convert input image to JPG, JPEG formatConvertApiconvert_to_photoshopPOST/image/convert/to/psdConvert input image to Photoshop PSD formatConvertApiconvert_to_pngPOST/image/convert/to/pngConvert input image to PNG formatConvertApiconvert_to_tiffPOST/image/convert/to/tiffConvert input image to TIFF formatConvertApiconvert_to_web_pPOST/image/convert/to/webpConvert input image to WebP formatEditApiedit_auto_orientPOST/image/edit/auto-orient/remove-exifNormalizes image rotation and removes EXIF rotation dataEditApiedit_composite_basicPOST/image/edit/composite/{location}Composite two images togetherEditApiedit_contrast_adaptivePOST/image/edit/contrast/{gamma}/adaptiveAdaptively adjust the contrast of the image to be more appealing and easy to seeEditApiedit_crop_rectanglePOST/image/edit/crop/rectangle/{left}/{top}/{width}/{height}Crop an image to a rectangular areaEditApiedit_draw_polygonPOST/image/edit/draw/polygonDraw a polygon onto an imageEditApiedit_draw_rectanglePOST/image/edit/draw/rectangleDraw a rectangle onto an imageEditApiedit_draw_textPOST/image/edit/draw/textDraw text onto an imageEditApiedit_drop_shadowPOST/image/edit/drop-shadow/{X}/{Y}/{sigma}/{opacity}Add a customizeable drop shadow to an imageEditApiedit_invertPOST/image/edit/invertInvert, negate the colors in the imageEditApiedit_remove_exif_dataPOST/image/edit/remove-exifRemove EXIF data from the imageEditApiedit_remove_transparencyPOST/image/edit/remove-transparencyRemove transparency from the imageEditApiedit_rotatePOST/image/edit/rotate/{degrees}/angleRotate an image any number of degreesFaceApiface_comparePOST/image/face/compare-and-matchCompare and match facesFaceApiface_crop_firstPOST/image/face/crop/firstCrop image to face with square cropFaceApiface_crop_first_roundPOST/image/face/crop/first/roundCrop image to face with round cropFaceApiface_detect_agePOST/image/face/detect-ageDetect the age of people in an imageFaceApiface_detect_genderPOST/image/face/detect-genderDetect the gender of people in an imageFaceApiface_locatePOST/image/face/locateDetect and find faces in an imageFaceApiface_locate_with_landmarksPOST/image/face/locate-with-landmarksDetect and find faces and landmarks eyes and nose and mouth in imageFilterApifilter_black_and_whitePOST/image/filter/black-and-whiteConvert image to black-and-white grayscaleFilterApifilter_despecklePOST/image/filter/despeckleDespeckle to remove point noise from the imageFilterApifilter_edge_detectPOST/image/filter/edge-detect/{radius}Detect and highlight edges in an imageFilterApifilter_embossPOST/image/filter/emboss/{radius}/{sigma}Emboss an imageFilterApifilter_gaussian_blurPOST/image/filter/blur/guassian/{radius}/{sigma}Perform a guassian blur on the input imageFilterApifilter_motion_blurPOST/image/filter/blur/motion/{radius}/{sigma}/{angle}Perform a motion blur on the input imageFilterApifilter_posterizePOST/image/filter/posterizePosterize the image by reducing distinct colorsFilterApifilter_swirlPOST/image/filter/swirlSwirl distort the imageInfoApiinfo_get_dominant_colorPOST/image/get-info/dominant-colorReturns the dominant colors of the imageInfoApiinfo_get_metadataPOST/image/get-info/metadataReturns the image metadata including EXIF and resolutionNsfwApinsfw_classifyPOST/image/nsfw/classifyNot safe for work NSFW racy content classificationRecognizeApirecognize_describePOST/image/recognize/describeDescribe an image in natural languageRecognizeApirecognize_detect_and_unskew_documentPOST/image/recognize/detect-document/unskewDetect and unskew a photo of a documentRecognizeApirecognize_detect_objectsPOST/image/recognize/detect-objectsDetect objects including types and locations in an imageRecognizeApirecognize_detect_peoplePOST/image/recognize/detect-peopleDetect people including locations in an imageRecognizeApirecognize_detect_text_finePOST/image/recognize/detect-text/fineDetect fine text in a photo of a documentRecognizeApirecognize_detect_text_largePOST/image/recognize/detect-text/largeDetect large text in a photoRecognizeApirecognize_detect_vehicle_license_platesPOST/image/recognize/detect-vehicle-license-platesDetect vehicle license plates in an imageRecognizeApirecognize_find_symbolPOST/image/recognize/find/symbolFind the location of a symbol in an imageResizeApiresize_postPOST/image/resize/preserveAspectRatio/{maxWidth}/{maxHeight}Resize an image while preserving aspect ratioResizeApiresize_resize_simplePOST/image/resize/target/{width}/{height}Resize an imageDocumentation For ModelsAgeDetectionResultColorResultDetectedLicensePlateDetectedObjectDominantColorResultDrawPolygonInstanceDrawPolygonRequestDrawRectangleInstanceDrawRectangleRequestDrawTextInstanceDrawTextRequestFaceFaceCompareResponseFaceLocateResponseFaceLocateWithLandmarksResponseFaceMatchFacePointFaceWithLandmarksFindSymbolResultFineTextDetectionResultFineTextItemGenderDetectionResultImageDescriptionResponseImageMetadataImageMetadataExifValueNsfwResultObjectDetectionResultPersonWithAgePersonWithGenderPolygonPointRecognitionOutcomeTextDetectionResultTextItemVehicleLicensePlateDetectionResultDocumentation For AuthorizationApikeyType: API keyAPI key parameter name: ApikeyLocation: HTTP headerAuthor