C# WPF/04
47. WPF Binding
47. WPF Binding
2025.03.181.더보기1. 2. 3. 4. 5.x:Name="predictionsListView" 6.predictionsListView.ItemsSource = predictions; 7. 2.더보기
46. WPF - Json Deserialize Object
46. WPF - Json Deserialize Object
2025.03.171.더보기 2.더보기1.// Json 형태를 살펴보면, Prediction 객체가 3개와 객체별 속성값들이 있다. 2./* * JsonConvert.DeserializeObject(responseString) → CustomVision 객체로 변환 * * JsonConvert는 Newtonsoft.Json 라이브러리의 클래스 * DeserializeObject(string value): JSON 문자열(responseString) >> C# 객체(CustomVision) 변환 * responseString이 JSON 형식의 문자열이라면, CustomVision 타입 객체로 변환 * * * .predictions → List 타입의 예측 결과 리스트 추출 * (CustomVision 클래스 내부에 p..
45. WPF - API - Model 생성
45. WPF - API - Model 생성
2025.03.171.더보기1.{"id":"210288fb-cd8a-43e8-a305","project":"6a990e92-7c43-4b51-bd38","iteration":"25d12112-17f9-4ba2-b2ba","created":"2025-03-17T10:29:05.735Z","predictions":[{"probability":0.9999851,"tagId":"0779af78-c922-4778-84d9-8ec3c7d059a8","tagName":"GoldenGate"},{"probability":1.47126475E-05,"tagId":"5bba7763-8b46-4da4-821e-b97c8c657595","tagName":"EffelTower"},{"probability":2.6075045E-07,"tagId"..
44. WPF - API 연동
44. WPF - API 연동
2025.03.171.더보기1. Custom Vision - Home 2. 3.private void MakePredictionAsync(string fileName){ string url = "입력하세요"; string prediction_key = "입력하세요"; string content_type = "application/octet-stream";} 4.var file = File.ReadAllBytes(fileName); 2.더보기1.private async void MakePredictionAsync(string fileName){ string url = "입력하세요"; string prediction_key = "입력하세요"; string content_type = "ap..
43. WPF 이미지 선택 UI 구현
43. WPF 이미지 선택 UI 구현
2025.03.171.더보기1. 2. Title="MainWindow" Height="350" Width="525"> 2.더보기 1. private void Button_Click(object sender, RoutedEventArgs e) { OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = "Image files (*.png; *.jpg)|*.png;*.jpg;*jpeg|All files (*.*)|*.*"; dialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictu..
42. Custom Vision AI 학습하기
42. Custom Vision AI 학습하기
2025.03.171. Custom Vision 프로젝트 생성더보기1. Custom Vision - Home 접속 2. 3. 4. 5. 6. 7. Landmarks 프로젝트 생성 완료 2. Custom Vision 프로젝트에 이미지 등록더보기1. 2. 3. 3. Custom Vision 프로젝트에 학습 시작더보기1. 4. Custom Vision 프로젝트에 학습된 모델 테스트더보기1. 에펠탑 테스트 2. 에펠탑 테스트 추가 3. 분류에 없는 이미지 테스트 4. 예측 리스트 확인 5. 학습한 Custom Vision 모델 API 링크 확인하기더보기1. 2. 모델명과 리소스 선택하기 3. API URL 확인하기
41. Custom Vision, Azure 가입
41. Custom Vision, Azure 가입
2025.03.1701. Custom Vision 가입하기더보기1. Custom Vision - Home 접속 Custom Vision - HomeUpload Images Bring your own labeled images, or use Custom Vision to quickly add tags to any unlabeled images. Train Use your labeled images to teach Custom Vision the concepts you care about. Evaluate Use simple REST API calls to quickly tag images with ywww.customvision.ai 2. 02. Azure 가입하기 더보기1. 2. 결재 정보 등록(무료 사용) 3..