The Story of My PhD : I Will Persist Until I Succeed!

I would like to share with you the store of my persistence in the face of tremendous adversities, the struggle of my life to achieve my life long dream of successfully completing a PhD.

By sharing this, I hope to inspire the engineers particularly from Gujarat and India who at times, like me, have felt inferior, while even thinking to compete with other engineers from IITs, MITs, Cambridges, Oxfords, Standfords, Imperial Colleges, of the world. By reading this article you have read and understood the Disclaimer.

Chapter 1 : Reaching the “Escape Velocity”

I graduated in Bachelor of Engineering in Power Electronics from the Lakhdhirji Engineering College in the Saurashtra University in the year 2000, in the state of Gujarat in India with a First Class with Distinction. Additionally, I did a Postgraduate Specialisation in ASIC/VLSI Design through a certificate vocational course in which I achieved stood first in the class and achieved a First Class with Distinction too. I was then selected in a reputed chip design company in a campus interview in the year 2000. It was January 2003 and I had been working in a very reputed chip design company in India. I had gained a few years of very valuable experience in R&D in the field of ASIC/VLSI/FPGA design and verification. I decided to leave the company because I wanted to gain some international exposure so I chose to go for higher studies abroad.

I started applying to a number of universities in Australia and the UK through university representatives/agents in India. I got admissions from a few good universities. These representatives typically get commission from the university for each admission; education is a big business around the world.  I decided to accept admission in a taught MSc in Microelectronics & Communications programme in the university of Northumbria in Newcastle upon Tyne in the UK in the January 2003 intake because the course appeared to provide knowledge in both Microelectronics and Communications disciplines. I paid the first installment of the University fees of £2500 mainly from my Dad’s savings. I then discovered that the university offered a fee bursary (discount) of approximately £1000 if it was applied for before a certain date. However, I learnt that the representative through whom I received the admission, did not inform me about this in time and as a result I missed the deadline for the application. This resulted in a loss of about £1000 to me. In Indian currency this amount equaled to roughly 800K Indian Rupees, which was a huge amount for me. This was a big financial blow to me particularly when I had taken an educational loan from a bank and used up savings from my Dad to finance the fees and my living expense. The representative kept insisting that I should be able to get the scholarship once I reach there. So I decided to accept the admission and come to the UK hoping that I should be able to convince the university in person.

Chapter 2 : Student in the UK

I reached the city of Newcastle upon Tyne where the university was located in Jan 2003 as a student on a student visa to the UK. I soon met and asked many relevant people in the university and tried to get the scholarship. I also personally met the Dean of the technical school, but all efforts were in vain as they all denied stating that since I had missed the deadline to apply for scholarship they could do nothing. I was very disappointed to say the least. I also felt betrayed by the representative. After studying for 3 weeks I experienced that a taught MSc programme from that university could not offer me the level of technical and technological exposure I wanted. This is because I felt that I had already been exposed to technically much advanced level in my study and work experience in India. I had worked in R&D in field of ASIC/VLSI/FPGA in the Indian company. Also I had worked on a number of successful industrial projects involving microprocessors and micro-controllers in my Bachelors in Power Electronics education. Since childhood I had great affinity towards electronic systems and had been building electronic projects since then. I had my own laboratory at my home in India in which I used to do all the projects and experiments. I had very high expectations in terms of gaining even more advanced level of technological exposure in the UK however the taught MSc programme in that university disappointed me. I also learnt that the typical taught MSc degree of one year duration is not recognised as a Master degree in Indian and many other EU countries. During the 4 weeks of my study, I met a fellow senior Indian student who guided me and showed me that there were a few good UK universities who could offered me the level of exposure that I wanted in the field of my chosen study.

Chapter 3 : Leaving the Studies

