Site Tools


Sidebar

software:hitanalyzer:index

Hit Analyzer

Hit Analyzer 1.4

Detailed topics

Installation

There is no deep magic needed, just download, unpack and run it. Dont forget to connect webcam via usb before you run it.

On linux distribution you may need to install java runtime enviroment (OpenJdk is fine).

Known problems

There is a problem with newest gstreamer library (1.20+) and libsoup3. It needs older gstreamer library 1.16 (library libsoup2), otherwise it wont run on newest linux distribution.

Tested distributions:

  • Mint 22.2 - NOT Working
  • Mint 21.3 - Working
  • Lubuntu 24.04.3 - Working
  • Xubuntu 25.10 - not tested

Main window

Main camera view

In left up corner are stats:

  1. Sensitivy - Fine tune to improve detection. Keep as low (1) as possible. Minimum 1, maximum 50.
  2. Gain - Set up to to improve detection. Above 0 % means better detection (keep in mind it can be even fakedetection). Minimum value is -25 %, maximum is +25 %.
  3. FPS - Frames per seconds, this value is variable and depend on camera type and light condition. Good value is above 29.
  4. MBV - Max brightness value - if shows 100 you have problem with fake detection. Keep settins to value bellow 100, the lower, the better. When laser dot is in camera view, this must reach level 100.
  5. mm/Px - Ressolution (precision) of detected position, the lower the better. Each pixel equal to milimeters in size corespond to this value. Eg. 0.12 mm/Px means 1 pixel in view is equal to 0.12 mm in real.

Settings buttons

There are six buttons in bottom right side of the main window:

General settings Target settings Weapon settings
Lets Fire Export shooting logs Reset

  • General settings - Enable view with general settings (camera, shooter name, detection settings)
  • Target settings - Enable view with target settings ()
  • Weapon settings - Enable view with weapon settings ()
  • Lets Fire - Start shooting session
  • Export shooting logs - Export shooting log into file to Hit Analyzer directory.
  • Reset - Disable shooting settings (reset timers, points, score, etc)

General settings

  • Camera - select detected camera which is pointent on target.
  • Shooter - Enter a name of shooter, it will by stored in shooting log (shotlog)
  • Hits limit - check and insert value to set maximum hits limit. After you reach this limit shooting will be automaticaly stopped. Leave unchecked, if you dont want hit limit.
  • Time limit - check and insert values (minutes and seconds) to set maximum time limit. After you reach this limit shooting will be automaticaly stopped.
  • Count down - Check for display current time of shooting (if time limit is enabled) to go from maximum to minimum value, othervise it will go from zero to max time limit.
  • Autoshootlog - Check to write shooting log after shooting is finished (any limit reached). I not checked you can still manualy export shooting log any time.
  • Sound - Dropdown list to Enable/Disable various sound efects:
    1. Off - No sound at all.
    2. Hit - Plays the hit sound.In case of another hit it plays immediately and does not wait for the previous one to finish
    3. Spotter score - Plays the hit sound and then plays the point count sound. Waits for playback to finish before starting the next one.
    4. Spotter 8 directions - Plays the hit sound, then plays the point count sound, and finally determines the direction within a range of 8 directions. Waits for playback to finish before starting the next one.
    5. Spotter 12 directions - Plays the hit sound, then plays the point count sound, and finally determines the direction within a range of 12 directions. Waits for playback to finish before starting the next one.
  • Highlight detection - It will show all fake detection places in camera view and marked them with purple dot each.
  • Sensitivity - For fine improve detection (the higher, the better detection, but too high values can cause fake detection.
  • Gain - For fine improve detection (the higher, the better detection, but too high values can cause fake detection.

Target settings

  • Target selection - Dropdown list of detected target files (in directory targets). Select target you want to load. Imperial (inches) target is automaticaly scaled to metric units.
  • Correction buttons:
    • Up - Move target up.
    • Down - Move target down.
    • Left - Move target left.
    • Right - Move target right.
    • Plus - Make target bigger.
    • Minus - Make target smaller.
    • 1:1 - Set scale of target to default.
    • L0 - Set target position to default (center of camera view).
  • Simulated distance - Distance which you want to simulate.
  • Real distance - Physical distance from you (shooter) to target.
  • Use metric system - Set units of distance to meters, othervise to yards.

Weapon settings

  • Profile - Select weapon profile you wan to use (it has preset name, caliber, …)
  • Name - Modify the name of selected weapon in profile.
  • Caliber - Modify the caliber of selected weapon in profile. Use numbers only and “.” character. Maximum diameter is 20 mm. When u use caliber smaler than 1, it will change units to inch automatically.
  • Trigger type - Select the detection method of hit:
    1. First Spot is default and detects hit on laser blink.
    2. Timeout is capable of tracking your aiming process. It detects hit on disapearing laser dot after short period of time (time out).
  • Sound guided - Turn on audio navigation aiming for visually impaired shooter. Works only if Trigger type is set to Delayed Interval.
  • Sights adjustmet:
    1. For software correction of hit sight offset. The location of the hit may not correspond to the position of the laser dot.
  • “Target picture” - Set hit on center of target automatically.
  • “L0” picture - Reset sights offset to zero

Lets Fire

It will start shooting with simple countdown (3 seconds) so you can prepare yourself.

Export shooting logs

It will export temporary shooting logs (if any) to directrories /Shootlogs and /Shootrecords as txt files.

Reset

Disable shooting and clear any temporary shooting logs and hits.

software/hitanalyzer/index.txt · Last modified: 2026/05/15 07:29 by laabicz