Categories
Knowledge Support Categories exacqVision Webservice Products

Axis fisheye camera dewarping and the exacqVision Web Service

Only supported on Ubuntu 12.04, Ubuntu 14.04, Windows 7, 8, and Windows Server 2010.
These instructions are dependent upon your system supporting OpenGL 3.0 or higher.

WINDOWS

  1. On an exacqVision Server, change the Operating System to automatically login to “admin” following the instructions in KB 45061.
  2. Place the attached webservice_fisheye_fix.bat file into your auto-login user’s Desktop.
  3. Use the Windows Task Scheduler to create a task with the following options:

    * Under the “General” tab, check “Run with highest privileges”
    * Under “Triggers”, click “New”. Set “Begin the task” to “At log on”
    * Under “Actions”, click “New”. “Browse” to the “webservice_fisheye_fix.bat” above.
  4. Reboot.
    NOTE: At each boot, there will be a command prompt left running, this can be minimized, but not closed.


To revert:

  1. Delete the “webservice_fisheye_fix.bat” file and remove the Scheduled Task.
  2. Configure machine to login as “user”.
  3. Reboot.

<br>

UBUNTU 12.04 and 14.04

  1. On an exacqVision Server, change the Operating System to automatically login to “admin” following the instructions in KB 39795.
  2. If on 14.04, run the following single-line command in terminal:
    sudo mv /usr/local/exacq/webservice/bin/libz.so.1 /usr/local/exacq/webservice/bin/libz.so.1.disabled
  3. Place the attached webservice_fisheye_fix.sh file in “/home/”
  4. Place the attached webservice_fisheye_fix.desktop file in “/home/admin/.config/autostart/”
  5. In Terminal, run
    sudo chmod 766 /home/webservice-fisheye_fix.sh
  6. Reboot
    NOTE: If your webservice fails to start after the reboot, rename the file back because it does not exist on your system or the webservice is incompatible with the system version:
    In Terminal, type sudo mv /usr/local/exacq/webservice/bin/libz.so.1.disabled /usr/local/exacq/webservice/bin/libz.so.1

To revert:

  1. Delete the 2 files from steps 3 and 4.
  2. Configure the machine to login as “User”, then run this command:

sudo mv /usr/local/exacq/webservice/bin/libz.so.1.disabled /usr/local/exacq/webservice/bin/libz.so.1

<br>

Axis-fisheye-camera-dewarping-and-the-exacqVision-Web-Service.pdf