This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The picture has been stored in /home/pi/Desktop/pictures/7343.jpg | |
Response: | |
[ | |
{ | |
"faceAttributes": { | |
"age": 30.2, | |
"gender": "male" | |
}, | |
"faceId": "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Jarbas Horst wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return. | |
# ---------------------------------------------------------------------------- | |
# ---------------------------------------------------------------------------- | |
# This code shows how to interact with the Azure Cognitive Service "Face Api" | |
# to recognize the age of a person in a picture. The picture is taken using |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<AppPermissionRequests AllowAppOnlyPolicy="true"> | |
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" /> | |
</AppPermissionRequests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"frameworks": { | |
"net46":{ | |
"dependencies": { | |
" SharePointPnPCoreOnline ": "2.16.1706.0" | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* Jarbas Horst wrote this file. As long as you retain this notice you | |
* can do whatever you want with this stuff. If we meet some day, and you think | |
* this stuff is worth it, you can buy me a beer in return. | |
* ---------------------------------------------------------------------------- | |
*/ | |
using System.Net; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* Jarbas Horst wrote this file. As long as you retain this notice you | |
* can do whatever you want with this stuff. If we meet some day, and you think | |
* this stuff is worth it, you can buy me a beer in return. | |
* ---------------------------------------------------------------------------- | |
*/ | |
import { Version } from '@microsoft/sp-core-library'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[Parameter(Mandatory=$true)] | |
[String] | |
$VirtualMachineName, | |
[Parameter(Mandatory=$true)] | |
[String] | |
$ResourceGroupName, | |
[Parameter(Mandatory=$true)] | |
[Boolean] | |
$Start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\WINDOWS\system32> Get-PnPApp | Format-Table | |
Id AppCatalogVersion CanUpgrade Deployed InstalledVersion IsClientSideSolution Title | |
-- ----------------- ---------- -------- ---------------- -------------------- ----- | |
c0e5418d-2e81-471f-b340-41fb9f55dd50 1.0.0.0 False True True helloworld-webpart-client-side-solution | |
d1daf774-0cc0-4713-9886-2b43acf5f187 1.0.0.4 False True True jhorst-recent-docs-web-part-client-side-solution | |
19109eba-5efd-4e1e-a48e-eadf87f6d811 1.0.0.0 False True True search-web-part-client-side-solution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\WINDOWS\system32> Get-PnPApp -Identity 19109eba-5efd-4e1e-a48e-eadf87f6d811 | Format-Table | |
Id AppCatalogVersion CanUpgrade Deployed InstalledVersion IsClientSideSolution Title | |
-- ----------------- ---------- -------- ---------------- -------------------- ----- | |
19109eba-5efd-4e1e-a48e-eadf87f6d811 1.0.0.0 False True True search-web-part-client-side-solution |
OlderNewer