So I started applying in taught as well as fully funded research/PhD programmes directly in many top universities in the field. I was confident that if they would call me for a personal interview I would definitely get through. At the same time, I thought of withdrawing my studies from the university where I was studying in order to get my fees refunded. As per the university policy I had to withdraw within 4 weeks of my enrollment to get all the fees back. And it was the last day of 4th week when I came to know about the policy. If I wanted to withdraw, I needed to withdraw on the same day, if I didn’t withdraw, it would have meant that all my money and time would have been essentially wasted for me. So I tried and managed to summon up enough courage to withdraw from the course in Feb 2003 and got the fees of about £3000 back. This also included my fees paid for the campus accommodation. I didn’t know anybody in the UK at the time. I was quite scared at that moment. I thought of returning to India but I would have been proven fool, as I had left a prestigious and well paid job so returning would have been shameful. I felt that there was no future left for me in the UK apart from working in odd jobs. I really hadn’t come to UK to do odd jobs.

I then remembered the famous sayings of Dr. Robert Schuller “Tough times never lasts but Tough People Do”, and also “I will persist until I succeed” “Success is never ending failure is never final”. I was confident in my technical abilities, skills and knowledge. I decided not to give up. I became ready to fight with the world. So, first as a backup plan, plan B, I had postponed my admission in the same university in the next, September 2003 intake and applied for the scholarship. This time I was well in time for the scholarship application! The plan was to come back in September if my efforts to get into research did not materialise.

I then moved to London as I thought I would get more opportunities in the capital city while surviving on the refunded fees money. I continued applying into taught, fully funded, sponsored research/PhD programmes in some of the best universities in the UK and Ireland in my chosen technical field that I was informed about by the fellow senior student. As I started getting responses from the university, I was disappointed to see mainly the rejections. I really did not want to take another chance of accepting into a taught Master degree course. I also learnt that the various universities had some sort of scale to check the grade/level of the student’s home university where he/she would have done their Bachelor from. I learnt that the university where I did my Bachelor was way down in the scale and perhaps as a result I was not offered admission in many taught MSc programmes despite paying the fees. I have saved all the responses from the various universities.

Chapter 4 : Moving to Ireland

However, in April 2003, after receiving at least about 10 rejections, I received a positive response from the University College Dublin for a direct admission in PhD in Ireland sponsored by a campus company. But before giving me the place the campus company wanted to take my interview, which is what I had been waiting for and prepared myself for. They first took telephonic interview as it was a university from the Republic of Ireland and I was in London. They were impressed wanted to call me for a personal interview. They asked my references in my previous company and then they sent me tickets to Ireland for a personal interview with very short notice, only 3 days. Also I wanted to demonstrate some of my past work to them in the personal interview on a laptop. I did not have a laptop nor could I afford to buy one. I managed to borrow a very low spec old laptop from a house mate. Also I did not have a visa to the Republic of Ireland as it is a different country and not part of the UK.

So I had to apply for visitor visa for Ireland from London. However, since I was in process of applying for a place in a university, I could not produce any official letters from a university to furnish to the embassy along with my visa application. So I decided to take admission in a not very well known university in London which was cheap and as a result I could afford to pay a deposit of £200 to confirm my application in order obtain the necessary letters. I was able to produce the papers only on the second day in the 3 days time that I was offered for the interview. Fortunately, the immigration officer at the embassy was kind and granted me the much needed visa on the same day and then I was able to fly to Dublin the next day. Since I could not afford to buy a proper new suit from for the interview, I bought a jacket from a charity shop. This is because I had to make the £3000 pound refunded fees last as long as possible atleast until I get a fully funded position somewhere.

I then appeared in April 2003 in the interview at the University College Dublin. The team of researchers working for the campus company interviewed me for a whole day. Atleast, 10 different people split up in 3-4 people group would have conducted my interview. The interview was highly technical. I also demonstrated my previous work in the laptop that I took with me. I remained confident in the interview. They liked that. Not a single question was unanswered. I came back to London and then, the next day, I was informed that I was selected for PhD position in the University funded through the campus company. They would pay my fees and also pay an amount in the form of stipend. The area of research was in the computer science in the same field of electronics and chip design.

