- Release Notes
- Overview
- Getting Started
- Marketplace Vendors
- Marketplace Customers
- Publishing Guidelines
- Publishing Guidelines for Ready-to-go Automations
- Publishing Guidelines for Solution Accelerators
- Publishing Guidelines for Integration Service Connectors
- Security & IP Protection
- Other UiPath Listings
- Node-RED
- Setup
- Teams
- Microsoft Teams Scope
- Create Team
- Create Team From Group
- Get Team
- Get Teams
- Channels
- Create Channel
- Delete Channel
- Get Channel
- Get Channels
- Update Channel
- Chats
- Get Chat
- Get Chats
- Get Chat Members
- Messages
- Get Message
- Get Messages
- Get Message Replies
- Reply To Message
- Send Message
- Events
- Create Event
- Delete Event
- Get Event
- Get Events
- Users
- Get User Presence
- How It Works
- Technical References
- Get Started
- About
- Setup
- Technical References
- Azure Form Recognizer Scope
- Activities
- Analyze Form
- Analyze Form Async
- Get Analyze Form Result
- Analyze Receipt
- Analyze Receipt Async
- Get Analyze Receipt Result
- Analyze Layout
- Analyze Layout Async
- Get Analyze Layout Result
- Train Model
- Get Models
- Get Model Keys
- Get Model Info
- Delete Model
- Connectors
- How to Create Activities
- Build Your Integration
Get Place Photo
The Get Place Photo activity gives you access to the millions of photos stored in the Places database. When you get place information using a Get Place Details activity, photo references will be returned for relevant photographic content. The Nearby Search and Find Place activities also return a single photo reference per place, when relevant. Using the Get Place Photo activity you can then access the referenced photos and resize the image to the optimal size for your application.
-
Photo Reference - a string used to identify the photo.
Data Type:System.String
Example: An example of a photos[] array returned in the response of Find Place, Nearby search or Get Place Details is shown below.
...
"photos": [{
"html_attributions": [],
"height": 853,
"width": 1280,
"photo_reference": "CnRvAAAAwMpdHeWlXl-lH0vp7lez4znKPIWSWvgvZFISdKx45AwJVP1Qp37YOrH7sqHMJ8C-vBDC546decipPHchJhHZL94RcTUfPa1jWzo-rSHaTlbNtjh-N68RkcToUCuY9v2HNpo5mziqkir37WU8FJEqVBIQ4k938TI3e7bf8xq-uwDZcxoUbO_ZJzPxremiQurAYzCTwRhE_V0"
}
...
...
"photos": [{
"html_attributions": [],
"height": 853,
"width": 1280,
"photo_reference": "CnRvAAAAwMpdHeWlXl-lH0vp7lez4znKPIWSWvgvZFISdKx45AwJVP1Qp37YOrH7sqHMJ8C-vBDC546decipPHchJhHZL94RcTUfPa1jWzo-rSHaTlbNtjh-N68RkcToUCuY9v2HNpo5mziqkir37WU8FJEqVBIQ4k938TI3e7bf8xq-uwDZcxoUbO_ZJzPxremiQurAYzCTwRhE_V0"
}
...
We have to use the value of the key “photo_reference”
-
Max Height: Specifies the maximum desired height in pixels, of the image returned by the Place Photos service.
Data Type:System.String
Example: “400”
-
Max Width: Specifies the maximum desired width in pixels, of the image returned by the Place Photos service.
Data Type:System.String
Example: “300”
-
Folder Path: The path of the folder where image must be saved.
Data Type:System.String
Example: “C:\Users\ashraya.hd\Documents\UiPath”
- Image: The image in the form of System.Drawing.Image
Data Type:
System.Drawing.Image
-
Base64: The image in the form of base64 string.
Data Type:System.String
-
Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
For More info follow the link.