Pillow This function loads an image, applies a specified image filter, draws text on the image, and then saves the resulting image. Image processing 2024-12-16 12:16:36 12 views
Pyglet Random This function uses the Pyglet library to create a window and continuously redraws a triangle with random colors. The user can exit by pressing the Esc key. Graphical interface 2024-12-16 12:15:15 13 views
OpenCV NumPy OpenCV, NumPy, Gaussian blur, Hough transform The type of code 2024-12-16 12:14:17 6 views
OpenCV NumPy This code uses OpenCV's HoughCircles function to detect circles in an image. It first converts the image to grayscale and applies Gaussian blur to reduce noise. Then, it uses Hough transform to detect circles and draws the detected circles and their boundaries on the original image. Image processing 2024-12-16 12:14:09 5 views
Basemap Numpy This function uses the Basemap library to draw circles on a map centered at a specific latitude and longitude with a given radius. Function 2024-12-16 12:14:01 6 views
pygame Random This function uses the pygame library to draw a random rectangle on the screen. The color of the rectangle is randomly selected from a predefined list of colors. Function 2024-12-16 12:13:56 6 views
Basemap NumPy This function draws a map using the Basemap library and plots a line through specified coordinates. Custom function 2024-12-16 12:13:53 5 views
Basemap Numpy This function uses the Basemap library to draw countries and cities on a map. By passing in lists of latitudes, longitudes, and city names, the function marks these cities on the map and displays national boundaries. Drawing function 2024-12-16 12:13:39 7 views
Pillow Draws a circle on the specified image and saves the modified image. Image processing 2024-12-16 12:13:10 5 views
Bokeh Circle This function uses the Bokeh library to draw random circles within a specified range. The number of circles can be customized. Bokeh graphic drawing 2024-12-16 12:13:05 4 views