My struggle was not over yet, one more problem I had to face was to get a student visa of Ireland. I then applied for the student visa for Ireland from the Irish embassy in London straight after that. After waiting 2 months in London, in June 2003, my application for the student visa was rejected. But the university colleagues at the campus company supported me and we then made appeal on my behalf to the immigration department in Dublin and finally I received the student visa. I flew and reached Dublin and started the research work in July 2003.

After few months, I learnt that I had received bursary of £1000 from Northumbria University in the September intake for which I had a confirmed admission as a plan B. This proved that the university representative did mislead me into losing the bursary in the first attempt however not offering me bursary in the first place changed the course of my life.

I learnt a lot in those struggling months. I struggled a lot with the world. I did not give up even if I got failures in every step. The position was such that the work for the company was going to be considered towards my PhD. So I continued performing my duties as an ASIC/FPGA verification engineer and tried to use the work towards my PhD. After two years of fully concentrating on the research in this company, the company lost the funding due to a dispute between the directors. I felt that I was on the road again, was quite depressed thinking what to do. Should I write up a Masters thesis on what I did for the company as it was 2 years worth work, as it wasn’t enough to get a PhD. At the same time I saw an opportunity in the department of Computer Science in UCD, which was for a Masters in different project/research area but had funding for at least 18 months. I decided to take up that MSc thinking that if I can find a way to club my previous work which was in totally different project with this new project and make a PhD out of it. The hope was that my new supervisor then would be able to find funding for more 18 months in order for me to complete my PhD. Since the new project was different I could not finish my PhD and my dream of getting a PhD didn’t come true. I ended up with a Master by Research degree in Computer Science as there was uncertainty to obtain funding for an another 18 months required for the completion of my PhD. I then decided to take up a job with an aim to settle down. I applied to a number of chip design companies and after a number of interviews, was offered a job in a company in the Netherlands. After a lot of difficulty in obtaining a work visa to the Netherlands, I then moved there and worked there for about one and half years.

Chapter 5 : Back to the UK from the Netherlands

Due to family situation, I then decided to move to the UK. I started applying for jobs in the UK and I was called for an interview for a Researcher, research staff position in the well-known School of Systems Engineering in the University of Reading in the UK. It is at the School of Systems Engineering, rat’s brain cells were used to control and propel a mini robot. Professor Kevin Warwick, then worked in the School of Systems Engineering in the University of Reading. I excelled at the interview and was selected for the position. So again after obtaining a work visa to the UK, I then moved to the UK in Reading in 2009. During working I learnt that many UK universities, after an year of employment with them, offer their staff members opportunities to pursue part-time education in the courses offered by the university including PhD. The University would typically waive the fees for the part-time course that the staff member wanted to pursue. So after working for about two years months, I then requested the university to allow me to pursue a part-time PhD however initially they were reluctant. So I started looking for a job in other top universities including the Imperial College London. I was then offered a position of Researcher at the Imperial College London. I have detailed my efforts and experience of my unconventional but successful interview with Imperial College in my other blog post. So having this offer from Imperial, I approached the university again and this time they accepted and allowed me to pursue a part-time PhD along with working full-time as a Researcher if I chose to remain and work at the University of Reading. Mainly due to this time saving reasons I decided to continue working with and studying at the University of Reading.

Chapter 6 : The Closure of the School of Systems Engineering

Unfortunately, circumstances have never remained the same and adversities have always found their way into my life. The way I now look at problems, challenges, adversities is that they allow me to grow. I always think “Don’t ask Why me? Instead Try me!”. I keep the obvious truth in my mind that life gets boring without challenges. I try to live by what Anthony Robbins once said “The only people without problems are in cemeteries. If you don’t have problems, get on your knees and pray”. At work, I enjoy debugging and troubleshooting problems at work as I now thrive on challenges. I think challenges keeps me employed, why would someone employ me if everything worked.

