How to write MP4 with OpenCV3

When trying to write MP4 file (H264), I tired code of

And I got error saying:

This problem is solved by changing the fourcc to the ASCII number directly to cv2.VideoWriter(), i.e.

reference: https://devtalk.nvidia.com/default/topic/1029451/jetson-tx2/-python-what-is-the-four-characters-fourcc-code-for-mp4-encoding-on-tx2/

Paper Reading: View Direction and Bandwidth Adaptive 360 Degree Video Streaming using a Two-Tier System

Original paper: Each segment is coded as a base-tier (BT) chunk, and multiple enhancement-tier (ET) chunks. BT chunks: represent the entire 360 view at a low bit rate and are pre-fetched in a long display buffer to smooth the network jitters effectively and guarantee that any desired FOV can be rendered with minimum stalls. ET … Read morePaper Reading: View Direction and Bandwidth Adaptive 360 Degree Video Streaming using a Two-Tier System

PointNet, PointNet++, and PU-Net

point cloud -> deep network -> classification / segmentation / super-resolution traditional classification / segmentation: projection onto 2D plane and use 2D classification / segmentation unordered set point(Vec3) -> feature vector (Vec5) -> normalize (end with the bound of the pointcloud) N points: segmentation: feature from N points ->NxK classes of each point (each point … Read morePointNet, PointNet++, and PU-Net

Lecture 10: Neural Network

Deep learning Representation learning Rule-based high explainability Linguistic supervision Semi-supervision have small set of data with label has large set of data without label Recurrent-level supervision Language structure description lengths DL= size(lexicon) + size( encoding) lex1 do the kitty you like see Lex2 do you like see the kitty How to evaluate the two lexicons? … Read moreLecture 10: Neural Network

Questions about “Foveated 3D Graphics (Microsoft)” User Study

Problem1: They did test for only one scene. The first problem is that foveation level is highly depentent on scene. They may get totally different parameters if they change to another scene. Of course, this is the problem of all the user studies. Till now, only NVIDIA mentiond the multliple factors affecting vision. However, they … Read moreQuestions about “Foveated 3D Graphics (Microsoft)” User Study

The key of using Unity Texture array

The texture array structure in different from GLSL and Unity + HLSL, the sequence of image index i and j must be adjusted. Suppose the light field has structure 16 x 16: In GLSL Shader:

In Unity Shader:

The program of using texture array in unity Suppose we want to load the images in folder “lytro”, … Read moreThe key of using Unity Texture array

Word2Vec Models

Collection of all pre-trained Word2Vec Models: http://ahogrammer.com/2017/01/20/the-list-of-pretrained-word-embeddings/ Google’s model seems not reliable… Here are some similarity tests of Google’s model: The similarity between good and great is: 0.7291509541564205 The similarity between good and awesome is: 0.5240075080190216 The similarity between good and best is: 0.5467195232933185 The similarity between good and better is: 0.6120728804252082 The similarity between … Read moreWord2Vec Models