본문 바로가기
728x90
반응형

분류 전체보기458

platform_browser.ts:28 Not allowed to load local resource: 처음에 버튼 클릭시 위와 같이 오류가 났다. 그래서 오류코드를 읽어보니 404 에러가 뜬걸 보고 경로 문제라는걸 캐치하고, my_model 폴더를 부르는 경로를 찾아가서 경로를 수정해주었다. 이렇게 수정해주었다. const URL="C:\\Users\\csh\\Desktop\\apple_detect\\my_model" 그 후 다시 start 버튼을 클릭하니까 또 다른 오류가 나왔다.!🙄 Not allowed to load local resource: file:///C:/Users/csh/Desktop/apple_detect/my_modelmodel.json 2022. 11. 17.
Nodejs 와 MSSQL 연동하기 npx express-generator npm install npm install mssql const config = { user:"로그인(L)", password:"암호", server:"서버이름", database:"데이터베이스 이름", options:{ trustedconnection: true, enableArithAbort: true, instancename: "", }, //port: }; module.exports = config; const config = { user:"로그인(L)", password:"암호", server:"서버이름", database:"데이터베이스 이름", options:{ trustedconnection: true, enableArithAbort: true, ins.. 2022. 11. 16.
학습 시키기 https://teachablemachine.withgoogle.com/ (이 사이트에서 학습) https://github.com/googlecreativelab/teachablemachine-community/tree/master/libraries/image 불량 사과(객체) 감지 시스템_체리피커 Start 불량 탐지시 mp3파일 (https://clova.ai/voice) 2022. 11. 15.
웹 소켓(WebSocket) 코드분석(server.js 편) 전체 코드 var WebSocketServer = require("ws").Server; var wss = new WebSocketServer({ port: 8001 }); CLIENTS = []; updown = []; // 연결이 수립되면 클라이언트에 메시지를 전송하고 클라이언트로부터의 메시지를 수신한다 wss.on("connection", function (ws) { //CLIENTS.push(ws); ws.on("message", function (message) { console.log("received: %s", message); var jsonData = JSON.parse(message); console.log("json=" + jsonData[0].req); if (jsonData[0]... 2022. 11. 14.
728x90
반응형