So by July 2016, the University of Reading closed down the well-known School of Systems Engineering. We, staff members were kept informed, so I had known about this and before this happened, I had found a job in a private company outside the university and left the university. However, this certainly had a great impact on my PhD studies. While I settled down in the new job outside the university, I had to suspend my studies. After about roughly an year, I restarted my studies with a view to completing it once and for all, while working full-time at the company. It was difficult to say the least. I had to use my evenings and weekends and stop all my other projects, activities and socialising so that I can focus solely on completing my PhD. I realised that since I was no longer working in the university and the closure of the School of Systems Engineering meant that I did not have an easy access to any of the laboratory resources of the university in the form of servers, EDA-SW tools, computers and hardware tools. So I decided to resurrect all my experiments in my home lab . I bought a couple of second hand hi-spec Xeon servers, bought and installed the necessary OSes. I bought and borrowed the necessary hardware and FPGA boards for my experiments. I requested donation of licenses for the various EDA-SW tools from Xilinx for me to conduct the necessary experiments at home. Xilinx kindly offered me the donation for which I remained forever grateful. I also bought licenses for a number of other software tools as required in my research from my own pocket, albeit it was cheaper to buy a student’s license. My supervisor supported me in every possible way he can even in evenings and weekends.

For past 2 years, I had been working intensively working on all my evenings and weekends in the university library towards completing my PhD. This involved in first writing up and submitting 3 soft bound copies of my thesis to the examination office in the University of Reading. I submitted this in September 2017. I then defended my thesis in a Viva Voce examination in Jan 2018. I succesfully passed the exam subject to minor corrections. This was the most typical result one would expect to get in a PhD exam. I then applied the corrections and resubmitted the thesis to my internal examiner who accepted the corrections in May 2018. I then got the thesis hard bound in a book form and submitted to the university by the end of June 2018. As the final milestone achieved, I have now received the PhD degree certificate in a graduation ceremony just a week ago in July 2018. So finally I can start using the “Dr” in front of my name and my life long dream of successfully completing a PhD came true. The title of my thesis is:

“Content Driven Energy Efficiency Analysis of Hardware Accelerated Spatial Filters for Digital Image Processing”

Chapter 7 : My Insight. The Ahaa Moment!

Guidance from my ex-colleague who is also a PhD from University of Reading, a data scientist and a friend had been paramount. It was his guidance that showed me the path to learning how to conduct quantitative research by the way of experimental design and validating the hypothesis through statistical hypothesis testing methods. I learnt, followed and extensively applied the “Experimental Design Methodology”  or the “Design of Experiments” in my research and thesis. The insight I have now gained is that I could approach any challenge that life throws at me by applying the Experimental Design Methodolgy. The way I would design life’s experiment is as follows: Life’s challenges could be viewed as hypotheses which I need to prove or disprove. I could view the challenging situation, which can provide me with an outcome, as the dependent variable. The factors of the situation that I can control and hence vary, can be viewed as the independent variables. The known and unknown factors that are not under my control can be considered as confounding factors. The factors that I should try to keep constant can be viewed as the controlled variables. That’s it, all I then have to do is complete the design of the experiment by setting necessary instrumentation to receive the much needed feedback at every step/phase of dealing with the challenging situation while varying the independent variables and executing the experiment. I am currently thinking about this and developing my own theory of problem solving using the scientific approach. I will add a blog post once I have figured this out.

In the end, all I want to say is:

If You Dare To Dream, You Can Achieve It!

Share Button

Simple, Cheap, Quick DIY Lapdesk From (Scrap) Laminate Floor Boards

Until now I have been using my laptop without an external mouse. I now needed to use an external mouse for my work because the touch-pad and the buttons on the touch-pad slowed me down.

A while ago, I had purchased an off-the-shelf cheap lap-desk for my laptop which did not have space to put external mouse and mouse pad. This still cost me £10. So I did not want to spend more money to buy another one. Also, lap-desks with space for an external mouse were quite expensive and not normally easily available.

So that got me thinking, the aim was to figure out a quick, cheap (almost free) way to make a lap-desk with decent space to accommodate a mouse pad and external mouse. You may choose to not have the space for an external mouse. This Instructable shows you step by step how to make such a lap-desk from scrap laminate flooring.

The picture on this page is of the finished lap-desk.

Materials and Tools

The aim is to make it almost free or extremely cheap. When I say cheap, definitely cheaper than the off-the-shelf one which had cost me £10.

Materials:

1) Scrap, unused, off-cut, reclaimed laminate floor board. You have freedom to choose whatever color you like. We need two pieces to click into one another so as to allow the width to fit the lap and so that you can rest a decent sized 15 inch laptop on it. You may measure the size (length and breadth) of your lap that you want to cover and the size of the laptop. One piece requires to be slightly longer than the other to allow the space for an external mouse. You may choose not to have space for an external mouse, in that case you should have both the cuts of the laminate of same size. Images show the cuts that I used.

2) Some form of wood/construction glue.

3) A chair cushion. The size would be to cover the lap area.

Tools:

1) Jig saw or hand saw or some saw to cut the laminate as necessary.

Joining the Two Offcuts of Laminate Flooring Boards

 

1) First of all, I cut and rounded the corners of the laminate boards as they can be quiet annoying when you use the lap-desk.

2) You may choose to trim the unused tongues on the side but I did not bother. As the idea was to save time and make it quick. Also time is money :).

3) Apply the wood/construction glue into the tongue of the laminate board and then click the second piece into the first one as shown in the image.

4) Leave it for the glue to dry out.

5) In case you would like to attach more support for the two boards, as
shown in the image, you can glue a couple of supporting laminate or wood pieces. You can use clamp to hold them until they are properly stuck and the glue has dried. Althought, the boards glued and dried properly should be strong enough to hold without requiring this step.

Attaching Seat Cushion

1) Apply glue on the back side of the composite laminate in order to attach the chair seat cushion.

2) Place the cushion on the glue, press it to make sure the cushion is attached properly.

3) Reverse the assembly and put some weight on top and leave it for the glue to dry out.

The idea behind the cushion is that it provides support and cushioning effect on the lap while resting at least 1 or 1.5 Kilo worth of laptop weight. Most of the off-the-shelf ones do come with some form of cushion. I already had a memory foam chair cushion and that is what I used. However you may choose whatever is available.

There is no step here. Just that after the glue is dried, the lap-desk is ready to be deployed 🙂 as shown in the image.

 

Share Button

Cross Compiling OpenCV for Xilinx Zynq Arm on Ubuntu Linux OS

I am writing this to keep a log for myself and others whenever I want to cross compile OpenCV for Xilinx Zynq – ARM platform for Ubuntu 14.04. I have followed instructions mentioned on Xilinx-Wiki however I had to tweak quite a few instructions for me at a few places in order to successfully compile OpenCV. I have chosen to download and compile OpenCV-2.4.9 in particular. I did this a while ago so the Xilinx Vivado tools are older versions Vivado 2014.4. I have not tried on other versions of Ubuntu and OpenCV but I think it should still work. I have not listed any OS level dependencies that is required before attempting to start cross compiling OpenCV for Xilinx Zynq. The prerequisite is that the Xilinx Vivado tools have been installed correctly in Ubuntu /opt/Xilinx/ directory and can be invoked from Linux shell prompt. The following are my compilation of the instructions:

  1. First install Xilinx Vivado Tools successfully without any problems in /opt/Xilinx/Vivado folder.
  2. Create a text file (env_opencv_xilinx) with the following environment variables to be sourced so that the Vivado tools are available on command line:
  3. export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
    source /opt/Xilinx/Vivado/2014.4/settings64.sh
  4. Source env_opencv_xilinx file
  5. Download OpenCV-2.4.9 from http://opencv.org/downloads.html
  6. Unzip and untar OpenCV and place it in /home/user/opencv-2.4.9 folder
  7. Download ffmpeg-2.8.10 from http://www.ffmpeg.org/download.html#releases
  8. Unzip and untar FFmpeg folder. I chose to move the ffmpeg-2.8.10 folder inside the opencv-2.4.9 folder.
  9. Change directory inside the ffmpeg-2.8.10 folder
  10. Run: ./configure –enable-shared –disable-static –cross-prefix=arm-xilinx-linux-gnueabi- –arch=armv7l –target-os=linux –prefix=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/
  11. Add the following paths in the env_opencv_xilinx and source it again:
  12. export LD_LIBRARY_PATH=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/lib:${LD_LIBRARY_PATH}
    export C_INCLUDE_PATH=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/include:${C_INCLUDE_PATH}
    export CPLUS_INCLUDE_PATH=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/include:${CPLUS_INCLUDE_PATH}
    export PKG_CONFIG_PATH=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/lib/pkgconfig:${PKG_CONFIG_PATH}
  13. Create a folder called build within the opencv-2.4.9 directory.
  14. Add the following lines in a text file called toolchain.make and place it in the /home/user/opencv-2.4.9/ folder:
  15. set( CMAKE_SYSTEM_NAME Linux )
    set( CMAKE_SYSTEM_PROCESSOR arm )
    set( CMAKE_C_COMPILER arm-xilinx-linux-gnueabi-gcc )
    set( CMAKE_CXX_COMPILER arm-xilinx-linux-gnueabi-g++ )
    set( CMAKE_INSTALL_PREFIX /home/user/opencv-2.4.9_arm/build )
    set( CMAKE_FIND_ROOT_PATH /opt/Xilinx/SDK/2014.4/gnu/arm/lin/arm-xilinx-linux-gnueabi )
  16. Copy all the generated SO library files from ffmpeg-2.8.10/lib/ folder to opencv-2.4.9/build/lib folder otherwise OpenCV build process may not find the FFmpeg libraries automatically.
  17. Change directory into the build folder.
  18. I have chosen to set the BUILD_opencv_nonfree=ON as I would like to explore the algorithms available in the non-free of OpenCV.
  19. Run: cmake -D CMAKE_TOOLCHAIN_FILE=toolchain.make -D BUILD_opencv_nonfree=ON /home/user/opencv-2.4.9_arm/
  20. Check the configuration information of OpenCV to confirm the FFmpeg library is detected.
  21. Customise Build options by running: ccmake .
  22. I have chosen to keep WITH_JPEG and WITH_PNG set to ON so that the applications can read and write JPEG and PNG format image files, however Xilinx recommends the following options to be set to OFF
  23. WITH_1394, WITH_CUDA, WITH_CUFFT, WITH_EIGEN, WITH_GSTREAMER, WITH_GTK, WITH_JASPER, WITH_OPENEXR, WITH_PVAPI, WITH_QT, WITH_TBB, WITH_TIFF, WITH_UNICAP, WITH_V4L, WITH_XINE
  24. First press ‘c’ then ‘g’ to generate new Makefile. Alternatively edit CMakeCache.txt to modify build options. Check that WITH_FFMPEG=ON in CMakeCache.txt to enable FFmpeg support.
  25. Run: make
  26. Copy and Save build/lib/libopencv_core.so.2.4.9 in a different folder than lib.
  27. Run: make install .If all goes well then there will not be any errors however I did get an error here saying libopencv_core.so.2.4.9 not found, flagged by the module/core/cmake_install.cmake script. I checked that this particular SO was generated however during the make install process, due to may be some incorrectly generated command in some script it gets removed. I did not have time to debug this in detail however I fond a work around to complete the installation.
  28. Edit build/modules/core/cmake_install.cmake and remove the following lines, this will not generate the error during “make install” and the installation should now complete:
  29. “FILE(INSTALL DESTINATION “${CMAKE_INSTALL_PREFIX}/lib” TYPE SHARED_LIBRARY FILES
    “/home/jj901099/opencv-2.4.9_arm/build/lib/libopencv_core.so.2.4.9”
    “/home/jj901099/opencv-2.4.9_arm/build/lib/libopencv_core.so.2.4”
    “/home/jj901099/opencv-2.4.9_arm/build/lib/libopencv_core.so”
    )”
  30. Copy the saved libopencv_core.2.4.9 back to the build/lib/ folder. That’s it.

If I have not missed any step then Opencv-2.4.9 should have now compiled in the opencv-2.4.9/build directory, enjoy image processing.

 

Share Button

Problem with Cross Compiling OpenCV for Xilinx Zynq – ARM with FFmpeg on Ubuntu Linux OS

Problem:

I followed the instructions mentioned by Xilinx at http://www.wiki.xilinx.com/OpenCV+Installation in order to cross compile the OpenCV-2.4.9 with FFmpeg for Xilinx Zynq Platform on Ubuntu 14.04.

While configuring the FFmpeg, it gave me the following warning:

“WARNING: arm-xilinx-linux-gnueabi-pkg-config not found, library detection may fail.”

The FFmpeg did compile ok and generated all the necessary SO files however as a result of the warning when I tried to build the OpenCV-2.4.9, I got errors that libavcodec.so.56, libavformat.so.56 etc FFmpeg libraries are not found.

Following errors while build takes place :

/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: warning: libswresample.so.1, needed by opencv/ffmpeg-2.7.1/lib/libavcodec.so.56, not found (try using -rpath or -rpath-link)
opencv/ffmpeg-2.7.1/lib/libavcodec.so.56: undefined reference to `swr_close@LIBSWRESAMPLE_1′

/opt/Xilinx/SDK/2014.4/gnu/arm/lin/bin/../lib/gcc/arm-xilinx-linux-gnueabi/4.8.3/../../../../arm-xilinx-linux-gnueabi/bin/ld: warning: libswscale.so.3, needed by ../../lib/libopencv_highgui.so.2.4.9, not found (try using -rpath or -rpath-link)
../../lib/libopencv_highgui.so.2.4.9: undefined reference to `avcodec_decode_video2@LIBAVCODEC_56′

Solution:

The way I have manged to resolve this and successfully cross compile OpenCV is by manually copying the SO libs from FFmpeg/lib folder to the OpenCV/build/lib directory and then rerunning the make. After this OpenCV was successfully built.

 

Share Button

My Travel of the World

17 Countries and counting … 😉

India

From Gujarat to Shillong, Assam and from Delhi to Kanyakumari.

USA

Niagara falls, New York to Los Angeles, Las Vegas and Grand Canyon

Ireland

Galway to Rosslare, Dublin to Cork, Dingle, Limerick

United Kingdom

Glasgow, Edinburgh, London, Brighton, Bournemouth, Portsmouth, Birmingham, Holy head, Newcastle upon Tyne

France

Niece, Monaco Monte Carlo, Cannes

Italy

Turin

Greece

Athens, Patras

Czech Republic

Prague, Brno

Germany

Frankfurt, Dusseldorf, Bremen, Cologne-Bonn, Nuremberg

Norway

Oslo

Poland

Wroclaw, Warsaw

Portugal

Lisbon

Austria

Viena, Graz

Slovenia

Ljubljana

Spain

Madrid

Belgium

Brussels

The Netherlands

Eindhoven, Rotterdam, Amsterdam

Share Button

Turning Wood on a Lathe For the First Time :)

First time learnt to turn some wood on a wood lathe today at RLAB. Received a lot of help and guidance from my fellow members at RLAB.

And created the following. Helping out somebody by creating missing pieces for their toy rack.

woodpiece-large

Share Button

My Photography

I have personally visited the following places and captured these images in my Canon EOS 300D DSLR and FujiFilm S2980 Bridge Camera :).

niagra

Niagara Falls at Night

lulworthcove-3-large

Lulworth Cove, Dorset, UK

