Installation on Windows using installer
This chapter guides you through the installation process of SmartFace, including SmartFace prerequisites, SmartFace Platform, and SmartFace Station on Windows OS.
The installation process consists of five easy steps:
- Download Installation Files
- Install Prerequisites
- Activate the SmartFace Platform License
- Install SmartFace Platform
- Install SmartFace Station
Operating system requirements
Operating system: Windows Server 2016 (x64), Windows Server 2019 (x64), Windows 10 PRO (x64).
- English language pack with English character set
- Do not use any other Windows 10 edition than Windows 10 PRO edition and use Windows 10 only for evaluation purposes. For production, use Windows Server or Linux OS.
- Windows 10 N edition is missing Media Feature Pack. It is required that this pack is installed on the machine for proper functioning of the SmartFace Platform.
- SmartFace version 4.10 and higher versions require the CPU support AVX2 instruction set, eg Intel Haswell microarchitecture or AMD Zen family
Download Installation Files
All of the Installation Files are available at our Customer Portal, you can login with your credentials. (Please note for the old CRM portal visit the old CRM. The old CRM has different steps related to accessing licenses and downloading necessary files)
- At the Customer Portal access Products on the top menu bar or through Home > Products & Licenses > Products
- Click on the name of the SmartFace product and then on the SmartFace page choose the current release version - major version first, then the release itself.
- Under the Downloads section you can download all the installation files. Several files have a version number in the file name, such as SmartFace_PreReq_Installer_X.Y.Z.exe (X.Y.Z. is the version number). Please use Installation Files combination from one release only.
Install Prerequisites
Prerequisites can be installed manually, or automatically by using the Prerequisites installer . It is required to install and configure the following software prerequisites on the server before you start the SmartFace installation:
- MS SQL Server / Express
- RabbitMQ
- Erlang
- Microsoft Visual C++ 2015-2019 Redistributable (x64)
- OpenVINO Toolkit
- NVIDIA cuDNN
- NVIDIA TensorRT
Prerequisites installer
Prerequisites can be installed and configured automatically by standalone Prerequisites installer. Prerequisites installer requires internet connection.
The installer deploys the following components:
MS SQL Server Express 2019
Prerequisites installer installs the MS SQL Server Express 2019 and sets up a database and creates a database user for the SmartFace Platform. The maximum size of the MS SQL Server Express database is 10 GB and is suitable for small-scale deployments. The default parameters are as follows:
- SQL instance: localhost\sfexpress
- SA password: smartface
- DB user: smartface
- password: smartface
- RabbitMQ
- Erlang
- Microsoft Visual C++ 2015-2019 Redistributable (x64)
- OpenVINO Toolkit
- NVIDIA cuDNN
- NVIDIA TensorRT
Prerequisites installer installs NVIDIA libraries in the
c:\Program Files\innovatrics\smartface
directory by default. If the installation directory is different, then these libraries need to be copied manually.
Execute the Prerequisites Installer
Download the Prerequisites Installer in the current release as per instructions here.
Run the SmartFace_PreReq_Installer_X.Y.Z.exe as an administrator (select Run as administrator). Click Next to continue.
- Select an installation path or keep it as per default setup, then click Next
- The wizard checks whether any of the prerequisites have already been installed. Select the components which you want to install and click Next. By default, all options are selected.
- Review the selection and click Install.
- Wizard will install all the selected prerequisites. Once the installation is finished, click Finish to restart the computer.
Activate the SmartFace Platform License
SmartFace license is required for the correct functionality of the Innovatrics SmartFace. It needs to be activated before the installation of the SmartFace. Follow these steps to obtain and activate the license:
Download the LicenseManager in the current release as per instructions here.
Run the LicenseManager.
- Select the tab Hardware ID and copy the generated ID by clicking Copy to clipboard.
- Open the Customer Portal and navigate to Licenses either through the top menu bar or through Home > Products & Licenses > Licenses
- Click on the Generate License button and fill out the Product (in this case SmartFace), License Type and the Hardware ID (taken from the License Manager). Click Submit
- If sucessfull, you will see the confirmation of a license being generated. You can download it directly from the notification or you can click on the license in the list of licenses and download it from there.
- Open the License Manager and click on the Deploy license tab. Click the License file: button and choose the license file. Once the correct file is selected, select to activate the license for Everyone and click on the Deploy license button.
- After a successful deployment you can see the license in the License information tab. If you do not see your license please click Refresh.
Install SmartFace Platform
Please make sure you have installed all the prerequisites and deployed the license before starting the SmartFace Platform installation. If you have used the Prerequisites installer, the default values are prefilled.
To install SmartFace Platform, perform the following steps:
Download the SmartFace Platform Installer in the current release as per instructions here.
Run the SmartFace_Platform_Installer_x64_X.Y.Z.exe installer as an administrator (select Run as administrator).
Accept the license agreement and click Next.
- Select a destination, where the SmartFace will be installed. By default, it is
C:\Program Files\Innovatrics\SmartFace
. Click Next.
- Fill in the Host settings and click Next.
- Port for SmartFace API endpoint. The default value is
8099
. The API endpoint will be available on the following addresses:- Api port:
8098
- OData Port:
8099
- GraphQL Port:
8097
- Api port:
- Choose the availability of the SmartFace API:
- Externally available: API is available from outside of the server
- Local only: API is available only from the localhost
- Port for SmartFace API endpoint. The default value is
Fill in the SQL database connection settings and click Next.
If you have used the Prerequisites installer, the default values are pre-filled. Otherwise, you should provide the following information:
- MsSql server instance — an instance of the database engine, e.g.:
- localhost\sfexpress: default instance of MS SQL Server Express installed by the Prerequisite installer
- localhost\SQLEXPRESS: default instance of MS SQL Server Express
- localhost: default instance of MS SQL
- Database name
- User name
- Password
- MsSql server instance — an instance of the database engine, e.g.:
You can also select Advanced connection string settings and build the connection string yourself:
The connection string includes the following parameters, which are semicolon-separated:
- data source=SQLserverinstance; (typically localhost or servername or localhost\SQLEXPRESS)
- initial catalog=databasename;
- User ID=username;
- Password=password;
- multipleactiveresultsets=False;
- connect timeout=60;
Fill in the Configuration settings and click Next.
Path to NoSql database. By default, it is C:\ProgramData\Innovatrics\SmartFace\Data. It is recommended to use a standalone disk (where the OS is not installed) with enough space for storing images from camera streams;
Path to log files. By default, it is C:\ProgramData\Innovatrics\SmartFace
- Fill in the RabbitMQ connection parameters and click Next.
Please provide connection information for RabbitMQ.
- Fill in the S3 settings - settings for S3 blob storage (Minio) and click Next.
- Setup camera configuration and click Next.
Define the maximum number of cameras that could be registered during installation. This number determines the maximum number of cameras which will be possible to create, as each camera processing is handled by one process (SmartFace_Camera service).
The highest number which can be entered is 100. For each camera, one Windows service needs to be registered.
- Set up the Database cleanup and click Next.
- Set up the daily database cleanup
- Enable database cleanup (checked by default): Enables the daily database cleanup. Then, fill in Time of day when the daily database cleanup should run. The time is specified in the hh:mm:ss format in the UTC time zone.
- Set up the cleanup of SQL and NoSQL records related to faces and images.
- For removed images also delete (checked by default): Deletes all SQL and NoSQL records related to faces and images. To delete only full images from streams in the NoSQL database, clear this checkbox.
- Deleted stored images: cleanup process deletes all image data older than the entered value (in days).
- Set up the cleanup of match results.
- Enable if you want to cleanup also match results for faces which are no longer present in database (were deleted).
- Set up the OpenVino configuration and click Next.
- required for body parts detection
- Set up the GPU configuration and click Next. Windows services with GPU support will be installed on the system that belong to the CPU services.
- Click Install to initialize the SmartFace Platform installation.
- Once the installation is sucessfully finished, please click Finish.
After the SmartFace Platform installation
After the SmartFace Platform is installed, you can view the status of the following services in Task Manager services tab (depending on your installation settings). These services should be in running state.
Service name | Service Description |
---|---|
SFApi | SmartFace Api Service |
SFBase | SmartFace Base Service |
SFBodyPartsDetectCpu | SmartFace pedestrian with bodyparts detection on CPU/GPU services |
SFBodyPartsDetectGpu | SmartFace pedestrian with bodyparts detection on GPU services |
SFDetectCpu | SmartFace Detection on CPU Service |
SFDetectGpu | SmartFace Detection on GPU Service |
SFExtractCpu | SmartFace Extractor on CPU Service |
SFExtractGpu | SmartFace Extractor on GPU Service |
SFFaceMatcher | SmartFace Face Matcher Service |
SFGraphQLApi | SmartFace GraphQL Api Service |
SFGroup | SmartFace Grouping Service |
SFLivenessCpu | SmartFace|Liveness detection on CPU Service |
SFLivenessGpu | SmartFace|Pedestrian detection on GPU Service |
SFODataApi | SmartFace OData API Service |
SFPedestrianDetectCpu | SmartFace Pedestrian detection on CPU Service |
SFPedestrianDetectGpu | SmartFace Pedestrian detection on GPU Service |
SFVideoDataAggregator | SmartFace Offline Video Data aggregatior Service |
SFVideoDataCollector | SmartFace Offline Video Processing data collector Service |
SFVideoReader | SmartFace Offline Video Processing reading Service |
SFWatchlistMatcher | SmartFace Matching Service |
Install SmartFace Station
Please make sure the SmartFace Platform is installed before proceeding with the SmartFace Station installation. To install SmartFace Station please perform the following steps:
Download the SmartFace Station Installer in the current release as per instructions here.
Run the SmartFace_Station_Installer_vX_Y_Z.exe as an administrator (select Run as administrator). Click Next to continue.
- Choose the installation location and click Install.
- Once the installation is completed sucessfully you can set URL, endpoints and ports for the SmartFace Station. Once set, click Next.
- SmartFace core server API URL - the URL where the Swagger and the REST API is available.
- SmartFace ODATA API URL - the URL where the Swagger and the ODATA API is available.
- Address to Access Controller gRPC endpoint - the URL that SmartFace Station connects to receive gRPC notifications from the Access Controller module.
- Host (IP address where SF Station server listens for requests) - the default
0.0.0.0
means that all IPv4 addressess are listened to. - Port (port where SF Station server listens for requests) - the default is
8000
. This is where you access SmartFace Station with your browser.
- Additional settings can be adjusted, such as Blacklisted watchlists - watchlists of member with restricted access or to setup the Keycloak Authentication. Click Next.
After the SmartFace Station installation
After the SmartFace Station is installed, you can view the status of the following service in Task Manager services tab (depending on your installation settings). This service should be in running state.
Service name | Service Description |
---|---|
SFStation | SmartFace Station |
Once the installation is done you can access the SmartFace Station at the server’s hostname/ip address and the set port. Per default it is http://localhost:8000
.