Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Cache affects the initialization speed-up Starting from DetectorPack 3.8, a utility was added to the Face Recognition Pack add-on (see Installing DetectorPack addons), which allows you to create GPU network caches without using Axxon NextThe presence of the cache speeds up the initialization and optimizes video memory consumption.

To optimize the operation of the Face detection operation on GPU, do the following:

  1. Shut down Stop the Server (see Shutting down a Server).

    Note
    titleAttention!

    If the system uses has the software running on GPU, it is necessary to stop its operation. 


  2. The cache of all

    Create the GPU_CACHE_DIR system variable (see Appendix 10. Creating system variable) . Specify by specifying in the Variable value field the path to the cache location with an arbitrary folder name. For example, D:\AN_GPU_cache.

    Info
    titleNote

    The specified directory will store the cache for all used detection tools and neural networks

    will be stored in the specified directory

    .

  3. Run To call the utility, open in the command line as administrator.Open the : C:\Program Files\Common Files\AxxonSoft\DetectorPack\TvaFaceGpuCacheGenerator.exe file (1) in the command line.

    Note
    titleAttention!
    TvaFaceGpuCacheGenerator.exe requires at least 1.4 GB of free video memory to run on GPU

     and press Enter.

    Image Modified
  4. Specify the ID of the required GPU (2, see General Information on Configuring Detection) and press Enter.

  5. If you want to change the resolution of the video stream for the Face detection, you should enter y (3) and specify the required resolution (4).

    Info
    titleNote

    GPU uses the default video stream resolutions. Changing the resolution of the video stream will increase the percentage of face detection when using the resolutions from 1920*1080 and higher.


  6.  Press Enter. The cache creation process will start. It will take about 20 minutes. The cache creation was successful, if the result value is “0”. 

Optimization Optimizing the operation of Face detection on GPU is complete.

Note
titleAttention!

When If you update the Face Recognition Pack add-on Face Recognition Pack (see Installing DetectorPack addons) or change the NVIDIA GPU model, you need to recreate the cache must be recreated.