do you mean this sentence is not clear?***Neither a teacher nor a native-speaker***
I'd say it is grammatical but I'm not sure if it'll sound natural because I couldn't understand whether you meant "Looking at the blue river revives my old memories." or something else.
Could I ask another question?It is acceptable but I would suggest, "Looking at the blue river revives my memories." It depends on who you are writing to.