File size: 6,970 Bytes
fcac30c |
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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
import streamlit as st
import pandas as pd
st.set_page_config(layout='wide')
st.markdown("<h1 style='text-align: center;'>User manual</h1>", unsafe_allow_html=True)
st.write()
st.markdown("<h4 style='text-align: justify;'>We built a demo system for the problem of classifying Vietnamese women's bras. To use our demo system, you need to determine how many measurements you can feed to our prediction model. We provide 3 options for you to provide measurements for the decision-making model, including: 6 measurements, 8 measurements and 21 measurements.</h4>", unsafe_allow_html=True)
col_11, col_21, col_31 = st.columns([1, 1, 1])
with col_11:
st.markdown("<h4 style='text-align: justify;'>1. Upper bust circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>4. Size difference</h4>", unsafe_allow_html=True)
with col_21:
st.markdown("<h4 style='text-align: justify;'>2. Bust circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>5. Volume of right breast</h4>", unsafe_allow_html=True)
with col_31:
st.markdown("<h4 style='text-align: justify;'>3. Chest circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>6. Volume of left breast</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>With 8 input measurements, you need to provide us with the following measurements:</h4>", unsafe_allow_html=True)
col_12, col_22, col_32 = st.columns([1, 1, 1])
with col_12:
st.markdown("<h4 style='text-align: justify;'>1. Volume of right breast</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>4. Bust circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>7. Inner right breast curve</h4>", unsafe_allow_html=True)
with col_22:
st.markdown("<h4 style='text-align: justify;'>2. Size difference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>5. Upper bust circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>8. Chest circumference</h4>", unsafe_allow_html=True)
with col_32:
st.markdown("<h4 style='text-align: justify;'>3. Outer right breast curve</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>6. Outer left breast curve</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'>With 21 input measurements, you need to provide us with the following measurements:</h4>", unsafe_allow_html=True)
col_13, col_23, col_33 = st.columns([1, 1, 1])
with col_13:
st.markdown("<h4 style='text-align: left;'>1. Height</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>4. Upper bust circumference</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>7. Distance between nipple points</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>10. Inner right breast curve</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>13. Left breast curve </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>16. Lower left breast projection</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>19. Size difference</h4>", unsafe_allow_html=True)
with col_23:
st.markdown("<h4 style='text-align: left;'>2. Weight</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>5. Bust circumference </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>8. Outer right breast curve </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>11. Inner left breast curve</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>14. Upper breast projection</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>17. Distance from sternum to right nipple point</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>20. Volume of right breast</h4>", unsafe_allow_html=True)
with col_33:
st.markdown("<h4 style='text-align: left;'>3. BMI</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>6. Chest circumference </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>9. Outer left breast curve </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>12. Right breast curve </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>15. Lower right breast projection</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>18. Distance from sternum to left nipple point </h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: left;'>21. Volume of left breast</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'> After you finish entering the input measurements, click on the 'Predict' button, our model will return the results corresponding to the input data. Additionally, you can use our available measurements samples in the 'Measurement sample options' section.</h4>", unsafe_allow_html=True)
st.markdown("<h4 style='text-align: justify;'> Detailed information about the parameters included in the demo system is explained in more detail in the section below.</h4>", unsafe_allow_html=True)
st.markdown("<h1 style='text-align: center;'>Detail of measurements</h1>", unsafe_allow_html=True)
df = pd.read_csv('measurement_details.csv', sep=';', index_col=False)
st.dataframe(data=df, use_container_width=True, height=773)
st.markdown("<h3 style='text-align: center;'>Image illustrations</h3>", unsafe_allow_html=True)
col_1, col_2, col_3, col_4, col_5 = st.columns([1, 1, 1, 1, 1])
with col_1:
st.image(image='./images/1.png', caption='(1)', use_column_width=True)
st.image(image='./images/6.png', caption='(6)', use_column_width=True)
st.image(image='./images/11.png', caption='(11)', use_column_width=True)
with col_2:
st.image(image='./images/2.png', caption='(2)', use_column_width=True)
st.image(image='./images/7.png', caption='(7)', use_column_width=True)
st.image(image='./images/12.png', caption='(12)', use_column_width=True)
with col_3:
st.image(image='./images/3.png', caption='(3)', use_column_width=True)
st.image(image='./images/8.png', caption='(8)', use_column_width=True)
st.image(image='./images/13.png', caption='(13)', use_column_width=True)
with col_4:
st.image(image='./images/4.png', caption='(4)', use_column_width=True)
st.image(image='./images/9.png', caption='(9)', use_column_width=True)
st.image(image='./images/14.png', caption='(14)', use_column_width=True)
with col_5:
st.image(image='./images/5.png', caption='(5)', use_column_width=True)
st.image(image='./images/10.png', caption='(10)', use_column_width=True)
st.image(image='./images/15.png', caption='(15)', use_column_width=True)
|