What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-15 14:02:34
video capturing with raspberry pi
import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Display the resulting fr... Add solution -
-
Other 2021-11-07 19:09:09
opencv for video recording
import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Display the resulting fr... Add solution -
TypeScript 2021-11-03 11:40:18
generator typescript
Generators: 1) They only compute the next value when the user asks for it.(pause the execution after every output) 2) They can generate infinte values. 3) Calling a generator return in iterable iterator. //example function* fibonacci(){ let a = 0... Add solution -
Python 2021-11-02 16:08:10
opencv capture camera python
import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Display the resulting fr... Add solution -
Python 2021-10-21 15:43:10
how to get camera stream cv2
import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Our operations on the frame come here gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # Display the resulting fr... Add solution -
Java 2021-10-15 05:47:09
udp file transfer java with gui
package udpclientserverapp; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.n... Add solution
Best helpers
Ranking is empty