This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net/rpc" | |
) | |
func main() { | |
client, err := rpc.DialHTTP("tcp", "127.0.0.1:1234") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
测试了8000张图片,30张图片无法识别,会导致以下错误 | |
import ( | |
"image" | |
_ "image/gif" | |
_ "image/jpeg" | |
_ "image/png" | |
_ "code.google.com/p/go.image/bmp" | |
_ "code.google.com/p/go.image/tiff" | |
) |