Author Archives: Blackcat
Decision Making
Business Design – Turning ideas into business
Three gears of business design Foundation of business design
Develop a Competitive Strategy
Competitive Advantage definition Competing through disruption Three elements of the incumbent’s business model Base on the business models, there are three strategies that new comers or existing players can deploy to disrupt the current dynamics of an industry. Competitive advantage is never permanent. Four types of competitive disruption: In analyzing your competitive advantage relative toContinue reading “Develop a Competitive Strategy”
System Design cheat sheet
Video containers and codecs
Video = + video data (sequence of images – compressed) + one or more auido tracks (synchronized to be player together with video) + Subtitle and metadata We can recap saying that video files have 2 basic requirements: These elements are usually called streams or tracks Containers To solve 1st reuqiments, video files are definedContinue reading “Video containers and codecs”
FFmpeg
FFmpeg is open-source multimedia framework thay can be used for recording, converting, and streaming videos. FFmpeg is command line program (no user interface) Most common use case for FFmpeg: FFmpeg come with 3 command line tools: FFmpeg command line structure: ffmpeg -y -loop 1 -t 2 -i image.png -pix_fmt yuv420p -vcodec libx264 output.pm4
Ăn nhậu
– Đợt này có chiến dịch thổi cồn tăng cường nên em giảm tần suất uống bia, ăn nhậu nhưng thi thoảng mầy anh em ngồi kể chuyện quán nọ quán kia lại thấy nhớ nhớ Nay làm cái thớt liệt kê các quán đã từng ăn uống và 1 số món đặc trưng, hay gọiContinue reading “Ăn nhậu”
Mẹo chọn mua hoa quả
Area of text detector
image = cv2.imread gray #Gausse blur image_blur = cv2.GaussianBlur(image_gray, (3,3), 0) thresh = cv2.adaptiveThreshhold(image_blur, 255,cv2.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.THRESH_BINARY_INV, 21, 28) #Dilate kenerl = cv2. getStructutrElement(cv2.MORPH_REC, (7,7)) dilate = cv2.dilate(thresh, kernel, iterations=4) contours, hie = cv2.findContours(image=dilate, cv2.RETR_EXTERNAL, method=cv2.CHAIN_APPROX_SIMPLE) …..