Skip to content

Commit 6a72895

Browse files
committed
Release 1.200.2025
1 parent 61d4e75 commit 6a72895

174 files changed

Lines changed: 17339 additions & 9530 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Functions/GenXdev.AI.DeepStack/Compare-ImageFaces.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Compares faces in two different images and returns their similarity using
@@ -72,7 +72,7 @@ DeepStack API Documentation: POST /v1/vision/face/match endpoint for face
7272
comparison.
7373
Example: curl -X POST -F "image1=@person1.jpg" -F "image2=@person2.jpg"
7474
http://localhost:5000/v1/vision/face/match
75-
#>
75+
###############################################################################>
7676
function Compare-ImageFaces {
7777

7878
[CmdletBinding()]
@@ -364,4 +364,4 @@ function Compare-ImageFaces {
364364

365365
}
366366
}
367-
################################################################################
367+
###############################################################################

Functions/GenXdev.AI.DeepStack/EnsureDeepStack.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Ensures DeepStack face recognition service is installed and running.
@@ -60,7 +60,7 @@ DeepStack Face Recognition API Endpoints:
6060
- POST /v1/vision/face/delete : Remove registered face
6161
6262
For more information, see: https://docs.deepstack.cc/face-recognition/
63-
#>
63+
###############################################################################>
6464
function EnsureDeepStack {
6565

6666
[CmdletBinding()]
@@ -856,4 +856,4 @@ function EnsureDeepStack {
856856
Microsoft.PowerShell.Management\Set-Location $script:originalLocation
857857
}
858858
}
859-
################################################################################
859+
###############################################################################

Functions/GenXdev.AI.DeepStack/Get-ImageDetectedFaces.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Recognizes faces in an uploaded image by comparing to known faces using
@@ -77,8 +77,7 @@ Recognizes faces using pipeline input.
7777
DeepStack API Documentation: POST /v1/vision/face/recognize endpoint for face
7878
identification. Example: curl -X POST -F "image=@person1.jpg"
7979
http://localhost:5000/v1/vision/face/recognize
80-
#>
81-
###############################################################################
80+
###############################################################################>
8281
function Get-ImageDetectedFaces {
8382

8483
[CmdletBinding()]
@@ -287,4 +286,4 @@ function Get-ImageDetectedFaces {
287286

288287
}
289288
}
290-
################################################################################
289+
###############################################################################

Functions/GenXdev.AI.DeepStack/Get-ImageDetectedObjects.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Detects and classifies objects in an uploaded image using DeepStack.
@@ -81,7 +81,7 @@ sandwich, orange, broccoli, carrot, hot dog, pizza, donut, cake, chair, couch,
8181
potted plant, bed, dining table, toilet, tv, laptop, mouse, remote, keyboard,
8282
cell phone, microwave, oven, toaster, sink, refrigerator, book, clock, vase,
8383
scissors, teddy bear, hair drier, toothbrush.
84-
#>
84+
###############################################################################>
8585
function Get-ImageDetectedObjects {
8686

8787
[CmdletBinding()]
@@ -400,4 +400,4 @@ function Get-ImageDetectedObjects {
400400
end {
401401
}
402402
}
403-
################################################################################
403+
###############################################################################

Functions/GenXdev.AI.DeepStack/Get-ImageDetectedScenes.ps1

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Classifies an image into one of 365 scene categories using DeepStack.
@@ -126,8 +126,7 @@ veterinarians_office, viaduct, village, vineyard, volcano,
126126
volleyball_court, waiting_room, water_park, water_tower, waterfall,
127127
watering_hole, wave, wet_bar, wheat_field, wind_farm, windmill, yard,
128128
youth_hostel, zen_garden.
129-
#>
130-
###############################################################################
129+
###############################################################################>
131130
function Get-ImageDetectedScenes {
132131

133132
[CmdletBinding()]
@@ -203,6 +202,13 @@ function Get-ImageDetectedScenes {
203202
[ValidateNotNullOrEmpty()]
204203
[string] $ImageName,
205204
#######################################################################
205+
[Parameter(
206+
Mandatory = $false,
207+
HelpMessage = ("Skip Docker initialization (used when already " +
208+
"called by parent function)")
209+
)]
210+
[switch] $NoDockerInitialize,
211+
#######################################################################
206212
[Parameter(
207213
Mandatory = $false,
208214
HelpMessage = ("Force rebuild of Docker container and remove " +
@@ -308,7 +314,9 @@ function Get-ImageDetectedScenes {
308314
$SceneData.confidence
309315
} else {
310316
0.0
311-
} Microsoft.PowerShell.Utility\Write-Verbose `
317+
}
318+
319+
Microsoft.PowerShell.Utility\Write-Verbose `
312320
"Detected scene: $scene (confidence: $confidence)"
313321

314322
# check if confidence meets the threshold
@@ -404,4 +412,4 @@ function Get-ImageDetectedScenes {
404412
# no cleanup required for this function
405413
}
406414
}
407-
################################################################################
415+
###############################################################################

Functions/GenXdev.AI.DeepStack/Get-RegisteredFaces.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Retrieves a list of all registered face identifiers from DeepStack.
@@ -70,7 +70,7 @@ This example retrieves all faces and filters for those starting with "John".
7070
7171
.NOTES
7272
DeepStack API Documentation: POST /v1/vision/face/list endpoint
73-
#>
73+
###############################################################################>
7474
function Get-RegisteredFaces {
7575

7676
[CmdletBinding()]
@@ -305,4 +305,4 @@ function Get-RegisteredFaces {
305305
end {
306306
}
307307
}
308-
################################################################################
308+
###############################################################################

Functions/GenXdev.AI.DeepStack/Invoke-ImageEnhancement.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Enhances an image by enlarging it 4X while improving quality using DeepStack.
@@ -74,8 +74,7 @@ http://localhost:5000/v1/vision/enhance
7474
7575
The enhanced image will be 4 times larger (2x width, 2x height) than the
7676
original.
77-
#>
78-
###############################################################################
77+
###############################################################################>
7978
function Invoke-ImageEnhancement {
8079

8180
[CmdletBinding()]
@@ -390,4 +389,4 @@ function Invoke-ImageEnhancement {
390389
# no cleanup required for this function
391390
}
392391
}
393-
################################################################################
392+
###############################################################################

Functions/GenXdev.AI.DeepStack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This module provides PowerShell functions to interact with DeepStack's face reco
1313
1414
# manually ensure LMStudio is working
1515
EnsureLMStudio -ShowWindow -Model "MiniPCM" `
16-
-ModelLMSGetIdentifier ("lmstudio-community/MiniCPM-V-2_6-" +
16+
-HuggingFaceIdentifier ("lmstudio-community/MiniCPM-V-2_6-" +
1717
"GGUF/MiniCPM-V-2_6-Q4_K_M.gguf")
1818
1919
# manually ensure docker desktop is working

Functions/GenXdev.AI.DeepStack/Register-AllFaces.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Updates all face recognition profiles from image files in the faces directory.
@@ -70,8 +70,7 @@ Uses the configured faces directory from Set-AIKnownFacesRootpath or defaults to
7070
7171
.EXAMPLE
7272
updatefaces -RenameFailed
73-
#>
74-
################################################################################
73+
###############################################################################>
7574
function Register-AllFaces {
7675

7776
[CmdletBinding()]
@@ -677,4 +676,4 @@ function Register-AllFaces {
677676
"Face registration process completed"
678677
}
679678
}
680-
################################################################################
679+
###############################################################################

Functions/GenXdev.AI.DeepStack/Register-Face.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
################################################################################
1+
###############################################################################
22
<#
33
.SYNOPSIS
44
Registers a new face with the DeepStack face recognition API.
@@ -53,7 +53,7 @@ Register-Face "JohnDoe" @("C:\Users\YourName\faces\john1.jpg", "C:\Users\YourNam
5353
5454
.EXAMPLE
5555
Register-Face -Identifier "JohnDoe" -ImagePath "C:\Users\YourName\faces\john.jpg"
56-
#>
56+
###############################################################################>
5757
function Register-Face {
5858

5959
[CmdletBinding()]
@@ -358,4 +358,4 @@ function Register-Face {
358358

359359
}
360360
}
361-
################################################################################
361+
###############################################################################

0 commit comments

Comments
 (0)