Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Sep 8, 2023
1 parent 4494adc commit 5c12898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SlightCapture/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const properties = {
thresholdTooDark: 2.5,
video: {
width: {ideal: 1600},
height: {ideal: 1600},
height: {ideal: 1200},
facingMode: {
ideal: 'environment' // 'face'
},
Expand Down Expand Up @@ -330,7 +330,7 @@ const captureAsync = (cv) => async (name,
}
src.copyTo(imageDestination);

if(frameCounter%2===0) {
if(frameCounter%3===0) {
const applyTemplateMatchingResult = await applyTemplateMatching(cv)(templateMatchingImage, imageDestination);
processVideoCache.imageCv = applyTemplateMatchingResult.imageCv;
processVideoCache.targetPoints = applyTemplateMatchingResult.targetPoints;
Expand Down

0 comments on commit 5c12898

Please sign in to comment.