Commit 7e48b5ca authored by ple98's avatar ple98

word game merge

parent 988edf75
This diff is collapsed.
......@@ -14,14 +14,14 @@
"@react-navigation/stack": "^6.3.16",
"axios": "^1.3.6",
"expo": "~48.0.9",
"expo-linking": "^4.0.1",
"expo-av": "~13.2.1",
"expo-camera": "~13.2.1",
"expo-file-system": "~15.2.2",
"expo-linking": "^4.0.1",
"expo-screen-orientation": "~5.1.1",
"expo-status-bar": "~1.4.4",
"react": "18.2.0",
"react-native": "^0.71.6",
"react-native": "^0.71.12",
"react-native-draggable": "^3.3.0",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-gesture-handler": "~2.9.0",
......
......@@ -7,7 +7,7 @@ export default function ContentFiltration() {
const checkWord = async () => {
try {
const response = await fetch('http://192.168.17.111:5000/check_word', {
const response = await fetch('http://192.168.303.111:5000/check_word', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
......
......@@ -112,7 +112,7 @@ export default function FlipCardGame() {
const fetchImagesData = async () => {
try {
const response = await fetch('http://192.168.17.111:5000/api/images_data');
const response = await fetch('http://192.168.8.194:5000/api/images_data');
const data = await response.json();
//console.log(data);
......
......@@ -20,7 +20,7 @@ const screenHeight = Dimensions.get("window").height;
const fetchCards = async () => {
try {
const response = await fetch('http://192.168.17.111:5000/api/similar-words?word=cat');
const response = await fetch('http://192.168.30.111:5000/api/similar-words?word=cat');
const data = await response.json();
//console.log(data)
return data.similar_words;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -12,8 +12,7 @@ cap=cv2.VideoCapture('sample_video.mp4')
def POINTS(event, x, y, flags, param):
if event == cv2.EVENT_MOUSEMOVE :
colorsBGR = [x, y]
print(colorsBGR)
colorsBGR = [x, y] print(colorsBGR)
def get_iou(box1, box2):
y11, x11, y21, x21 = box1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment