Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
540 B
2
Indexable
Never
   <script>
        Promise.all([
            faceapi.nets.ssdMobilenetv1.loadFromUri("@Url.Content("~/mod")"),
            faceapi.nets.faceRecognitionNet.loadFromUri("@Url.Content("~/mod")"),
            faceapi.nets.faceLandmark68Net.loadFromUri("@Url.Content("~/mod")")
        ]).then(() => {
            console.log('Models loaded successfully');
            // Do something after models are loaded if needed
        }).catch((error) => {
            console.error('Error loading models:', error);
        });
    </script>
Leave a Comment