Documentation
¶
Index ¶
- func DecodeImage(frame []byte) (image.Image, error)
- func EncodeImage(img image.Image) ([]byte, error)
- func ScaleImage(src image.Image, scaleFactor int) image.Image
- func StartStreaming(deviceName string, width uint32, height uint32, endpoint string, port string, ...)
- func StreamAsciiArt(w http.ResponseWriter, req *http.Request, frames chan string)
- func StreamImage(w http.ResponseWriter, req *http.Request, frames chan []byte)
- func TransformToASCII(img image.Image) string
- func TransformToGrayScale(img image.Image) *image.Gray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartStreaming ¶
func StreamAsciiArt ¶
func StreamAsciiArt(w http.ResponseWriter, req *http.Request, frames chan string)
func StreamImage ¶
func StreamImage(w http.ResponseWriter, req *http.Request, frames chan []byte)
func TransformToASCII ¶
TransformToASCII converts an image to an ASCII art string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.