• Examples of image channel separation and merging in Python


    I will not say much nonsense, directly on the code! import cv2 img = cv2.imread(“1.jpg”) b. G, r = CV2. Split (IMG) ා separation function Merged = CV2. Merge ([b, G, R]) ා merge function cv2.imshow(‘image’,img) cv2.imshow(“Blue 1”, b) cv2.imshow(“Green 1”, g) cv2.imshow(“Red 1”, r) cv2.imshow(“merged 1”, merged) cv2.waitKey(0) cv2.destroyAllWindows() The above example of image […]

  • An example of Web API implementing front and back end separation


    With the development of web technology, there are numerous frameworks, front-end and back-end. The pressure on the whole stack of engineers is increasing. The current front-end framework can be used for both web and app. The front-end framework is updated more and more quickly. Traditional model Front end and back end debugging, modification are very […]

  • SQL Server 2005 implementation of database read-write separation


    The size of the Internet doubles every 100 days. Customers want to get 7 days * 24 hours of uninterrupted availability and faster system response time, rather than repeatedly see a site “Server Too Busy” and frequent system failures. With the increase of traffic and the rapid growth of access and data traffic, the processing […]