<ion-content>
    <div class="container">
        <img class="glass-image" [ngStyle]="glassProperties" src="/assets/ar-accessories/glass.png" alt=""/>
        <video id="playback-video" #videoElement autoPlay></video>
        <button *ngIf="areNeuralNetsLoaded" (click)="getCameraStream()">Get access</button>
        <button *ngIf="areNeuralNetsLoaded" (click)="stopCameraStream()">Stop stream</button>
        <button *ngIf="areNeuralNetsLoaded" (click)="toggleDetection()">{{ isDetecting ? 'Stop detection' : 'Detect and draw' }}</button>}
    </div>
</ion-content>
