Answer the question
In order to leave comments, you need to log in
How to correctly calculate FAR and FRR for face recognition system?
An access control system based on a face recognition algorithm for a hostel has been developed. What is the correct way to calculate FAR and FRR for such a system? At the moment, the plan is as follows: there are ~ 30 people, ~ 25 of them are entered into the database, ~ 5 are not. All 30 people will go through the turnstile (2 times), count the total number of people with false positive and false negative access. I will calculate the percentage for false positive recognitions to the number (??) 60 and the same for false negative ones. Is this approach correct or is it necessary to calculate somehow differently or to plan the experiment in a completely different way? By the way, the size of the hostel is only ~200 people (however, within the framework of the experiment, it is not possible to involve everyone at once).
Answer the question
In order to leave comments, you need to log in
Yeah... (according to the answers above)
I'm not a programmer, but I'll insert a couple of lines.
My task now is to insert a link from someone else's site into the iframe and remove some blocks.
The original page had:
To change any data in the iframe, I set the urlse variable to $current_theme_url and pass it to code.php:
code.php in the root directory
<?php
$content = file_get_contents($_GET['urlse']);
$content = str_replace('</head>','<link rel="stylesheet" href="http://vash-site.ru/uploads/newstyle.css" /></head>', $content);
echo $content;
This cannot be done if the page is loaded from someone else's domain.
As pointed out above, yes indeed you can't change the css in an iframe from the parent page.
At the same time, often services that are embedded on the page through an iframe (for example, payment services) provide the ability to pass a link to custom css during initialization, which they will embed on their page in the iframe. So if this is your case, I advise you to delve into the documentation.
Piece of pseudocode:
const paymentIframe = new PaymentIframe({
...
customCssLink: 'http://mycoolpage.ru/public/payment-custom-stylesheet.css',
...
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question