Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming help
#1
Hello! I need someone to help me generate a program to do the following in python programming. It basically does Image processing in main. I have few modules installed like: numpy, opencv, scipy, pylab, matplotlib & sys. I can download the required modules if any. The task should be as follows:

1. After opening the python program, it should display a window stating few details
“PARTICLE IMAGE VELOCIMETRY
SHUTTER SPEED= 1/60s
FOCUS=30cm
PLEASE SETUP THE APPARATUS AND
PRESS ENTER TO START CAPTURING (EDIT SETTINGS IF ANY)”
2. Now the program should open a software which is located at ” C:\Program Files\honestech\honestech HD DVR 2.5” in my computer.
(the user captures & closes the application)
3. All the photos captured should be moved to a folder named “G:\Project\Trial i” from “C:\Users\Dipak\Documents\honestech DVR” where i=depends on the trial number.
4. Display the photos from the particular “Trial i” folder and ask the user to select 1 photo.
5. Selected photo to be processed by the program.
6. The processed image to be displayed along with the result

PROGRAM SEQUENCE (POINT 5)
1. SHOW THE IMAGE TO CONFIRM BY THE USER
2. CONVERT THE IMAGE TO GREY SCALE FORMAT
3. FIND THE THRESHOLD VALUE
4. USE “CannyThreshold” FUNCTION TO IDENTIFY THE CONTOUR EDGES BASED ON CHANGE IN INTENSITY.
5. CONVERT THE ORIGINAL IMAGE TO HEATMAP MODE AND DO THE SAME.
6. AFTER DETECTING THE EDGES, DETECT LINES USING “HoughLinesP” FUNCTION.
7. IF LINES FOUND, PROCESS AND CALCULATE THE LENGTH BY THE FORMULA
sqrt[(x2-x1)^2-(y2-y1)^2] DISTANCE FORMULA
8. WHERE X2, X1, Y2&Y1 ARE THE CO-ORDINATES OF THE STREAK /LINE.
9. THE IMAGE SIZE IS IN PIXELS (EG.720x480)
10. THE RESULT IS IN PIXELS WHICH NEEDS TO BE CONVERTED INTO mm (MILLIMETRES)
11. NOW IT SHOULD BE COVERTED INTO m (METRES)
12. FINALLY, THE VELOCITY TO BE CALCULATED AND DISPLAYED BY USING FORMULA
VELOCITY = LENGTH OF LINE (m) x 60 [m/s=UNIT]
13. IF NO LINES DETECTED, THEN THE PROGRAM DISPLAYS “Image cannot be processed”
I am basically from mechanical background so not good with the programming part in this project, so please help me crack the code which could perform this task successfully. I have attached the link of the photo to be processed for reference.

postimg.net/viewer.php?file=03465440588847442106.jpg
Reply
#2
There are a couple of things you can do for this give me pm
Reply
#3
Hello! I need someone to help me generate a program to do the following in python programming. It basically does Image processing in main. I have few modules installed like: numpy, opencv, scipy, pylab, matplotlib & sys. I can download the required modules if any. The task should be as follows:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python programming for hamiltonian cycle joseph george 0 885 02-23-2013, 09:18 AM
Last Post: joseph george
  Example of Object Oriented Programming nevets04 1 1,096 11-16-2009, 04:17 PM
Last Post: Fallen
  Calculator Using Object Oriented Programming nevets04 1 2,436 11-16-2009, 04:12 PM
Last Post: Fallen

Forum Jump:


Users browsing this thread: 2 Guest(s)