Comments (4)
``'gui_window_on':True,`
`'show_thresh_on':True,`
`'show_crop_on':True,`
`'verbose':True,``
`if gui_window_on:
cv2.imshow('Difference Image',differenceimage)
image2 = speed_image_add_lines(image2, cvRed)
image_view = cv2.resize(image2, (image_width, image_height))
cv2.imshow('Movement (q Quits)', image_view)
if show_thresh_on:
cv2.imshow('Threshold', differenceimage)
if show_crop_on:
cv2.imshow('Crop Area', image_crop)
# Close Window if q pressed
if cv2.waitKey(1) & 0xFF == ord('q'):
cv2.destroyAllWindows()
logging.info("End Motion Tracking ......")
vs.stop()
still_scanning = False
if display_fps: # Optionally show motion image processing loop fps
fps_time, frame_count = get_fps(fps_time, frame_count)
`
from speed-camera.
You need to set the variables in the config.py file. Seems like you are setting them in the default_settings dictionary variable. The dictionary variables are just used as a backup in case the config.py is missing or some variables are not in the config.py file. I added this just as a backup not intending that users would modify the speed-cam.py source code. So change the config.py file and you should be OK as long as you run from a RPI GUI desktop and a monitor attached.
Let me know how you make out.
Claude ...
from speed-camera.
Hello my dear sir
Thank you so much for your reply, it's work very well hh , You are a true genius .. i have a question Sir : how can be integrate source code about Real-time license plate recognition with 'openalpr' in your project , i find this project in GitHub i try to run openalpr_camera.py it's work , https://gist.github.com/jkjung-avt/790a1410b91c170187f8dbdb8cc698c8 .
So i want to detect the speed and LPR of vehicle in real time using the caméras IP
from speed-camera.
from speed-camera.
Related Issues (20)
- config.py still mentions configcam.py in header HOT 2
- Improvement: Majority Vote for Direction? --- Tracking seems to use "direction" of last track event to set direction of overall track - conflicts if last track mis-identifies direction HOT 5
- Cannot run speed-cam.py - states "Could not import cv2 library" HOT 8
- No Window to view camera HOT 6
- Windows not displaying on host machine HOT 1
- Clarification on calibration HOT 4
- Frames dropped due to contour out of bounds? HOT 2
- Docker Install always 11.22 HOT 1
- Calibration with different Screen Ratio and Framerate HOT 1
- No detections or speed calcs HOT 2
- No images
- How do I manually trigger the camera? HOT 4
- Can I reposition calibration marks? HOT 1
- Capture being triggered by small objects and missing all vehicles. HOT 1
- Warnings in startup log: "Unsupported V4L2 pixel format" HOT 1
- Vehicles at higher speeds being missed. HOT 4
- search-speed / Not compatible with the major rewrite? HOT 2
- Bigger resolution - `picam720` plugin - `speed_camera Out - 0/6` messages HOT 1
- Vehicles detected twice: Ideal `MO_TRACK_EVENT_COUNT`
- `MO_MIN_AREA_PX` is not the area of the rectangle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speed-camera.