virtual-labs-archive / image-processing-iiith

This repository contains the source for Image Processing IIITH
https://cse19-iiith.vlabs.ac.in
Other
0 stars 57 forks source link

Issue Rendering Processed Images in Simulation #362

Open sadhanareddy opened 5 years ago

sadhanareddy commented 5 years ago

The output of the operation performed is not getting displayed in experiment simulations.

sadhanareddy commented 5 years ago

Problem: Rendering the processed images.

Image Processing lab has a labspec with a list of dependencies. Dependencies: PHP5 and OpenCV 2.3

These are the steps which I followed to fix the problem :

STEP1: Initially, I tried installing the dependencies on Ubuntu 14.04 and 16.04 versions, but it was installing the latest versions of it. These versions wont work to render the images. Then, I figured out that, PHP5 and OpenCV2.3 won't be installed via command line on these versions of Ubuntu.

Solution to render the images on higher versions of Ubuntu : In the newer version of ubuntu 16.04, we need to download the opencv2.3 packages manually from the web and configure the LD_LIBRARY path of the opencv libraries, so that the application loader can check the path of the library and render the processed image.

Note: I tried installing each package and configuring the path. But it didn't work out. Issues are generating, while configuring the library path.

STEP2: I created a VM with the already existing 12.04 image on base machine and tried to install the dependencies on it. But the problem was sudo apt-get update was not working on it. Then I got to know that Ubuntu has stopped support for 12.04 for package updates. Due to this, we cannot install the packages from the command line. We need to manually download from web and configure the path. But unfortunately even that, didn't work out.

b Finally, when I downloaded the Ubuntu 12.04 version and setup the OS on virtual box. It worked.! .This version of Ubuntu supports PHP5 and OpenCv2.3. I installed the dependencies from the command line.

Note: Still we have to figure out a way to fix the problem on higher versions of Ubuntu. In order to maintain the lab.