A problem when using Smart Classroom Demo

A problem when using Smart Classroom Demo

Today I wanted to run Smart Classroom Demo while a problem occured. I ran the demo as follows:

./attendance_system_recognition -m_fd /home/hiiragiiori/attendance_system/model/face-detection-adas-0001.xml -m_reid /home/hiiragiiori/model/face-reidentification-retail-0095.xml -fg /home/hiiragiiori/faces_gallery.json -i cam

Then there was a warning says "Face recognition models are disabled!", and the labels couldn't be read either.

I re-downloaded the models with "downloader.py" and the same warning occured. But it went well about a couple months ago. 

Please tell me how to solve this problem. Thanks a lot!

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Dear Hiiragi Iori,

Are you sure you passed in all the command-line args correctly ? Please review the following document:

http://docs.openvinotoolkit.org/latest/_demos_smart_classroom_demo_README.html

In Smart Classroom Demo main.cpp if you search "Face recognition models are disabled!" it lands in model paths not being passed in correctly.  The error is here:

 if (!reid_config.enabled) {
            slog::warn << "Face recognition models are disabled!"  << slog::endl;
        } else if (!face_gallery.size()) {
            slog::warn << "Face reid gallery is empty!"  << slog::endl;
        } else {
            slog::info << "Face reid gallery size: " << face_gallery.size() << slog::endl;
        }

But if you backtrack and search reid_config and so on, you will see that it has to do with model paths which are passed in wrongly.

Let me know if it helps,

Thanks,

Shubha

Dear Shubha,

I did pass in all the model paths correctly.

Actually it's working well on my own system, but doesn't work well on the Intel FPGA server. I'll check it again. Maybe there's some other problems.

Thanks a lot!

Leave a Comment

Please sign in to add a comment. Not a member? Join today