fixed readme titles. Fixed pypi to git site link.
This commit is contained in:
20
README.md
20
README.md
@ -1,8 +1,8 @@
|
||||
#CVPubSubs
|
||||
# CVPubSubs
|
||||
|
||||
A threaded PubSub OpenCV interfaceREADME.md. Webcam and video feeds to multiple windows is supported.
|
||||
|
||||
##Installation
|
||||
## Installation
|
||||
|
||||
CVPubSubs is distributed on `PyPI <https://pypi.org>`_ as a universal
|
||||
wheel and is available on Linux/macOS and Windows and supports
|
||||
@ -10,16 +10,16 @@ Python 2.7/3.5+ and PyPy.
|
||||
|
||||
$ pip install CVPubSubs
|
||||
|
||||
##Usage
|
||||
## Usage
|
||||
|
||||
###Video Editing and Publishing
|
||||
### Video Editing and Publishing
|
||||
|
||||
####Display your webcam
|
||||
#### Display your webcam
|
||||
import cvpubsubs.webcam_pub as w
|
||||
|
||||
w.VideoHandlerThread().display()
|
||||
|
||||
####Change Display Arguments
|
||||
#### Change Display Arguments
|
||||
import cvpubsubs.webcam_pub as w
|
||||
|
||||
video_thread = w.VideoHandlerThread(video_source=0,
|
||||
@ -31,7 +31,7 @@ Python 2.7/3.5+ and PyPy.
|
||||
|
||||
video_thread.display()
|
||||
|
||||
####Run your own functions on the frames
|
||||
#### Run your own functions on the frames
|
||||
import cvpubsubs.webcam_pub as w
|
||||
|
||||
def redden_frame_print_spam(frame, cam_id):
|
||||
@ -41,7 +41,7 @@ Python 2.7/3.5+ and PyPy.
|
||||
|
||||
w.VideoHandlerThread(callbacks=[redden_frame_print_spam] + w.display_callbacks).display()
|
||||
|
||||
####Display multiple windows from one source
|
||||
#### Display multiple windows from one source
|
||||
import cvpubsubs.webcam_pub as w
|
||||
from cvpubsubs.window_sub import SubscriberWindows
|
||||
|
||||
@ -62,7 +62,7 @@ Python 2.7/3.5+ and PyPy.
|
||||
|
||||
t.join()
|
||||
|
||||
####Display multiple windows from multiple sources
|
||||
#### Display multiple windows from multiple sources
|
||||
iport cvpubsubs.webcam_pub as w
|
||||
from cvpubsubs.window_sub import SubscriberWindows
|
||||
|
||||
@ -79,7 +79,7 @@ Python 2.7/3.5+ and PyPy.
|
||||
t1.join()
|
||||
t1.join()
|
||||
|
||||
##License
|
||||
## License
|
||||
|
||||
CVPubSubs is distributed under the terms of both
|
||||
|
||||
|
Reference in New Issue
Block a user