Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-029
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-029
2023-029
Commits
62e141f2
Commit
62e141f2
authored
Aug 26, 2023
by
Ridma Dilshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the Emotion Detection Tabs and Pages
parent
699f7153
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1129 additions
and
4 deletions
+1129
-4
Project/Backend/Server_Node/yarn.lock
Project/Backend/Server_Node/yarn.lock
+1011
-0
Project/Backend/Server_Python/controllers/translate_controler.py
.../Backend/Server_Python/controllers/translate_controler.py
+2
-1
Project/Frontend/SignConnectPlus/src/menu-items/application.tsx
...t/Frontend/SignConnectPlus/src/menu-items/application.tsx
+34
-2
Project/Frontend/SignConnectPlus/src/pages/emotion-detection/emotion-audio-detection/list/list.tsx
...s/emotion-detection/emotion-audio-detection/list/list.tsx
+28
-0
Project/Frontend/SignConnectPlus/src/pages/emotion-detection/emotion-video-detection/list/list.tsx
...s/emotion-detection/emotion-video-detection/list/list.tsx
+29
-0
Project/Frontend/SignConnectPlus/src/routes/MainRoutes.tsx
Project/Frontend/SignConnectPlus/src/routes/MainRoutes.tsx
+21
-0
Project/Frontend/SignConnectPlus/src/utils/locales/en.json
Project/Frontend/SignConnectPlus/src/utils/locales/en.json
+4
-1
No files found.
Project/Backend/Server_Node/yarn.lock
0 → 100644
View file @
62e141f2
This diff is collapsed.
Click to expand it.
Project/Backend/Server_Python/controllers/translate_controler.py
View file @
62e141f2
...
...
@@ -18,7 +18,8 @@ class ImageRequest(BaseModel):
image
:
UploadFile
# Load your Keras model
model
=
tf
.
keras
.
models
.
load_model
(
'../ML_Models/sign_language_to_text/models/sign_language_model.h5'
)
# model = tf.keras.models.load_model('../ML_Models/sign_language_to_text/models/sign_language_model.h5')
model
=
None
CLASSES
=
mappings
.
classes
NUM_CLASSES
=
len
(
mappings
.
classes
)
# number of classes
IMG_SIZE
=
224
# image size
...
...
Project/Frontend/SignConnectPlus/src/menu-items/application.tsx
View file @
62e141f2
...
...
@@ -12,7 +12,10 @@ import {
ShoppingOutlined
,
TeamOutlined
,
TranslationOutlined
,
UserOutlined
UserOutlined
,
AudioOutlined
,
VideoCameraOutlined
,
RedditOutlined
,
}
from
'
@ant-design/icons
'
;
// type
...
...
@@ -29,7 +32,10 @@ const icons = {
LoginOutlined
,
RocketOutlined
,
BookOutlined
,
TranslationOutlined
TranslationOutlined
,
AudioOutlined
,
VideoCameraOutlined
,
RedditOutlined
,
};
// ==============================|| MENU ITEMS - SUPPORT ||============================== //
...
...
@@ -74,6 +80,32 @@ const application: NavItemType = {
icon
:
icons
.
TranslationOutlined
,
url
:
'
/ssl-translate/process
'
,
},
{
id
:
'
emotion-detection
'
,
title
:
<
FormattedMessage
id=
"emotion-detection"
/>,
type
:
'
collapse
'
,
icon
:
icons
.
RedditOutlined
,
children
:
[
{
id
:
'
audio-detection
'
,
title
:
<
FormattedMessage
id=
"audio-detection"
/>,
type
:
'
item
'
,
icon
:
icons
.
AudioOutlined
,
url
:
'
/emotion-detection/audio-detection
'
,
},
{
id
:
'
video-detection
'
,
title
:
<
FormattedMessage
id=
"video-detection"
/>,
type
:
'
item
'
,
icon
:
icons
.
VideoCameraOutlined
,
url
:
'
/emotion-detection/video-detection
'
,
},
]
},
{
id
:
'
learning-management
'
,
title
:
<
FormattedMessage
id=
"learning-management"
/>,
...
...
Project/Frontend/SignConnectPlus/src/pages/emotion-detection/emotion-audio-detection/list/list.tsx
0 → 100644
View file @
62e141f2
// material-ui
// third-party
// project import
import
MainCard
from
'
components/MainCard
'
;
import
ScrollX
from
'
components/ScrollX
'
;
// assets
//types
// ==============================|| List ||============================== //
const
List
=
()
=>
{
return
(
<
MainCard
content=
{
false
}
>
<
ScrollX
>
{
/* content here */
}
<
h1
>
Sample Page
</
h1
>
</
ScrollX
>
</
MainCard
>
)
}
export
default
List
;
Project/Frontend/SignConnectPlus/src/pages/emotion-detection/emotion-video-detection/list/list.tsx
0 → 100644
View file @
62e141f2
// material-ui
// third-party
// project import
import
MainCard
from
'
components/MainCard
'
;
import
ScrollX
from
'
components/ScrollX
'
;
// assets
//types
// ==============================|| List ||============================== //
const
List
=
()
=>
{
return
(
<
MainCard
content=
{
false
}
>
<
ScrollX
>
{
/* content here */
}
<
h1
>
Sample Page 2
</
h1
>
</
ScrollX
>
</
MainCard
>
)
}
export
default
List
;
Project/Frontend/SignConnectPlus/src/routes/MainRoutes.tsx
View file @
62e141f2
...
...
@@ -41,6 +41,12 @@ const TutorialManagementList = Loadable(lazy(() => import('pages/parameter/tutor
// render - ssl translate process page
const
SSLTranslateProcess
=
Loadable
(
lazy
(()
=>
import
(
'
pages/ssl-translate/process/process
'
)));
// render - audio-detection page
const
AudioDetection
=
Loadable
(
lazy
(()
=>
import
(
'
pages/emotion-detection/emotion-audio-detection/list/list
'
)));
// render - video-detection page
const
VideoDetection
=
Loadable
(
lazy
(()
=>
import
(
'
pages/emotion-detection/emotion-video-detection/list/list
'
)));
// render - learning-curriculums-subscribed page
const
LearningCurriculumsSubscribed
=
Loadable
(
lazy
(()
=>
import
(
'
pages/learning-management/learning-curriculums-subscribed/list/list
'
)));
...
...
@@ -96,6 +102,21 @@ const MainRoutes = {
}
]
},
{
path
:
'
emotion-detection
'
,
children
:
[
{
path
:
'
audio-detection
'
,
element
:
<
AudioDetection
/>
},
{
path
:
'
video-detection
'
,
element
:
<
VideoDetection
/>
}
]
},
{
path
:
'
learning-management
'
,
children
:
[
...
...
Project/Frontend/SignConnectPlus/src/utils/locales/en.json
View file @
62e141f2
...
...
@@ -161,5 +161,8 @@
"learning-curriculums-subscribed"
:
"My Courses"
,
"learning-lead-board"
:
"Lead Board"
,
"learning-feedback"
:
"Feedback"
,
"ssl-translate"
:
"SSL Translate"
"ssl-translate"
:
"SSL Translate"
,
"emotion-detection"
:
"Emotion Detection"
,
"audio-detection"
:
"Audio Detection"
,
"video-detection"
:
"Video Detection"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment