-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The program shows me just half of my field #8
Comments
Please open new issue when you'll run into new problem. |
2.Speed. There are two variables within the loop: distance and t – just divide deltas when you need, if you don't want wait updates. -this what i didnt understand i've tried to name it average= distance / time . but error said that i must to disribe the average i tryed to make it as the distance average = _x = _y = 0 but it does not help. Real-time out of the box. Not in the current version. But you can replace cv2.VideoCapture(filename) by cv2.VideoCapture(0) and the input will be changed from video file to your webcam. --- when i made that it showed me in preprocessing box my webcam but after i have choosen area it showed me 2 times smaller half version of my rat.mp4 movie in the left side and normal half version Failed to load OpenH264 library: openh264-1.8.0-win64.dll [libopenh264 @ 00000242f45b9f40] Incorrect library version loaded |
and also when i run your code without any chages it works but shows an error: |
You mean, the processing runs on UI but you
It's about Anyway such picture is exactly what you will get, because left side shows the selected area on the right side expanded to full size of left half of UI window. The point is to get rid of perspective deformations of the camera. If you don't care about perspective just select full area on the right side and then you'll get the same picture on the left side. |
First of all try to install H.264 from K-Lite Codec Pack. |
Yeah , thanks I’ll try . Also I’ve made an experiments with black box and less illumination - and it worked in real time !))but it was not counting time . |
I comment all of the frame = frame[:, w-h : w] but got an error: |
Nothing unexpected: you are trying to add frames of different sizes. What is your goal? Why do you need to stack together non-squared frames, while the algorithm is supposed to stack square ones? Do you have a rectangular open field? |
When i run the program , it shows me just half of my field ( but I’m using rat in a smaller box)
I’ve tried to change it with changing “. frame[:,w-h:w ]”
And also I’ve put 1 to HALF_AREA=1hh .
I’m using mp4 video in 30 FPS and 1280 to 720.
And also I want to count average speed every 20 Seconds.
Is it possible to use your method in real-time.?
Thank you for answer !
Originally posted by @amirprobuetmir in #1 (comment)
The text was updated successfully, but these errors were encountered: