Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-05 18:18:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
946a217103af7323ca83f164ccfc2e04c7335f46
946a2171
1 parent
baef3166
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app.js
app.js
View file @
946a217
...
...
@@ -87,6 +87,7 @@ async function handleEvent(event) {
.
then
(
async
(
stream
)
=>
{
await
stream
.
on
(
'data'
,
(
chunk
)
=>
{
console
.
log
(
typeof
(
chunk
));
fs
.
writeFileSync
(
'./photo/1.png'
,
chunk
);
var
cheerio
=
require
(
'cheerio'
);
var
uriBase
=
'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr'
;
...
...
Please
register
or
login
to post a comment