diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002188.jpg b/handpose_datasets_v2/2022-04-15_02-13-17_002188.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1d71f6028001fe600ab84d29e51362c6f35ebe20 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-13-17_002188.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002188.json b/handpose_datasets_v2/2022-04-15_02-13-17_002188.json new file mode 100644 index 0000000000000000000000000000000000000000..efc95d995fbc71f2efc79fa33f43fbca312e0d3b --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-13-17_002188.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Left", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 132, + "y": 123 + }, + "1": { + "x": 122, + "y": 99 + }, + "2": { + "x": 107, + "y": 83 + }, + "3": { + "x": 93, + "y": 76 + }, + "4": { + "x": 77, + "y": 74 + }, + "5": { + "x": 103, + "y": 72 + }, + "6": { + "x": 81, + "y": 55 + }, + "7": { + "x": 69, + "y": 45 + }, + "8": { + "x": 56, + "y": 34 + }, + "9": { + "x": 98, + "y": 78 + }, + "10": { + "x": 72, + "y": 60 + }, + "11": { + "x": 57, + "y": 49 + }, + "12": { + "x": 42, + "y": 38 + }, + "13": { + "x": 93, + "y": 87 + }, + "14": { + "x": 66, + "y": 72 + }, + "15": { + "x": 51, + "y": 64 + }, + "16": { + "x": 36, + "y": 53 + }, + "17": { + "x": 88, + "y": 100 + }, + "18": { + "x": 66, + "y": 95 + }, + "19": { + "x": 52, + "y": 92 + }, + "20": { + "x": 36, + "y": 90 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002191.jpg b/handpose_datasets_v2/2022-04-15_02-13-17_002191.jpg new file mode 100644 index 0000000000000000000000000000000000000000..13baae10daaceaa4c8ab7ef380fb36d98ee49ee8 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-13-17_002191.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002191.json b/handpose_datasets_v2/2022-04-15_02-13-17_002191.json new file mode 100644 index 0000000000000000000000000000000000000000..c4a8023d8767a5dbe37839d25be8486f4ae582e5 --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-13-17_002191.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 27, + "y": 105 + }, + "1": { + "x": 47, + "y": 89 + }, + "2": { + "x": 62, + "y": 71 + }, + "3": { + "x": 75, + "y": 58 + }, + "4": { + "x": 91, + "y": 45 + }, + "5": { + "x": 47, + "y": 50 + }, + "6": { + "x": 63, + "y": 32 + }, + "7": { + "x": 78, + "y": 37 + }, + "8": { + "x": 87, + "y": 51 + }, + "9": { + "x": 42, + "y": 55 + }, + "10": { + "x": 75, + "y": 53 + }, + "11": { + "x": 84, + "y": 67 + }, + "12": { + "x": 81, + "y": 78 + }, + "13": { + "x": 41, + "y": 65 + }, + "14": { + "x": 73, + "y": 73 + }, + "15": { + "x": 79, + "y": 86 + }, + "16": { + "x": 75, + "y": 95 + }, + "17": { + "x": 42, + "y": 78 + }, + "18": { + "x": 68, + "y": 85 + }, + "19": { + "x": 74, + "y": 93 + }, + "20": { + "x": 72, + "y": 98 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002218.jpg b/handpose_datasets_v2/2022-04-15_02-13-17_002218.jpg new file mode 100644 index 0000000000000000000000000000000000000000..70afcdec886b2a96ab2ec03807d462cbf6e0beab Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-13-17_002218.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-13-17_002218.json b/handpose_datasets_v2/2022-04-15_02-13-17_002218.json new file mode 100644 index 0000000000000000000000000000000000000000..b88685e10bae350d401195739e5ad10846b09a69 --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-13-17_002218.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 54, + "y": 82 + }, + "1": { + "x": 61, + "y": 67 + }, + "2": { + "x": 61, + "y": 49 + }, + "3": { + "x": 56, + "y": 37 + }, + "4": { + "x": 46, + "y": 26 + }, + "5": { + "x": 39, + "y": 33 + }, + "6": { + "x": 48, + "y": 25 + }, + "7": { + "x": 55, + "y": 37 + }, + "8": { + "x": 52, + "y": 43 + }, + "9": { + "x": 30, + "y": 38 + }, + "10": { + "x": 41, + "y": 33 + }, + "11": { + "x": 50, + "y": 45 + }, + "12": { + "x": 44, + "y": 48 + }, + "13": { + "x": 24, + "y": 45 + }, + "14": { + "x": 36, + "y": 41 + }, + "15": { + "x": 44, + "y": 51 + }, + "16": { + "x": 38, + "y": 56 + }, + "17": { + "x": 19, + "y": 55 + }, + "18": { + "x": 30, + "y": 51 + }, + "19": { + "x": 38, + "y": 58 + }, + "20": { + "x": 34, + "y": 61 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-17-45_002083.jpg b/handpose_datasets_v2/2022-04-15_02-17-45_002083.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f1e61855c27f28d325bfb4f2a5d4521611e3b3e1 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-17-45_002083.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-17-45_002083.json b/handpose_datasets_v2/2022-04-15_02-17-45_002083.json new file mode 100644 index 0000000000000000000000000000000000000000..d4ad8948e52ac4baf5fd6909650bed8dde7c0c59 --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-17-45_002083.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 54, + "y": 155 + }, + "1": { + "x": 51, + "y": 115 + }, + "2": { + "x": 71, + "y": 90 + }, + "3": { + "x": 92, + "y": 87 + }, + "4": { + "x": 106, + "y": 94 + }, + "5": { + "x": 104, + "y": 98 + }, + "6": { + "x": 133, + "y": 71 + }, + "7": { + "x": 150, + "y": 58 + }, + "8": { + "x": 166, + "y": 43 + }, + "9": { + "x": 115, + "y": 114 + }, + "10": { + "x": 144, + "y": 83 + }, + "11": { + "x": 156, + "y": 64 + }, + "12": { + "x": 171, + "y": 45 + }, + "13": { + "x": 118, + "y": 125 + }, + "14": { + "x": 138, + "y": 98 + }, + "15": { + "x": 147, + "y": 78 + }, + "16": { + "x": 153, + "y": 62 + }, + "17": { + "x": 113, + "y": 130 + }, + "18": { + "x": 127, + "y": 107 + }, + "19": { + "x": 131, + "y": 91 + }, + "20": { + "x": 132, + "y": 79 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006491.jpg b/handpose_datasets_v2/2022-04-15_02-21-38_006491.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2669c085afd3f6560de4ce527f29e1efd54cf18a Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-21-38_006491.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006491.json b/handpose_datasets_v2/2022-04-15_02-21-38_006491.json new file mode 100644 index 0000000000000000000000000000000000000000..b4d86ad18d0272194070ea3f2341bc782489b63e --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-21-38_006491.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 71, + "y": 199 + }, + "1": { + "x": 88, + "y": 156 + }, + "2": { + "x": 118, + "y": 119 + }, + "3": { + "x": 139, + "y": 91 + }, + "4": { + "x": 141, + "y": 54 + }, + "5": { + "x": 97, + "y": 122 + }, + "6": { + "x": 147, + "y": 121 + }, + "7": { + "x": 180, + "y": 122 + }, + "8": { + "x": 216, + "y": 124 + }, + "9": { + "x": 94, + "y": 153 + }, + "10": { + "x": 160, + "y": 158 + }, + "11": { + "x": 203, + "y": 162 + }, + "12": { + "x": 244, + "y": 163 + }, + "13": { + "x": 96, + "y": 183 + }, + "14": { + "x": 161, + "y": 189 + }, + "15": { + "x": 200, + "y": 190 + }, + "16": { + "x": 235, + "y": 190 + }, + "17": { + "x": 101, + "y": 208 + }, + "18": { + "x": 151, + "y": 209 + }, + "19": { + "x": 177, + "y": 207 + }, + "20": { + "x": 200, + "y": 204 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006492.jpg b/handpose_datasets_v2/2022-04-15_02-21-38_006492.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3be8f3f00d35fbceb8256f6b79daac7b8bfd6b79 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-21-38_006492.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006492.json b/handpose_datasets_v2/2022-04-15_02-21-38_006492.json new file mode 100644 index 0000000000000000000000000000000000000000..7ecea60b180339724c63d7dee0cac46263ff1beb --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-21-38_006492.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Left", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 81, + "y": 322 + }, + "1": { + "x": 50, + "y": 290 + }, + "2": { + "x": 42, + "y": 248 + }, + "3": { + "x": 70, + "y": 219 + }, + "4": { + "x": 105, + "y": 200 + }, + "5": { + "x": 55, + "y": 196 + }, + "6": { + "x": 53, + "y": 149 + }, + "7": { + "x": 52, + "y": 120 + }, + "8": { + "x": 53, + "y": 90 + }, + "9": { + "x": 85, + "y": 196 + }, + "10": { + "x": 95, + "y": 149 + }, + "11": { + "x": 99, + "y": 122 + }, + "12": { + "x": 100, + "y": 103 + }, + "13": { + "x": 108, + "y": 207 + }, + "14": { + "x": 131, + "y": 164 + }, + "15": { + "x": 130, + "y": 151 + }, + "16": { + "x": 120, + "y": 152 + }, + "17": { + "x": 127, + "y": 226 + }, + "18": { + "x": 139, + "y": 193 + }, + "19": { + "x": 129, + "y": 190 + }, + "20": { + "x": 109, + "y": 203 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006493.jpg b/handpose_datasets_v2/2022-04-15_02-21-38_006493.jpg new file mode 100644 index 0000000000000000000000000000000000000000..031b74c150ad18847c74a8e2d34374c849d7a49b Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-21-38_006493.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-21-38_006493.json b/handpose_datasets_v2/2022-04-15_02-21-38_006493.json new file mode 100644 index 0000000000000000000000000000000000000000..e7f6afa1983a74f974446af44ab010e68cca62f5 --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-21-38_006493.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 71, + "y": 199 + }, + "1": { + "x": 87, + "y": 157 + }, + "2": { + "x": 118, + "y": 120 + }, + "3": { + "x": 140, + "y": 91 + }, + "4": { + "x": 142, + "y": 54 + }, + "5": { + "x": 96, + "y": 123 + }, + "6": { + "x": 148, + "y": 119 + }, + "7": { + "x": 181, + "y": 121 + }, + "8": { + "x": 217, + "y": 124 + }, + "9": { + "x": 94, + "y": 153 + }, + "10": { + "x": 161, + "y": 159 + }, + "11": { + "x": 203, + "y": 162 + }, + "12": { + "x": 243, + "y": 163 + }, + "13": { + "x": 96, + "y": 183 + }, + "14": { + "x": 162, + "y": 190 + }, + "15": { + "x": 201, + "y": 190 + }, + "16": { + "x": 236, + "y": 188 + }, + "17": { + "x": 102, + "y": 208 + }, + "18": { + "x": 153, + "y": 208 + }, + "19": { + "x": 179, + "y": 205 + }, + "20": { + "x": 202, + "y": 202 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-30-12_000761.jpg b/handpose_datasets_v2/2022-04-15_02-30-12_000761.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5565016bcca2a0bf103607d78308ad5064006a52 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-30-12_000761.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-30-12_000761.json b/handpose_datasets_v2/2022-04-15_02-30-12_000761.json new file mode 100644 index 0000000000000000000000000000000000000000..12c5ccea89d9aadf1de26d7a50959cc8be9ba5ff --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-30-12_000761.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 64, + "y": 174 + }, + "1": { + "x": 97, + "y": 151 + }, + "2": { + "x": 134, + "y": 140 + }, + "3": { + "x": 166, + "y": 142 + }, + "4": { + "x": 194, + "y": 148 + }, + "5": { + "x": 141, + "y": 112 + }, + "6": { + "x": 175, + "y": 88 + }, + "7": { + "x": 196, + "y": 71 + }, + "8": { + "x": 216, + "y": 51 + }, + "9": { + "x": 137, + "y": 119 + }, + "10": { + "x": 190, + "y": 142 + }, + "11": { + "x": 181, + "y": 159 + }, + "12": { + "x": 162, + "y": 160 + }, + "13": { + "x": 132, + "y": 135 + }, + "14": { + "x": 181, + "y": 162 + }, + "15": { + "x": 170, + "y": 174 + }, + "16": { + "x": 153, + "y": 171 + }, + "17": { + "x": 129, + "y": 155 + }, + "18": { + "x": 169, + "y": 175 + }, + "19": { + "x": 161, + "y": 186 + }, + "20": { + "x": 145, + "y": 186 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-31-24_000007.jpg b/handpose_datasets_v2/2022-04-15_02-31-24_000007.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0f776bf1c564bdd13551c2adcc0a2706e04b6d58 Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-31-24_000007.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-31-24_000007.json b/handpose_datasets_v2/2022-04-15_02-31-24_000007.json new file mode 100644 index 0000000000000000000000000000000000000000..fce6656cf59e9180296b07a5171a38d254522a63 --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-31-24_000007.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 59, + "y": 269 + }, + "1": { + "x": 40, + "y": 223 + }, + "2": { + "x": 47, + "y": 180 + }, + "3": { + "x": 65, + "y": 152 + }, + "4": { + "x": 85, + "y": 135 + }, + "5": { + "x": 78, + "y": 178 + }, + "6": { + "x": 78, + "y": 128 + }, + "7": { + "x": 77, + "y": 104 + }, + "8": { + "x": 75, + "y": 78 + }, + "9": { + "x": 103, + "y": 184 + }, + "10": { + "x": 100, + "y": 128 + }, + "11": { + "x": 96, + "y": 101 + }, + "12": { + "x": 92, + "y": 75 + }, + "13": { + "x": 121, + "y": 189 + }, + "14": { + "x": 118, + "y": 136 + }, + "15": { + "x": 113, + "y": 109 + }, + "16": { + "x": 103, + "y": 81 + }, + "17": { + "x": 132, + "y": 194 + }, + "18": { + "x": 129, + "y": 151 + }, + "19": { + "x": 123, + "y": 128 + }, + "20": { + "x": 115, + "y": 104 + } + } + } + ] +} \ No newline at end of file diff --git a/handpose_datasets_v2/2022-04-15_02-31-24_000013.jpg b/handpose_datasets_v2/2022-04-15_02-31-24_000013.jpg new file mode 100644 index 0000000000000000000000000000000000000000..244ba1c7c96cd4aee176d98873f064feb443668e Binary files /dev/null and b/handpose_datasets_v2/2022-04-15_02-31-24_000013.jpg differ diff --git a/handpose_datasets_v2/2022-04-15_02-31-24_000013.json b/handpose_datasets_v2/2022-04-15_02-31-24_000013.json new file mode 100644 index 0000000000000000000000000000000000000000..5168e126e6ff89efa6c9cd6c97b6863aa48cd41f --- /dev/null +++ b/handpose_datasets_v2/2022-04-15_02-31-24_000013.json @@ -0,0 +1,101 @@ +{ + "maker": "Eric.Lee", + "date": "2022-04", + "info": [ + { + "handType": "Right", + "bbox": [ + 0, + 0, + 0, + 0 + ], + "pts": { + "0": { + "x": 42, + "y": 201 + }, + "1": { + "x": 65, + "y": 192 + }, + "2": { + "x": 82, + "y": 171 + }, + "3": { + "x": 81, + "y": 150 + }, + "4": { + "x": 71, + "y": 127 + }, + "5": { + "x": 83, + "y": 138 + }, + "6": { + "x": 99, + "y": 114 + }, + "7": { + "x": 107, + "y": 99 + }, + "8": { + "x": 114, + "y": 82 + }, + "9": { + "x": 67, + "y": 134 + }, + "10": { + "x": 74, + "y": 98 + }, + "11": { + "x": 78, + "y": 78 + }, + "12": { + "x": 79, + "y": 55 + }, + "13": { + "x": 50, + "y": 138 + }, + "14": { + "x": 63, + "y": 127 + }, + "15": { + "x": 66, + "y": 151 + }, + "16": { + "x": 63, + "y": 170 + }, + "17": { + "x": 34, + "y": 145 + }, + "18": { + "x": 49, + "y": 134 + }, + "19": { + "x": 54, + "y": 151 + }, + "20": { + "x": 54, + "y": 169 + } + } + } + ] +} \ No newline at end of file diff --git a/read_datasets.py b/read_datasets.py index dde9f473a2cfa8cb0f4584afc8554f644017e872..ae3ce309e8ab665313d01639a867427f5e03fb8e 100644 --- a/read_datasets.py +++ b/read_datasets.py @@ -33,8 +33,8 @@ if __name__ == "__main__": hand_str = "hand" if "handType" in msg.keys(): hand_str = "hand" + msg["handType"] + "_v2" - cv2.putText(img_, hand_str, (5,35),cv2.FONT_HERSHEY_DUPLEX, 1.0, (55, 0, 220),5) - cv2.putText(img_, hand_str, (5,35),cv2.FONT_HERSHEY_DUPLEX, 1.0, (255, 50, 50),2) + cv2.putText(img_, hand_str, (2,25),cv2.FONT_HERSHEY_DUPLEX, 0.8, (55, 0, 220),5) + cv2.putText(img_, hand_str, (2,25),cv2.FONT_HERSHEY_DUPLEX, 0.8, (255, 50, 50),2) print(bbox) @@ -47,4 +47,4 @@ if __name__ == "__main__": cv2.namedWindow("HandPose_Json",0) cv2.imshow("HandPose_Json",img_) - cv2.waitKey(1) + cv2.waitKey(0)