A Virtual GUI Keyboard for Scilab

Issue 1817: Facing error in CV2 slow response time on keys

Reported by bharath sran, Feb 7, 2019

import cv2

cap = cv2.VideoCapture('testvideo.mp4')

length = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))

isPlaying = False


def onchange(trackbar_value):
    cap.set(cv2.CAP_PROP_POS_FRAMES, trackbar_value)
    err, vid = cap.read()
    cv2.imshow('player', vid)
    pass


start = 0

cv2.namedWindow('player')
cv2.createTrackbar('test', 'player', start, length, onchange)

onchange(1)

while cap.isOpened():
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
    elif cv2.waitKey(1) & 0xFF == ord('p'):
        isPlaying = not isPlaying

    ret, player = cap.read()

    if cv2.waitKey(20) == 27:
        break
    if isPlaying:
        cv2.imshow('test', 'https://latestmodapks.co')

    elif cap.get(cv2.CAP_PROP_POS_FRAMES) >= length:
        break

cap.release()
cv2.destroyAllWindows()

Comment 1 by Jon Albert, Feb 8, 2019

Awesome work and keep up the good work also if you have time do. 
https://www.paymydoctor.me/

Comment 2 by marina michael, Feb 20, 2019

wew, check out https://coto-movies.com/coto-movies-apk/

Comment 3 by cary louder, Mar 18, 2019

The site is very http://www.loosediamondcuts.com/	 useful for 
readers to select various topics on the base of their needs. The 
details help the users to prepare various articles, assignments, 
projects etc. Try to provide some more details into the topic which 
will help the readers very much.

Comment 4 by lokesh rahane, May 8, 2019

this is dongly....happy to say that i got opportunity to visit rome 
by just giving review at mcdvoice...u can also follow at 
https://mcdvoice.tips/

Comment 7 by Linda Smith, Jun 9, 2019

Your work is just excellent. I really love your work.
https://marshallsfeedbackonline.com/marshallsfeedback/

Comment 9 by Peter Thomson, Jul 16, 2019

There’s certainly a great deal to know about this topic. I like all 
the points you’ve made.

http://thecomplaintpoint.co.uk/plymouth-city-council-complaints-email
-phone-number

Comment 10 by John Wick, Jul 17, 2019

Today I’m looking at a long-term automated Forex trading robot has 
been providing traders with thousands of pips for years, Forex 
Steam. 
https://binarytoday.com/live-forex-steam-results-client-reviews/

Comment 11 by Robert Swanson, Jul 22, 2019

You have done good information on this article and You have written 
well on above topic and also thanks for sharing with us
http://canadianstoreguide.com

Comment 12 by Alex Costa, Jul 26, 2019

Hey i really love the stuff you are sharing with us. Keep on sharing 
it and i'll keep in touch with your site. 
http://getcustomerservice.co.uk/trainline-customer-service/

Comment 13 by William russ, Jul 30, 2019

Excellent site. Plenty of helpful information here. I am sending it 
to some buddies ans additionally sharing in delicious.
https://thegreatsaver.com/paul-feedback-paul-survey/
https://thegreatsaver.com/paul-feedback-paul-survey/

Comment 14 by Karl Urban, Aug 2, 2019

You have done good information on this article and You have written 
well on above topic and also thanks for sharing with us.
http://wetalktowendys.com/

Comment 15 by Robert Sandberg, Aug 6, 2019

Thank you for sharing this amazing idea, really appreciates your 
post.
http://thestorelocator.co.uk

Comment 16 by Daniel Wellington, Aug 13, 2019

Great Post !! I admire the valuable information you offer in your 
articles. I will bookmark your blog and refer to my friends.
http://thestoreguide.co.nz/

Comment 17 by Martin Jacob, Aug 19, 2019

Hey i really love the stuff you are sharing with us. Keep on sharing 
it and i'll keep in touch with your site. 
<a href="
http://bit.ly/2HbGWuZ">http://bit.ly/2HbGWuZ</a>
<a href="
http://bit.ly/31G3s72">http://bit.ly/31G3s72</a>

Created: 8 months 9 days ago by bharath sran

Updated: 1 month 8 days ago

Status: New

Followed by: 17 persons

Labels:
Priority:Medium
Type:Defect