forked from sdabhi23/hacknuthon-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
61 lines (59 loc) · 2.18 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const problems = {
defense: [
"Audio scrambling based encoding algorithm",
"Video stabilization for unmanned aerial vehicles",
"Apply ML to daily decisions in the field of defense, like whether or not a paticular equipment is fit for use",
"Predict the path of a projectile based on various parameters for precision in aiming"
],
travel: [
"AR/VR based travel brochures",
"Network connectivity for remote locations",
"Virtual guides",
"Using artificial intelligence for a personalized travel experience"
],
healthcare: [
"AI-based systems to detect diseases in their early stages",
"Identifying symptoms based on Image processing",
"Hygiene measuring devices",
"IoT based Emergency response system"
],
agriculture: [
"A digitalised agri-supply chain",
"Automation in agriculture",
"A GIS (geographic information system) surveying/mapping for precision agriculture",
"Data-driven farming using sensors on crops and farm machinery"
],
industry: [
"IoT based product monitoring system",
"Using deep learning algorithms to detect product details from packaging label",
"IoT based logistics management"
],
education: [
"Digital portfolios to measure a child's progress",
"Using AR/VR to create interactive material",
"Simulation-based training programs",
"Adaptive virtual labs using AI"
]
};
const titles = {
travel: "Travel / Tourism",
education: "Education",
agriculture: "Agriculture",
industry: "Industrial Automation",
healthcare: "Healthcare",
defense: "Defense"
};
$("#track_modal").on("show.bs.modal", function(event) {
var button = $(event.relatedTarget);
var name = button.data("track");
var modal = $(this);
var content = `<h5>Suggested problem statements:</h5>\n<br/>\n<ol>\n`;
problems[name].forEach(elem => {
content = content + `<li>${elem}</li>\n`;
});
content =
content +
`</ol>\n<p>There are just a few suggested problem statements for your refrence. We would suggest you to identify and resolve any problem you come across or feel is relevant in this domain.</p>`;
modal.find(".modal-title").text(titles[name]);
modal.find(".modal-body").html(content);
});