diff --git a/README.md b/README.md index 5178ee42..658caa1f 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,31 @@ -# oneAPI-GenAI-Hackathon-2023 - Hack2Skill +#### Team Name - TechnoTouch +#### Problem Statement - Revolutionary AI-Infused Retail Platform +#### Team Leader Email - laxmi17sarki@gmail.com -Welcome to the official repository for the oneAPI-GenAI-Hackathon-2023 organized by Hack2Skill! +### A Brief of the Prototype: Image_Se_Image_Search + Problem statement: The built models should be able to find database images that correspond to a given query image (i.e., the model should retrieve database images containing the same object as the query). -## Getting Started +Example: + + + + Screen 1 : Where user Uploads Image as a seach query and hit `Submit`. -To get started with the oneAPI-GenAI-Hackathon-2023 repository, follow these steps: + + + Screen 2 : Where response of similar images are presented. -### Submission Instruction: - 1. Fork this repository - 2. Create a folder with your Team Name - 3. Upload all the code and necessary files in the created folder - 4. Upload a **README.md** file in your folder with the below mentioned informations. - 5. Generate a Pull Request with your Team Name. (Example: submission-XYZ_team) - -### README.md must consist of the following information: - -#### Team Name - -#### Problem Statement - -#### Team Leader Email - - -### A Brief of the Prototype: - This section must include UML Diagrams and prototype description - -### Tech Stack: - List Down all technologies used to Build the prototype - -### Step-by-Step Code Execution Instructions: - This Section must contain a set of instructions required to clone and run the prototype so that it can be tested and deeply analyzed - -### Future Scope: - Write about the scalability and futuristic aspects of the prototype developed + +`Note` : images are displayed in their most to less similar images . +
+
+ Steps to Run the Project : + diff --git a/TechnoTouch/app.py b/TechnoTouch/app.py new file mode 100644 index 00000000..e0f0d4d9 --- /dev/null +++ b/TechnoTouch/app.py @@ -0,0 +1,47 @@ +import os +from PIL import Image +from flask import Flask, request, render_template +from datetime import datetime +from image_feature_extraction import FeatureExtractor +from pathlib import Path +import numpy as np + +app = Flask(__name__) + +# Read image features +fe = FeatureExtractor() +features = [] +img_paths = [] +for feature_path in Path("./static/flipkart_feature").glob("*.npy"): + features.append(np.load(feature_path)) + img_paths.append(Path("./static/flipkart_dataset") / (feature_path.stem + ".jpg")) +features = np.array(features) + + +@app.route('/', methods=['GET', 'POST']) +def index(): + if request.method == 'POST': + file = request.files['query_img'] + # Save query image + img = Image.open(file.stream) # PIL image + uploaded_img_path = "static/uploaded/" + datetime.now().isoformat().replace(":", ".") + "_" + file.filename + img.save(uploaded_img_path) + + # Run search + fe = FeatureExtractor() + query = fe.extract(img) + dists = np.linalg.norm(features - query, axis=1) # L2 distances to features + ids = np.argsort(dists)[:20] # Top 10 results + scores = [(dists[id], img_paths[id]) for id in ids] + return render_template('index.html', + query_path=uploaded_img_path, + context=uploaded_img_path, + scores=scores + ) + if request.method == 'GET': + return render_template('index.html') + + +if __name__ == "__main__": + port = int(os.environ.get('PORT', 5000)) + app.run(host="0.0.0.0", port=port, debug=False) \ No newline at end of file diff --git a/TechnoTouch/db_dataset_feature_preparation.py b/TechnoTouch/db_dataset_feature_preparation.py new file mode 100644 index 00000000..a61cb6e9 --- /dev/null +++ b/TechnoTouch/db_dataset_feature_preparation.py @@ -0,0 +1,13 @@ +from PIL import Image +from Image_feature_extraction import FeatureExtractor +from pathlib import Path +import numpy as np + +if __name__ == '__main__': + fe = FeatureExtractor() + + for img_path in sorted(Path("./static/dataset").glob("*.jpg")): + print(img_path) # e.g., ./static/img/xxx.jpg + feature = fe.extract(img=Image.open(img_path)) + feature_path = Path("./static/feature") / (img_path.stem + ".npy") # e.g., ./static/feature/xxx.npy + np.save(feature_path, feature) \ No newline at end of file diff --git a/TechnoTouch/image_feature_extraction.py b/TechnoTouch/image_feature_extraction.py new file mode 100644 index 00000000..0000acdd --- /dev/null +++ b/TechnoTouch/image_feature_extraction.py @@ -0,0 +1,27 @@ +# Import the libraries +from tensorflow.keras.preprocessing import image +from tensorflow.keras.applications.vgg16 import VGG16, preprocess_input +from tensorflow.keras.models import Model +import numpy as np + + +class FeatureExtractor: + def __init__(self): + # Use VGG-16 as the architecture and ImageNet for the weight + base_model = VGG16(weights='imagenet') + # Customize the model to return features from fully-connected layer + self.model = Model(inputs=base_model.input, outputs=base_model.get_layer('fc1').output) + + def extract(self, img): + # Resize the image + img = img.resize((224, 224)) + # Convert the image color space + img = img.convert('RGB') + # Reformat the image + x = image.img_to_array(img) + x = np.expand_dims(x, axis=0) + x = preprocess_input(x) + # Extract Features + feature = self.model.predict(x)[0] + return feature / np.linalg.norm(feature) + diff --git a/TechnoTouch/requirements.txt b/TechnoTouch/requirements.txt new file mode 100644 index 00000000..733b3343 Binary files /dev/null and b/TechnoTouch/requirements.txt differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagf255fpcfzfnt.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagf255fpcfzfnt.jpeg new file mode 100644 index 00000000..37a0d426 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagf255fpcfzfnt.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagf255mhuxmamt.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagf255mhuxmamt.jpeg new file mode 100644 index 00000000..5f17a5ba Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagf255mhuxmamt.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagf255tjygezzs.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagf255tjygezzs.jpeg new file mode 100644 index 00000000..e583ab49 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagf255tjygezzs.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagfyy2zech5n6d-bb.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagfyy2zech5n6d-bb.jpeg new file mode 100644 index 00000000..7dae2ddc Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagfyy2zech5n6d-bb.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagfzhqz3hqsuza-bb.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagfzhqz3hqsuza-bb.jpeg new file mode 100644 index 00000000..ff3683dd Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagfzhqz3hqsuza-bb.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg4zgaacqnv8e.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg4zgaacqnv8e.jpeg new file mode 100644 index 00000000..304dbcef Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg4zgaacqnv8e.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg4zjtvyagauu.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg4zjtvyagauu.jpeg new file mode 100644 index 00000000..6056ca04 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg4zjtvyagauu.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg5dtcfrzbcvb.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg5dtcfrzbcvb.jpeg new file mode 100644 index 00000000..f23a09f2 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg5dtcfrzbcvb.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg5du4d4x4bxh.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg5du4d4x4bxh.jpeg new file mode 100644 index 00000000..4c6b6975 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg5du4d4x4bxh.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg5vxrfkg5mkm.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg5vxrfkg5mkm.jpeg new file mode 100644 index 00000000..3b5834cd Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg5vxrfkg5mkm.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg6r9bpznrksf.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg6r9bpznrksf.jpeg new file mode 100644 index 00000000..6bbc9a00 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg6r9bpznrksf.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg6r9x7ej8x6t.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg6r9x7ej8x6t.jpeg new file mode 100644 index 00000000..1d7d4c19 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg6r9x7ej8x6t.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg6reznfbmjfe.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg6reznfbmjfe.jpeg new file mode 100644 index 00000000..881cb1d9 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg6reznfbmjfe.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7enuhuzjbdg.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7enuhuzjbdg.jpeg new file mode 100644 index 00000000..b1773843 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7enuhuzjbdg.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7syaf3btfue.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7syaf3btfue.jpeg new file mode 100644 index 00000000..a576c202 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7syaf3btfue.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7syxx9wyfph.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7syxx9wyfph.jpeg new file mode 100644 index 00000000..47d23081 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7syxx9wyfph.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7szgcmfgauh.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7szgcmfgauh.jpeg new file mode 100644 index 00000000..89ff1a34 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7szgcmfgauh.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7szyxg63adu.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7szyxg63adu.jpeg new file mode 100644 index 00000000..89828ed6 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7szyxg63adu.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7t28r97yg4k.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7t28r97yg4k.jpeg new file mode 100644 index 00000000..e0bab6ae Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7t28r97yg4k.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imagg7tfhygmmc7d.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imagg7tfhygmmc7d.jpeg new file mode 100644 index 00000000..76973bff Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imagg7tfhygmmc7d.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggcawm2bc7sbc.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggcawm2bc7sbc.jpeg new file mode 100644 index 00000000..8f413917 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggcawm2bc7sbc.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggcawtmxbuhzf.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggcawtmxbuhzf.jpeg new file mode 100644 index 00000000..9fc6df99 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggcawtmxbuhzf.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggcb3d6f4cxvu.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3d6f4cxvu.jpeg new file mode 100644 index 00000000..1815cb8b Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3d6f4cxvu.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggcb3jdqyb6kc.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3jdqyb6kc.jpeg new file mode 100644 index 00000000..916873e3 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3jdqyb6kc.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggcb3yyfn2hpz.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3yyfn2hpz.jpeg new file mode 100644 index 00000000..c6c315b0 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggcb3yyfn2hpz.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggdabmyshydgd.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggdabmyshydgd.jpeg new file mode 100644 index 00000000..91312d3a Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggdabmyshydgd.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaggyuww7ahtp6c.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaggyuww7ahtp6c.jpeg new file mode 100644 index 00000000..301cf17c Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaggyuww7ahtp6c.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaghvb3gmh7t9zg.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaghvb3gmh7t9zg.jpeg new file mode 100644 index 00000000..33abd02e Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaghvb3gmh7t9zg.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaghvb5zzszuy55.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaghvb5zzszuy55.jpeg new file mode 100644 index 00000000..bb335a1e Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaghvb5zzszuy55.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/-original-imaghvb7kkpy73vn.jpeg b/TechnoTouch/static/flipkart_dataset/-original-imaghvb7kkpy73vn.jpeg new file mode 100644 index 00000000..448b8c10 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/-original-imaghvb7kkpy73vn.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.jpeg b/TechnoTouch/static/flipkart_dataset/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.jpeg new file mode 100644 index 00000000..240aebbc Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.jpeg b/TechnoTouch/static/flipkart_dataset/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.jpeg new file mode 100644 index 00000000..53f8ea48 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.jpeg b/TechnoTouch/static/flipkart_dataset/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.jpeg new file mode 100644 index 00000000..35aaa100 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.jpeg b/TechnoTouch/static/flipkart_dataset/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.jpeg new file mode 100644 index 00000000..076bc0c7 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.jpeg b/TechnoTouch/static/flipkart_dataset/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.jpeg new file mode 100644 index 00000000..37df41ae Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.jpeg b/TechnoTouch/static/flipkart_dataset/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.jpeg new file mode 100644 index 00000000..9c459736 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.jpeg b/TechnoTouch/static/flipkart_dataset/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.jpeg new file mode 100644 index 00000000..2731d8b9 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/9-sp7235-kraasa-white-original-imagdn4adzndtapz.jpeg b/TechnoTouch/static/flipkart_dataset/9-sp7235-kraasa-white-original-imagdn4adzndtapz.jpeg new file mode 100644 index 00000000..8eb07eeb Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/9-sp7235-kraasa-white-original-imagdn4adzndtapz.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/brd-343-abisto-black-original-imafvzgynd8aybhj.jpeg b/TechnoTouch/static/flipkart_dataset/brd-343-abisto-black-original-imafvzgynd8aybhj.jpeg new file mode 100644 index 00000000..d28a7e0d Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/brd-343-abisto-black-original-imafvzgynd8aybhj.jpeg differ diff --git a/TechnoTouch/static/flipkart_dataset/mrj1346-aadi-black-original-imafzad77kzz9w6w.jpeg b/TechnoTouch/static/flipkart_dataset/mrj1346-aadi-black-original-imafzad77kzz9w6w.jpeg new file mode 100644 index 00000000..39d22f51 Binary files /dev/null and b/TechnoTouch/static/flipkart_dataset/mrj1346-aadi-black-original-imafzad77kzz9w6w.jpeg differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagf255fpcfzfnt.npy b/TechnoTouch/static/flipkart_feature/-original-imagf255fpcfzfnt.npy new file mode 100644 index 00000000..074a52b9 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagf255fpcfzfnt.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagf255mhuxmamt.npy b/TechnoTouch/static/flipkart_feature/-original-imagf255mhuxmamt.npy new file mode 100644 index 00000000..753cf33f Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagf255mhuxmamt.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagf255tjygezzs.npy b/TechnoTouch/static/flipkart_feature/-original-imagf255tjygezzs.npy new file mode 100644 index 00000000..430413d5 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagf255tjygezzs.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagfyy2zech5n6d-bb.npy b/TechnoTouch/static/flipkart_feature/-original-imagfyy2zech5n6d-bb.npy new file mode 100644 index 00000000..085b3d6b Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagfyy2zech5n6d-bb.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagfzhqz3hqsuza-bb.npy b/TechnoTouch/static/flipkart_feature/-original-imagfzhqz3hqsuza-bb.npy new file mode 100644 index 00000000..03408240 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagfzhqz3hqsuza-bb.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg4zgaacqnv8e.npy b/TechnoTouch/static/flipkart_feature/-original-imagg4zgaacqnv8e.npy new file mode 100644 index 00000000..44975b97 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg4zgaacqnv8e.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg4zjtvyagauu.npy b/TechnoTouch/static/flipkart_feature/-original-imagg4zjtvyagauu.npy new file mode 100644 index 00000000..34e0e6b4 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg4zjtvyagauu.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg5dtcfrzbcvb.npy b/TechnoTouch/static/flipkart_feature/-original-imagg5dtcfrzbcvb.npy new file mode 100644 index 00000000..b273db9e Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg5dtcfrzbcvb.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg5du4d4x4bxh.npy b/TechnoTouch/static/flipkart_feature/-original-imagg5du4d4x4bxh.npy new file mode 100644 index 00000000..1d5b7985 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg5du4d4x4bxh.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg5vxrfkg5mkm.npy b/TechnoTouch/static/flipkart_feature/-original-imagg5vxrfkg5mkm.npy new file mode 100644 index 00000000..22d9477b Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg5vxrfkg5mkm.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg6r9bpznrksf.npy b/TechnoTouch/static/flipkart_feature/-original-imagg6r9bpznrksf.npy new file mode 100644 index 00000000..aff0ec43 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg6r9bpznrksf.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg6r9x7ej8x6t.npy b/TechnoTouch/static/flipkart_feature/-original-imagg6r9x7ej8x6t.npy new file mode 100644 index 00000000..ed32f312 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg6r9x7ej8x6t.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg6reznfbmjfe.npy b/TechnoTouch/static/flipkart_feature/-original-imagg6reznfbmjfe.npy new file mode 100644 index 00000000..203d83be Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg6reznfbmjfe.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7enuhuzjbdg.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7enuhuzjbdg.npy new file mode 100644 index 00000000..db92f87a Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7enuhuzjbdg.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7syaf3btfue.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7syaf3btfue.npy new file mode 100644 index 00000000..d360d9e5 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7syaf3btfue.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7syxx9wyfph.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7syxx9wyfph.npy new file mode 100644 index 00000000..4137fb11 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7syxx9wyfph.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7szgcmfgauh.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7szgcmfgauh.npy new file mode 100644 index 00000000..4acc1846 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7szgcmfgauh.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7szyxg63adu.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7szyxg63adu.npy new file mode 100644 index 00000000..7b57c3be Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7szyxg63adu.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7t28r97yg4k.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7t28r97yg4k.npy new file mode 100644 index 00000000..7bca59e9 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7t28r97yg4k.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imagg7tfhygmmc7d.npy b/TechnoTouch/static/flipkart_feature/-original-imagg7tfhygmmc7d.npy new file mode 100644 index 00000000..1ca25fea Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imagg7tfhygmmc7d.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggcawm2bc7sbc.npy b/TechnoTouch/static/flipkart_feature/-original-imaggcawm2bc7sbc.npy new file mode 100644 index 00000000..c8e810c3 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggcawm2bc7sbc.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggcawtmxbuhzf.npy b/TechnoTouch/static/flipkart_feature/-original-imaggcawtmxbuhzf.npy new file mode 100644 index 00000000..e4dd4989 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggcawtmxbuhzf.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggcb3d6f4cxvu.npy b/TechnoTouch/static/flipkart_feature/-original-imaggcb3d6f4cxvu.npy new file mode 100644 index 00000000..a5a28697 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggcb3d6f4cxvu.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggcb3jdqyb6kc.npy b/TechnoTouch/static/flipkart_feature/-original-imaggcb3jdqyb6kc.npy new file mode 100644 index 00000000..8f945b7d Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggcb3jdqyb6kc.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggcb3yyfn2hpz.npy b/TechnoTouch/static/flipkart_feature/-original-imaggcb3yyfn2hpz.npy new file mode 100644 index 00000000..008f7665 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggcb3yyfn2hpz.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggdabmyshydgd.npy b/TechnoTouch/static/flipkart_feature/-original-imaggdabmyshydgd.npy new file mode 100644 index 00000000..ab380e3e Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggdabmyshydgd.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaggyuww7ahtp6c.npy b/TechnoTouch/static/flipkart_feature/-original-imaggyuww7ahtp6c.npy new file mode 100644 index 00000000..82ea51ae Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaggyuww7ahtp6c.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaghvb3gmh7t9zg.npy b/TechnoTouch/static/flipkart_feature/-original-imaghvb3gmh7t9zg.npy new file mode 100644 index 00000000..f9f100a5 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaghvb3gmh7t9zg.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaghvb5zzszuy55.npy b/TechnoTouch/static/flipkart_feature/-original-imaghvb5zzszuy55.npy new file mode 100644 index 00000000..9ef563ee Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaghvb5zzszuy55.npy differ diff --git a/TechnoTouch/static/flipkart_feature/-original-imaghvb7kkpy73vn.npy b/TechnoTouch/static/flipkart_feature/-original-imaghvb7kkpy73vn.npy new file mode 100644 index 00000000..2ab29890 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/-original-imaghvb7kkpy73vn.npy differ diff --git a/TechnoTouch/static/flipkart_feature/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.npy b/TechnoTouch/static/flipkart_feature/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.npy new file mode 100644 index 00000000..51e31d6d Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/11-dd9293-005nike-12-nike-anthracite-racer-blue-black-white-original-imagfyfuf7zmhft6.npy differ diff --git a/TechnoTouch/static/flipkart_feature/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.npy b/TechnoTouch/static/flipkart_feature/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.npy new file mode 100644 index 00000000..4dca504f Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/11-gb2390-11-adidas-teconi-sabemt-seimor-original-imagg32xztvhdesm.npy differ diff --git a/TechnoTouch/static/flipkart_feature/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.npy b/TechnoTouch/static/flipkart_feature/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.npy new file mode 100644 index 00000000..fc506c87 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/11-rso187-redtape-black-white-original-imagg4cafq4xhwcz.npy differ diff --git a/TechnoTouch/static/flipkart_feature/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.npy b/TechnoTouch/static/flipkart_feature/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.npy new file mode 100644 index 00000000..ff5e5d3e Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/6-s70437-45-7-saucony-seafoam-original-imafzseuqjndjbkz.npy differ diff --git a/TechnoTouch/static/flipkart_feature/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.npy b/TechnoTouch/static/flipkart_feature/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.npy new file mode 100644 index 00000000..ac863352 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/7-22g-148-campus-wht-blk-original-imaghxhbeympvxgp.npy differ diff --git a/TechnoTouch/static/flipkart_feature/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.npy b/TechnoTouch/static/flipkart_feature/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.npy new file mode 100644 index 00000000..b92e6cfe Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/8-386922-8-puma-rhubarb-black-original-imag6y35z9yfrqcu.npy differ diff --git a/TechnoTouch/static/flipkart_feature/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.npy b/TechnoTouch/static/flipkart_feature/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.npy new file mode 100644 index 00000000..11381192 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/8-rso136-red-tape-white-original-imag9wgwasptcnd8-bb.npy differ diff --git a/TechnoTouch/static/flipkart_feature/9-sp7235-kraasa-white-original-imagdn4adzndtapz.npy b/TechnoTouch/static/flipkart_feature/9-sp7235-kraasa-white-original-imagdn4adzndtapz.npy new file mode 100644 index 00000000..277c82e9 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/9-sp7235-kraasa-white-original-imagdn4adzndtapz.npy differ diff --git a/TechnoTouch/static/flipkart_feature/brd-343-abisto-black-original-imafvzgynd8aybhj.npy b/TechnoTouch/static/flipkart_feature/brd-343-abisto-black-original-imafvzgynd8aybhj.npy new file mode 100644 index 00000000..60c029b5 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/brd-343-abisto-black-original-imafvzgynd8aybhj.npy differ diff --git a/TechnoTouch/static/flipkart_feature/mrj1346-aadi-black-original-imafzad77kzz9w6w.npy b/TechnoTouch/static/flipkart_feature/mrj1346-aadi-black-original-imafzad77kzz9w6w.npy new file mode 100644 index 00000000..f963fb95 Binary files /dev/null and b/TechnoTouch/static/flipkart_feature/mrj1346-aadi-black-original-imafzad77kzz9w6w.npy differ diff --git a/TechnoTouch/static/main.css b/TechnoTouch/static/main.css new file mode 100644 index 00000000..eaba4b52 --- /dev/null +++ b/TechnoTouch/static/main.css @@ -0,0 +1,24 @@ +/* +* +* ========================================== +* FOR DEMO PURPOSE +* ========================================== +* +*/ + +body { + background: #f4f4f4; +} + +.banner { + background: #a770ef; + background: -webkit-linear-gradient(to right, #a770ef, #cf8bf3, #fdb99b); + background: linear-gradient(to right, #a770ef, #cf8bf3, #fdb99b); +} + +.center { + display: block; + margin-left: auto; + margin-right: auto; + width: 50%; +} \ No newline at end of file diff --git a/TechnoTouch/templates/index.html b/TechnoTouch/templates/index.html new file mode 100644 index 00000000..50f611db --- /dev/null +++ b/TechnoTouch/templates/index.html @@ -0,0 +1,68 @@ + + + + + + + +
+
+ + +
+
+ +
+
+ + + + + +
+ {% for score in scores %} + +
+
+
+
{{ score[0] }}
+

Similarity Between query and DB match is considered.

+
+

JPG

+
Matching
+
+
+ +
+ +
+ {% endfor %} + + +
+ +
+
+ +