Add automotive machine vision example#31
Open
vinfnet wants to merge 17 commits into
Open
Conversation
- deployment-afd.bicep: Bicep template for Azure Front Door with ACI origin - Deploy-AutomotiveMachineVision.ps1: Add -DeployAFD flag to automate AFD creation - README.md: Document AFD deployment and combined certificate/AFD usage
…ephemeral *.azurecontainer.io FQDN can't be trusted by AFD's origin TLS validation. Switch AFD to forward HTTP to origin port 80 while still serving HTTPS at the *.azurefd.net edge. - Bicep: profile and endpoint location='global'; route forwardingProtocol HttpOnly with httpsRedirect; origin-group probe Http on /. - nginx: add port 80 server block alongside the 443 self-signed listener. - ACI template: expose port 80 (TCP) in addition to 443. - Deploy script: pass explicit timestamped --name to az deployment group create/show to avoid filename-derived ambiguity.
The int->string ARM expression [string(parameters('processingWorkers'))]
is embedded as a literal string in the generated CCE policy because
az confcom acipolicygen does not evaluate nested ARM functions. With
allow_environment_variable_dropping := true, the runtime then silently
drops PROCESSING_WORKERS and DETECT_EVERY_N_FRAMES because their
actual values (e.g. '6', '1') do not match the literal pattern.
App falls back to os.cpu_count() = 4 -> UI shows '4 workers' regardless
of the configured value.
- Make processingWorkers/detectEveryNFrames parameters string-typed so
the env value can be a plain [parameters('x')] reference that confcom
resolves correctly.
- Emit the values as strings from the deploy script.
Filter stabilized vehicle detections down to a single lead car/truck per frame using area, center-offset, and bottom-position heuristics. New env knobs LEAD_VEHICLE_MIN_AREA_RATIO and LEAD_VEHICLE_MAX_CENTER_OFFSET. Update READMEs to describe the rounded overlays for cars, trucks, pedestrians, and street signs.
- Reconcile redaction behavior section with rounded overlays for cars/trucks/pedestrians/signs.\n- Document LEAD_VEHICLE_MIN_AREA_RATIO and LEAD_VEHICLE_MAX_CENTER_OFFSET tunables.\n- Add scaling table for -CpuCores, -MemoryInGB, -ProcessingWorkers, -DetectEveryNFrames with the 16-worker runtime cap and /api/debug/runtime verification command.\n- Add CCE policy gotcha note about nested ARM functions in env values being silently dropped via allow_environment_variable_dropping.\n- Explain AFD HTTP-origin path and 5-15 minute DNS propagation window after FQDN changes.
Add `automotive-machine-vision` confidential ACI sample with attestation-gated HTTPS video processing
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid
Other Information