comparison web/calibrate/Light9Camera.ts @ 2419:e3af0ac507c8

new exposure-finder algorithm
author drewp@bigasterisk.com
date Tue, 21 May 2024 14:08:17 -0700
parents 9bb0eb587d5b
children d5750b2aaa9e
comparison
equal deleted inserted replaced
2418:9bb0eb587d5b 2419:e3af0ac507c8
177 177
178 adjustable: Record<string, { min: string; max: string }> = { 178 adjustable: Record<string, { min: string; max: string }> = {
179 focusDistance: { min: "0", max: "1023" }, 179 focusDistance: { min: "0", max: "1023" },
180 brightness: { min: "0", max: "64" }, 180 brightness: { min: "0", max: "64" },
181 colorTemperature: { min: "2800", max: "6500" }, 181 colorTemperature: { min: "2800", max: "6500" },
182 exposureTime: { min: "0", max: "400" }, 182 exposureTime: { min: "0", max: "800" },
183 }; 183 };
184 184
185 @property() cam!: Light9Camera; 185 @property() cam!: Light9Camera;
186 @property() videoSettings: MediaTrackSettings & any = {}; 186 @property() videoSettings: MediaTrackSettings & any = {};
187 supportedByBrowser: MediaTrackSupportedConstraints; 187 supportedByBrowser: MediaTrackSupportedConstraints;