dscf1357-large

The Strip, Las Vegas

img_9125-large

Patras, Greece

readinguni2-large

Winter Snow, Reading, UK

img_9230-large

Patras, Greece

img_8875-large

dsc01084-large

Powerscourt Water Falls,  Ireland

dscf1361-large

Las Vegas Strip Casinos From the Top of the Hotel Stratosphere (108 Floors)

dscf13802

Sky Beam from Luxor Casino seen from the top of the hotel Stratosphere

img_9154-large

img_9078-large

Dew drop on a blade of grass

img_9074-large

Tiny flower

dscf1222-large

Grand Canyon – Panorama

dscf1247-large

Hoover Dam – Panorama

img_9150-large

 img_9019-large

dscf1399

Hotel Stratosphere in Las Vegas

dscf1396-large

img_8826-large-2

lulworthcove-2-large

 Lulworth Cove, Dorset, UK

img_9234-large

Bridge painted by the Sun in Patras, Greece

img_9104-large

Same Bridge, Day Time, Patras, Greece

img_9152-large

 Dried Rose

img_8842-large

Garden Spider

img_8816-large

img_8814-large

img_2919-large

Neighborhood in Snowy Night, Lit by Street Lights

dscf1205-large

Grand Canyon

dscf1131-large

Grand Canyon from the Colorado river

dscf1084-large

Grand Canyon from the Colorado river

dscf0809-large

Rockefeller Center, New York, USA

dscf0381-large

 Canada from the other side of Niagara Falls

dsc00992-large

Waves, Bournemouth Beech, UK

Copyright © 2017 Rajkumar Raval, All Rights Reserved

Share Button

10m Air Pistol – Olympic Discipline

Competed and won various national level, county level and league target shooting competitions in Ireland, the Netherlands and the United Kingdom.

raj_pistorl2-large

Have been affiliated with the following:

  1. Ireland: http://www.ucd.ie/rifle/
  2. Ireland: http://www.targetshooting.ie/
  3. Ireland: http://www.issf.ie/
  4. The Netherlands: http://www.svwoensel77.nl/
  5. The UK: http://www.britishpistolclub.org/
  6. The UK: http://www.nsra.co.uk/
  7. The UK: http://www.oxonra.org/
  8. The UK: http://www.mtsc.club/
  9. The UK: http://www.pinewoodpistolclub.co.uk/

University College Dublin honoured me with the Sports Achievement Award for my efforts in target shooting in the year 2007.

dsc00026-large

 

dsc00132-largeimg_0481-large

dsc00051-2-large

dsc00052-large

dsc02564-1-large

raj_pistol-large

Share Button

10m Air Rifle – Olympic Discipline

Competed and won various national level, county level and league target shooting competitions in Ireland, the Netherlands and the United Kingdom.

28022007001

Have been affiliated with the following:

  1. Ireland: http://www.ucd.ie/rifle/
  2. Ireland: http://www.targetshooting.ie/
  3. Ireland: http://www.issf.ie/
  4. The Netherlands: http://www.svwoensel77.nl/
  5. The UK: http://www.britishpistolclub.org/
  6. The UK: http://www.nsra.co.uk/
  7. The UK: http://www.oxonra.org/
  8. The UK: http://www.mtsc.club/
  9. The UK: http://www.pinewoodpistolclub.co.uk/

University College Dublin honoured me with the Sports Achievement Award for my efforts in target shooting in the year 2007.

dsc00026-large

 

dsc02552-1-large

 

OLYMPUS DIGITAL CAMERA

 

OLYMPUS DIGITAL CAMERA

 

OLYMPUS DIGITAL CAMERA

 

OLYMPUS DIGITAL CAMERA

 

OLYMPUS DIGITAL CAMERA

 

OLYMPUS DIGITAL CAMERA

 

dsc00129-large

 

dsc00133-large

 

dsc00137-large

Share Button

NunChucks Bruce Lee Style ;)

Share Button